package canvas
- Alphabetic
- Public
- All
Type Members
-
class
CanvasAttributeOptions
extends Object
HTML Canvas Attribute Options
HTML Canvas Attribute Options
- Annotations
- @RawJSType() @ScalaJSDefined()
-
trait
CanvasCaptureMediaStream
extends Object
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
-
class
CanvasEncoderOptions
extends Object
HTML Canvas Encoder Options
HTML Canvas Encoder Options
- Annotations
- @RawJSType() @ScalaJSDefined()
-
trait
CanvasRenderingContext2D
extends Object with RenderingContext
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()
-
trait
HTMLCanvasElement
extends Object with HTMLElement
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
-
trait
ImageBitmapRenderingContext
extends Object with RenderingContext
Image Bitmap Rendering Context
Image Bitmap Rendering Context
- Annotations
- @RawJSType() @native()
-
trait
OffscreenCanvas
extends Object
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
-
trait
RenderingContext
extends Object
Abstract Rendering Context
Abstract Rendering Context
- Annotations
- @RawJSType() @native()
-
trait
TextMetrics
extends Object
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
-
object
HTMLCanvasElement
HTMLCanvasElement Companion