Properties
align
align: (align: ITextProps["align"]) => void
Type declaration
-
- (align: ITextProps["align"]): void
-
Parameters
-
align: ITextProps["align"]
Returns void
bold
bold: (bold: ITextProps["bold"]) => void
Type declaration
-
- (bold: ITextProps["bold"]): void
change
change: () => void
children
children
: (value
: Layer<any>[]) => void
Type declaration
-
- (value: Layer<any>[]): void
clone
clone
: (value
: Layer<any>) => void
Type declaration
-
- (value: Layer<any>): void
fill
fill: (fill: ILayerState["fill"]) => void
Type declaration
-
- (fill: ILayerState["fill"]): void
-
Parameters
-
fill: ILayerState["fill"]
Returns void
font
font: (font: ITextProps["font"]) => void
Type declaration
-
- (font: ITextProps["font"]): void
italic
italic: (italic: ITextProps["italic"]) => void
Type declaration
-
- (italic: ITextProps["italic"]): void
-
Parameters
-
italic: ITextProps["italic"]
Returns void
opacity
opacity: (opacity: ILayerState["opacity"]) => void
Type declaration
-
- (opacity: ILayerState["opacity"]): void
-
Parameters
-
opacity: ILayerState["opacity"]
Returns void
parent
parent
: (value
: Layer<any>) => void
Type declaration
-
- (value: Layer<any>): void
render
render
: (ctx
: CanvasRenderingContext2D, utils
: ISketchUtils) => void
Type declaration
-
-
Parameters
-
ctx: CanvasRenderingContext2D
-
Returns void
rendered
rendered: () => void
rotate
rotate: (rotate: ILayerState["rotate"]) => void
Type declaration
-
- (rotate: ILayerState["rotate"]): void
-
Parameters
-
rotate: ILayerState["rotate"]
Returns void
scaleX
scaleX: (x: ILayerState["scaleX"]) => void
Type declaration
-
- (x: ILayerState["scaleX"]): void
scaleY
scaleY: (y: ILayerState["scaleY"]) => void
Type declaration
-
- (y: ILayerState["scaleY"]): void
size
size: (size: ITextProps["size"]) => void
Type declaration
-
- (size: ITextProps["size"]): void
stroke
stroke: (stroke: ILayerState["stroke"]) => void
Type declaration
-
- (stroke: ILayerState["stroke"]): void
-
Parameters
-
stroke: ILayerState["stroke"]
Returns void
strokeWidth
strokeWidth: (strokeWidth: ILayerState["strokeWidth"]) => void
Type declaration
-
- (strokeWidth: ILayerState["strokeWidth"]): void
-
Parameters
-
strokeWidth: ILayerState["strokeWidth"]
Returns void
value
value: (value: ITextProps["value"]) => void
Type declaration
-
- (value: ITextProps["value"]): void
-
Parameters
-
value: ITextProps["value"]
Returns void
visible
visible: (visible: ILayerState["visible"]) => void
Type declaration
-
- (visible: ILayerState["visible"]): void
-
Parameters
-
visible: ILayerState["visible"]
Returns void
x
x: (x: ILayerState["x"]) => void
Type declaration
-
- (x: ILayerState["x"]): void
y
y: (y: ILayerState["y"]) => void
Type declaration
-
- (y: ILayerState["y"]): void