Package

io.scalajs.dom.html

canvas

Permalink

package canvas

Visibility
  1. Public
  2. All

Type Members

  1. class CanvasAttributeOptions extends Object

    Permalink

    HTML Canvas Attribute Options

    HTML Canvas Attribute Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  2. trait CanvasCaptureMediaStream extends Object

    Permalink

    The CanvasCaptureMediaStream interface represents a MediaStream capturing in real-time the surface of an HTMLCanvasElement.

    The CanvasCaptureMediaStream interface represents a MediaStream capturing in real-time the surface of an HTMLCanvasElement.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream

  3. class CanvasEncoderOptions extends Object

    Permalink

    HTML Canvas Encoder Options

    HTML Canvas Encoder Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  4. trait CanvasRenderingContext2D extends Object with RenderingContext

    Permalink

    The CanvasRenderingContext2D interface is used for drawing rectangles, text, images and other objects onto the canvas element.

    The CanvasRenderingContext2D interface is used for drawing rectangles, text, images and other objects onto the canvas element. It provides the 2D rendering context for the drawing surface of a <canvas> element.

    Annotations
    @RawJSType() @native()
  5. trait HTMLCanvasElement extends Object with HTMLElement

    Permalink

    The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements.

    The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement

  6. trait ImageBitmapRenderingContext extends Object with RenderingContext

    Permalink

    Image Bitmap Rendering Context

    Image Bitmap Rendering Context

    Annotations
    @RawJSType() @native()
  7. trait OffscreenCanvas extends Object

    Permalink

    The OffscreenCanvas interface provides a canvas that can be rendered off screen.

    The OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas

  8. trait RenderingContext extends Object

    Permalink

    Abstract Rendering Context

    Abstract Rendering Context

    Annotations
    @RawJSType() @native()
  9. trait TextMetrics extends Object

    Permalink

    The TextMetrics interface represents the dimension of a text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.

    The TextMetrics interface represents the dimension of a text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.

    Annotations
    @RawJSType() @native()
    See also

Value Members

  1. object HTMLCanvasElement

    Permalink

    HTMLCanvasElement Companion

  2. package webgl

    Permalink

    webgl package object

Ungrouped