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

js.web.canvas.CanvasFillStrokeStyles Maven / Gradle / Ivy

package js.web.canvas;

import js.lang.Any;
import js.lang.Unknown;
import org.teavm.jso.JSProperty;

import javax.annotation.Nullable;


public interface CanvasFillStrokeStyles extends Any {
    @JSProperty
    Unknown getFillStyle();

    @JSProperty
    void setFillStyle(String fillStyle);

    @JSProperty
    void setFillStyle(CanvasGradient fillStyle);

    @JSProperty
    void setFillStyle(CanvasPattern fillStyle);

    @JSProperty
    Unknown getStrokeStyle();

    @JSProperty
    void setStrokeStyle(String strokeStyle);

    @JSProperty
    void setStrokeStyle(CanvasGradient strokeStyle);

    @JSProperty
    void setStrokeStyle(CanvasPattern strokeStyle);

    CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1);

    @Nullable
    CanvasPattern createPattern(CanvasImageSource image, String repetition);

    CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy