TextStyle: {
direction?: CanvasDirection;
font?: string;
fontKerning?: CanvasFontKerning;
fontStretch?: CanvasFontStretch;
fontVariantCaps?: CanvasFontVariantCaps;
letterSpacing?: string;
textAlign?: CanvasTextAlign;
textBaseline?: CanvasTextBaseline;
textRendering?: CanvasTextRendering;
wordSpacing?: string;
}
Type declaration
-
Optional
direction?: CanvasDirection
-
Optional
font?: string
-
Optional
fontKerning?: CanvasFontKerning
-
Optional
fontStretch?: CanvasFontStretch
-
Optional
fontVariantCaps?: CanvasFontVariantCaps
-
Optional
letterSpacing?: string
-
Optional
textAlign?: CanvasTextAlign
-
Optional
textBaseline?: CanvasTextBaseline
-
Optional
textRendering?: CanvasTextRendering
-
Optional
wordSpacing?: string