Properties
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
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: IWaymarkProps["size"]) => void
Type declaration
-
- (size: IWaymarkProps["size"]): void
-
Parameters
-
size: IWaymarkProps["size"]
Returns 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
type
type: (type: IWaymarkProps["type"]) => void
Type declaration
-
- (type: IWaymarkProps["type"]): void
-
Parameters
-
type: IWaymarkProps["type"]
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