All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.webkit.graphics.WCPageBackBuffer Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */
package com.sun.webkit.graphics;

public abstract class WCPageBackBuffer extends Ref {
    public abstract WCGraphicsContext createGraphics();

    public abstract void disposeGraphics(WCGraphicsContext gc);

    public abstract void flush(WCGraphicsContext gc, int x, int y, int w, int h);

    protected abstract void copyArea(int x, int y, int w, int h, int dx, int dy);

    /**
     * @returs {@code false} if full page repaint is needed after the validation,
     *         {@code true} otherwise
     */
    public abstract boolean validate(int width, int height);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy