CanvasTextDrawingStyles constructor
CanvasTextDrawingStyles({
- CanvasDirection? direction,
- String? font,
- CanvasFontKerning? fontKerning,
- CanvasTextAlign? textAlign,
- CanvasTextBaseline? textBaseline,
Implementation
factory CanvasTextDrawingStyles({
_i3.CanvasDirection? direction,
_i2.String? font,
_i3.CanvasFontKerning? fontKerning,
_i3.CanvasTextAlign? textAlign,
_i3.CanvasTextBaseline? textBaseline,
}) =>
CanvasTextDrawingStyles._(
direction: direction?.name ?? _i6.undefined,
font: font,
fontKerning: fontKerning?.name ?? _i6.undefined,
textAlign: textAlign?.name ?? _i6.undefined,
textBaseline: textBaseline?.name ?? _i6.undefined,
);