çŽä˝ä¸ć
Class: RobotData â
Hierarchy â
âł
RobotData
Table of contents â
Constructors â
Properties â
- _robot
- _action
- __input
- __middle
- __single
- __naturalWidth
- __naturalHeight
- __pathForRender
- __leaf
- __blendLayer
- __isFills
- __isStrokes
- __pixelFill
- __pixelStroke
- __needComputePaint
- _visible
- _width
- _height
- _fill
- _stroke
- _path
- _shadow
- _innerShadow
Accessors â
- __drawAfterFill
- __useNaturalRatio
- __isLinePath
- __blendMode
- scale
- __strokeWidth
- __hasStroke
- __clipAfterFill
- __autoWidth
- __autoHeight
- __autoSide
- __autoSize
Methods â
- setRobot
- setAction
- __get
- __getData
- __setInput
- __getInput
- __removeInput
- __getInputData
- __setMiddle
- __getMiddle
- __checkSingle
- __removeNaturalSize
- destroy
- setVisible
- setWidth
- setHeight
- setFill
- setStroke
- setPath
- setShadow
- setInnerShadow
- __computePaint
Constructors â
constructor â
⢠new RobotData(leaf
): RobotData
Parameters â
Name | Type |
---|---|
leaf | ILeaf |
Returns â
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:30
Properties â
_robot â
⢠Protected
_robot: IRobotKeyframe
| IRobotKeyframe
[]
Defined in â
in/packages/robot/src/data/RobotData.ts:9
_action â
⢠Protected
_action: string
Defined in â
in/packages/robot/src/data/RobotData.ts:10
__input â
⢠__input: IObject
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:7
__middle â
⢠__middle: IObject
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:8
__single â
⢠__single: boolean
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:10
__naturalWidth â
⢠Optional
__naturalWidth: number
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:12
__naturalHeight â
⢠Optional
__naturalHeight: number
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:13
__pathForRender â
⢠Optional
__pathForRender: IPathCommandData
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:15
__leaf â
⢠__leaf: IUI
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:13
__blendLayer â
⢠Optional
__blendLayer: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:17
__isFills â
⢠Optional
__isFills: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:19
__isStrokes â
⢠Optional
__isStrokes: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:20
__pixelFill â
⢠Optional
__pixelFill: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:34
__pixelStroke â
⢠Optional
__pixelStroke: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:35
__needComputePaint â
⢠__needComputePaint: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:39
_visible â
⢠Protected
Optional
_visible: boolean
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:41
_width â
⢠Protected
Optional
_width: number
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:43
_height â
⢠Protected
Optional
_height: number
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:44
_fill â
⢠Protected
Optional
_fill: IValue
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:46
_stroke â
⢠Protected
Optional
_stroke: IValue
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:47
_path â
⢠Protected
_path: IPathCommandData
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:49
_shadow â
⢠Protected
Optional
_shadow: IValue
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:51
_innerShadow â
⢠Protected
Optional
_innerShadow: IValue
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:52
Accessors â
__drawAfterFill â
⢠get
__drawAfterFill(): boolean
Returns â
boolean
Defined in â
in/packages/robot/src/data/RobotData.ts:7
__useNaturalRatio â
⢠get
__useNaturalRatio(): boolean
Returns â
boolean
Inherited from â
UIData.__useNaturalRatio
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:17
__isLinePath â
⢠get
__isLinePath(): boolean
Returns â
boolean
Inherited from â
UIData.__isLinePath
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:19
__blendMode â
⢠get
__blendMode(): string
Returns â
string
Inherited from â
UIData.__blendMode
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:24
scale â
⢠get
scale(): number
| IPointData
Returns â
number
| IPointData
Inherited from â
UIData.scale
Defined in â
ui/packages/display-module/data/src/UIData.ts:15
__strokeWidth â
⢠get
__strokeWidth(): number
Returns â
number
Inherited from â
UIData.__strokeWidth
Defined in â
ui/packages/display-module/data/src/UIData.ts:22
__hasStroke â
⢠get
__hasStroke(): boolean
Returns â
boolean
Inherited from â
UIData.__hasStroke
Defined in â
ui/packages/display-module/data/src/UIData.ts:32
__clipAfterFill â
⢠get
__clipAfterFill(): boolean
Returns â
boolean
Inherited from â
UIData.__clipAfterFill
Defined in â
ui/packages/display-module/data/src/UIData.ts:37
__autoWidth â
⢠get
__autoWidth(): boolean
Returns â
boolean
Inherited from â
UIData.__autoWidth
Defined in â
ui/packages/display-module/data/src/UIData.ts:54
__autoHeight â
⢠get
__autoHeight(): boolean
Returns â
boolean
Inherited from â
UIData.__autoHeight
Defined in â
ui/packages/display-module/data/src/UIData.ts:55
__autoSide â
⢠get
__autoSide(): boolean
Returns â
boolean
Inherited from â
UIData.__autoSide
Defined in â
ui/packages/display-module/data/src/UIData.ts:56
__autoSize â
⢠get
__autoSize(): boolean
Returns â
boolean
Inherited from â
UIData.__autoSize
Defined in â
ui/packages/display-module/data/src/UIData.ts:57
Methods â
setRobot â
⸠setRobot(value
): void
Parameters â
Name | Type |
---|---|
value | IRobotKeyframe | IRobotKeyframe [] |
Returns â
void
Defined in â
in/packages/robot/src/data/RobotData.ts:12
setAction â
⸠setAction(value
): void
Parameters â
Name | Type |
---|---|
value | string |
Returns â
void
Defined in â
in/packages/robot/src/data/RobotData.ts:17
__get â
⸠__get(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:34
__getData â
⸠__getData(): IObject
Returns â
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:42
__setInput â
⸠__setInput(name
, value
): void
Parameters â
Name | Type |
---|---|
name | string |
value | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:54
__getInput â
⸠__getInput(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:59
__removeInput â
⸠__removeInput(name
): void
Parameters â
Name | Type |
---|---|
name | string |
Returns â
void
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:70
__getInputData â
⸠__getInputData(names?
, options?
): IObject
Parameters â
Name | Type |
---|---|
names? | string [] | IObject |
options? | IJSONOptions |
Returns â
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:74
__setMiddle â
⸠__setMiddle(name
, value
): void
Parameters â
Name | Type |
---|---|
name | string |
value | any |
Returns â
void
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:114
__getMiddle â
⸠__getMiddle(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:119
__checkSingle â
⸠__checkSingle(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:123
__removeNaturalSize â
⸠__removeNaturalSize(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:137
destroy â
⸠destroy(): void
Returns â
void
Inherited from â
Defined in â
leafer/packages/display-module/data/src/LeafData.ts:141
setVisible â
⸠setVisible(value
): void
Parameters â
Name | Type |
---|---|
value | boolean |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:60
setWidth â
⸠setWidth(value
): void
Parameters â
Name | Type |
---|---|
value | number |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:67
setHeight â
⸠setHeight(value
): void
Parameters â
Name | Type |
---|---|
value | number |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:75
setFill â
⸠setFill(value
): void
Parameters â
Name | Type |
---|---|
value | IValue |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:84
setStroke â
⸠setStroke(value
): void
Parameters â
Name | Type |
---|---|
value | IValue |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:102
setPath â
⸠setPath(value
): void
Parameters â
Name | Type |
---|---|
value | string | IPathCommandData | IPathCommandObject [] |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:120
setShadow â
⸠setShadow(value
): void
Parameters â
Name | Type |
---|---|
value | IValue |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:132
setInnerShadow â
⸠setInnerShadow(value
): void
Parameters â
Name | Type |
---|---|
value | IValue |
Returns â
void
Inherited from â
Defined in â
ui/packages/display-module/data/src/UIData.ts:140
__computePaint â
⸠__computePaint(): void
Returns â
void