Interface CanvasRenderingContext2DSettings
public interface CanvasRenderingContext2DSettings
The interface CanvasRenderingContext2D.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionA flag that provides a hint to the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop.getAlpha()
A flag that indicates whether the canvas contains an alpha channel.void
A flag that indicates whether the canvas contains an alpha channel.void
setColorSpace
(String colorSpace) 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.void
setWillReadFrequently
(Boolean willReadFrequently)
-
Method Details
-
getAlpha
Boolean getAlpha()A flag that indicates whether the canvas contains an alpha channel. If set to false, the browser now knows that the backdrop is always opaque, which can speed up drawing of transparent content and images.- See Also:
-
setAlpha
A flag that indicates whether the canvas contains an alpha channel. If set to false, the browser now knows that the backdrop is always opaque, which can speed up drawing of transparent content and images.- See Also:
-
getColorSpace
String getColorSpace() -
setColorSpace
-
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.- See Also:
-
setDesynchronized
A flag that provides a hint to the user agent to reduce the latency by desynchronizing the canvas paint cycle from the event loop.- See Also:
-
getWllReadFrequently
Boolean getWllReadFrequently() -
setWillReadFrequently
-