Module canvas

Module canvas 

Source
Expand description

Module for working with bitmap canvases.

Structs§

Canvas
A canvas for drawing images.
Color
A color with red, green, blue, and alpha components.
Font
A reference to a font.
ImageRef
A reference to an image.
Path
A 2D path.
PathBuilder
A builder for paths.
Point
A 2D point.
Rect
A rectangle.
StrokeStyle
The configuration options for drawing strokes.

Enums§

CanvasError
Error type for canvas operations.
FontWeight
A standard typeface weight.
LineCap
The endpoint style of a line.
LineJoin
The style of connected line joins.
PathOp

Type Aliases§

Angle
Transform