@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 | Interface and Description |
|---|---|
static interface |
CanvasRenderingContext2DSettings.Builder
Attributes that control the characteristics of the
WebGLRenderingContext created. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alpha()
A flag that indicates whether the canvas contains an alpha channel.
|
static CanvasRenderingContext2DSettings.Builder |
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.
|
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.Builder create()
@JsProperty(name="alpha") boolean alpha()
@JsProperty void setAlpha(boolean alpha)
@JsProperty(name="desynchronized") boolean desynchronized()
@JsProperty void setDesynchronized(boolean desynchronized)