Properties:
Name | Type | Description |
---|---|---|
letterSpacing |
string |
sets the horizontal spacing behavior between text characters. |
textLetterSpacing |
string |
sets the horizontal spacing behavior between text characters. |
Extends
- CanvasState
- CanvasTransform
- CanvasCompositing
- CanvasImageSmoothing
- CanvasFillStrokeStyles
- CanvasShadowStyles
- CanvasFilters
- CanvasRect
- CanvasDrawPath
- CanvasText
- CanvasDrawImage
- CanvasImageData
- CanvasPathDrawingStyles
- Omit
- CanvasPath
Members
sets the horizontal spacing behavior between text characters.
sets the horizontal spacing behavior between text characters.
Methods
creates a pattern using the specified image and repetition.
Name | Type | Description |
---|---|---|
image |
CanvasImageSource | ICanvas | |
repetition |
string | null |
Returns:
Type | Description |
---|---|
CanvasPattern | null |
provides different ways to draw an image onto the canvas
Name | Type | Description |
---|---|---|
image |
CanvasImageSource | ICanvas | |
dx |
number | |
dy |
number |