CanvasRenderingContext2D class
The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a
- Implemented types
- Available extensions
- CanvasCompositing$Typings
- CanvasDrawImage$Typings
- CanvasDrawPath$Typings
- CanvasFillStrokeStyles$Typings
- CanvasFilters$Typings
- CanvasImageData$Typings
- CanvasImageSmoothing$Typings
- CanvasPath$Typings
- CanvasPathDrawingStyles$Typings
- CanvasRect$Typings
- CanvasRenderingContext2D$Typings
- CanvasShadowStyles$Typings
- CanvasState$Typings
- CanvasText$Typings
- CanvasTextDrawingStyles$Typings
- CanvasTransform$Typings
- CanvasUserInterface$Typings
- Annotations
-
- @JS()
- @staticInterop
Constructors
- CanvasRenderingContext2D()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited