Class: LeafData
Hierarchy
LeafData
↳
UIData
Implements
Table of contents
Constructors
Properties
Accessors
Methods
- __get
- __getData
- __setInput
- __getInput
- __removeInput
- __getInputData
- __setMiddle
- __getMiddle
- __checkSingle
- __removeNaturalSize
- destroy
Constructors
constructor
• new LeafData(leaf
): LeafData
Parameters
Name | Type |
---|---|
leaf | ILeaf |
Returns
Defined in
leafer/packages/display-module/data/src/LeafData.ts:30
Properties
__leaf
• __leaf: ILeaf
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:6
__input
• __input: IObject
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:7
__middle
• __middle: IObject
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:8
__single
• __single: boolean
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:10
__naturalWidth
• Optional
__naturalWidth: number
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:12
__naturalHeight
• Optional
__naturalHeight: number
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:13
__pathForRender
• Optional
__pathForRender: IPathCommandData
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:15
Accessors
__useNaturalRatio
• get
__useNaturalRatio(): boolean
Returns
boolean
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:17
__isLinePath
• get
__isLinePath(): boolean
Returns
boolean
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:19
__blendMode
• get
__blendMode(): string
Returns
string
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:24
Methods
__get
▸ __get(name
): any
Parameters
Name | Type |
---|---|
name | string |
Returns
any
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:34
__getData
▸ __getData(): IObject
Returns
Implementation of
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
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:54
__getInput
▸ __getInput(name
): any
Parameters
Name | Type |
---|---|
name | string |
Returns
any
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:59
__removeInput
▸ __removeInput(name
): void
Parameters
Name | Type |
---|---|
name | string |
Returns
void
Implementation of
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
Implementation of
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
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:114
__getMiddle
▸ __getMiddle(name
): any
Parameters
Name | Type |
---|---|
name | string |
Returns
any
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:119
__checkSingle
▸ __checkSingle(): void
Returns
void
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:123
__removeNaturalSize
▸ __removeNaturalSize(): void
Returns
void
Implementation of
Defined in
leafer/packages/display-module/data/src/LeafData.ts:137
destroy
▸ destroy(): void
Returns
void