Interface CanvasRenderingContext2DSettings


public interface CanvasRenderingContext2DSettings
The interface CanvasRenderingContext2D.
See Also:
  • 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

      void setAlpha(Boolean alpha)
      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

      void setColorSpace(String colorSpace)
    • 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

      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.
      See Also:
    • getWllReadFrequently

      Boolean getWllReadFrequently()
    • setWillReadFrequently

      void setWillReadFrequently(Boolean willReadFrequently)