Interface CanvasRenderingContext2DSettings


public interface CanvasRenderingContext2DSettings
The interface CanvasRenderingContext2D.
See Also:
  • Method Details Link icon

    • getAlpha Link icon

      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 Link icon

      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 Link icon

      String getColorSpace()
    • setColorSpace Link icon

      void setColorSpace(String colorSpace)
    • desynchronized Link icon

      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 Link icon

      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 Link icon

      Boolean getWllReadFrequently()
    • setWillReadFrequently Link icon

      void setWillReadFrequently(Boolean willReadFrequently)