@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface CanvasRenderingContext2DSettings
WebGLRenderingContext created. This should only be supplied when creating a WebGLRenderingContext context.| Modifier and Type | Method and Description |
|---|---|
boolean |
alpha()
A flag that indicates whether the canvas contains an alpha channel.
|
default CanvasRenderingContext2DSettings |
alpha(boolean alpha)
A flag that indicates whether the canvas contains an alpha channel.
|
static CanvasRenderingContext2DSettings |
create() |
boolean |
desynchronized()
A flag that provides a hint to the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop.
|
default CanvasRenderingContext2DSettings |
desynchronized(boolean desynchronized)
A flag that provides a hint to the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop.
|
void |
setAlpha(boolean alpha)
A flag that indicates whether the canvas contains an alpha channel.
|
void |
setDesynchronized(boolean desynchronized)
A flag that provides a hint to the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop.
|
@JsOverlay @Nonnull static CanvasRenderingContext2DSettings create()
@JsProperty(name="alpha") boolean alpha()
@JsProperty void setAlpha(boolean alpha)
@JsOverlay @Nonnull default CanvasRenderingContext2DSettings alpha(boolean alpha)
@JsProperty(name="desynchronized") boolean desynchronized()
@JsProperty void setDesynchronized(boolean desynchronized)
@JsOverlay @Nonnull default CanvasRenderingContext2DSettings desynchronized(boolean desynchronized)