Skip to content

Class: LineData โ€‹

Hierarchy โ€‹

Implements โ€‹

Table of contents โ€‹

Constructors โ€‹

Properties โ€‹

Accessors โ€‹

Methods โ€‹

Constructors โ€‹

constructor โ€‹

โ€ข new LineData(leaf): LineData

Parameters โ€‹

NameType
leafILeaf

Returns โ€‹

LineData

Inherited from โ€‹

UIData.constructor

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:30

Properties โ€‹

__input โ€‹

โ€ข __input: IObject

Implementation of โ€‹

ILineData.__input

Inherited from โ€‹

UIData.__input

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:7


__middle โ€‹

โ€ข __middle: IObject

Implementation of โ€‹

ILineData.__middle

Inherited from โ€‹

UIData.__middle

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:8


__single โ€‹

โ€ข __single: boolean

Implementation of โ€‹

ILineData.__single

Inherited from โ€‹

UIData.__single

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:10


__naturalWidth โ€‹

โ€ข Optional __naturalWidth: number

Implementation of โ€‹

ILineData.__naturalWidth

Inherited from โ€‹

UIData.__naturalWidth

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:12


__naturalHeight โ€‹

โ€ข Optional __naturalHeight: number

Implementation of โ€‹

ILineData.__naturalHeight

Inherited from โ€‹

UIData.__naturalHeight

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:13


__pathForRender โ€‹

โ€ข Optional __pathForRender: IPathCommandData

Implementation of โ€‹

ILineData.__pathForRender

Inherited from โ€‹

UIData.__pathForRender

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:15


__leaf โ€‹

โ€ข __leaf: IUI

Implementation of โ€‹

ILineData.__leaf

Inherited from โ€‹

UIData.__leaf

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:13


__blendLayer โ€‹

โ€ข Optional __blendLayer: boolean

Implementation of โ€‹

ILineData.__blendLayer

Inherited from โ€‹

UIData.__blendLayer

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:17


__isFills โ€‹

โ€ข Optional __isFills: boolean

Implementation of โ€‹

ILineData.__isFills

Inherited from โ€‹

UIData.__isFills

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:19


__isStrokes โ€‹

โ€ข Optional __isStrokes: boolean

Implementation of โ€‹

ILineData.__isStrokes

Inherited from โ€‹

UIData.__isStrokes

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:20


__pixelFill โ€‹

โ€ข Optional __pixelFill: boolean

Implementation of โ€‹

ILineData.__pixelFill

Inherited from โ€‹

UIData.__pixelFill

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:34


__pixelStroke โ€‹

โ€ข Optional __pixelStroke: boolean

Implementation of โ€‹

ILineData.__pixelStroke

Inherited from โ€‹

UIData.__pixelStroke

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:35


__needComputePaint โ€‹

โ€ข __needComputePaint: boolean

Implementation of โ€‹

ILineData.__needComputePaint

Inherited from โ€‹

UIData.__needComputePaint

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:39


_visible โ€‹

โ€ข Protected Optional _visible: boolean

Inherited from โ€‹

UIData._visible

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:41


_width โ€‹

โ€ข Protected Optional _width: number

Inherited from โ€‹

UIData._width

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:43


_height โ€‹

โ€ข Protected Optional _height: number

Inherited from โ€‹

UIData._height

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:44


_fill โ€‹

โ€ข Protected Optional _fill: IValue

Inherited from โ€‹

UIData._fill

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:46


_stroke โ€‹

โ€ข Protected Optional _stroke: IValue

Inherited from โ€‹

UIData._stroke

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:47


_path โ€‹

โ€ข Protected _path: IPathCommandData

Inherited from โ€‹

UIData._path

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:49


_shadow โ€‹

โ€ข Protected Optional _shadow: IValue

Inherited from โ€‹

UIData._shadow

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:51


_innerShadow โ€‹

โ€ข Protected Optional _innerShadow: IValue

Inherited from โ€‹

UIData._innerShadow

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:52

Accessors โ€‹

__useNaturalRatio โ€‹

โ€ข get __useNaturalRatio(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__useNaturalRatio

Inherited from โ€‹

UIData.__useNaturalRatio

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:17


__isLinePath โ€‹

โ€ข get __isLinePath(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__isLinePath

Inherited from โ€‹

UIData.__isLinePath

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:19


__blendMode โ€‹

โ€ข get __blendMode(): string

Returns โ€‹

string

Implementation of โ€‹

ILineData.__blendMode

Inherited from โ€‹

UIData.__blendMode

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:24


scale โ€‹

โ€ข get scale(): number | IPointData

Returns โ€‹

number | IPointData

Implementation of โ€‹

ILineData.scale

Inherited from โ€‹

UIData.scale

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:15


__strokeWidth โ€‹

โ€ข get __strokeWidth(): number

Returns โ€‹

number

Implementation of โ€‹

ILineData.__strokeWidth

Inherited from โ€‹

UIData.__strokeWidth

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:22


__hasStroke โ€‹

โ€ข get __hasStroke(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__hasStroke

Inherited from โ€‹

UIData.__hasStroke

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:32


__clipAfterFill โ€‹

โ€ข get __clipAfterFill(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__clipAfterFill

Inherited from โ€‹

UIData.__clipAfterFill

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:37


__autoWidth โ€‹

โ€ข get __autoWidth(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__autoWidth

Inherited from โ€‹

UIData.__autoWidth

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:54


__autoHeight โ€‹

โ€ข get __autoHeight(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__autoHeight

Inherited from โ€‹

UIData.__autoHeight

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:55


__autoSide โ€‹

โ€ข get __autoSide(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__autoSide

Inherited from โ€‹

UIData.__autoSide

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:56


__autoSize โ€‹

โ€ข get __autoSize(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILineData.__autoSize

Inherited from โ€‹

UIData.__autoSize

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:57

Methods โ€‹

__get โ€‹

โ–ธ __get(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

ILineData.__get

Inherited from โ€‹

UIData.__get

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:34


__getData โ€‹

โ–ธ __getData(): IObject

Returns โ€‹

IObject

Implementation of โ€‹

ILineData.__getData

Inherited from โ€‹

UIData.__getData

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:42


__setInput โ€‹

โ–ธ __setInput(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Implementation of โ€‹

ILineData.__setInput

Inherited from โ€‹

UIData.__setInput

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:54


__getInput โ€‹

โ–ธ __getInput(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

ILineData.__getInput

Inherited from โ€‹

UIData.__getInput

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:59


__removeInput โ€‹

โ–ธ __removeInput(name): void

Parameters โ€‹

NameType
namestring

Returns โ€‹

void

Implementation of โ€‹

ILineData.__removeInput

Inherited from โ€‹

UIData.__removeInput

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:70


__getInputData โ€‹

โ–ธ __getInputData(names?, options?): IObject

Parameters โ€‹

NameType
names?string[] | IObject
options?IJSONOptions

Returns โ€‹

IObject

Implementation of โ€‹

ILineData.__getInputData

Inherited from โ€‹

UIData.__getInputData

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:74


__setMiddle โ€‹

โ–ธ __setMiddle(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Implementation of โ€‹

ILineData.__setMiddle

Inherited from โ€‹

UIData.__setMiddle

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:114


__getMiddle โ€‹

โ–ธ __getMiddle(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

ILineData.__getMiddle

Inherited from โ€‹

UIData.__getMiddle

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:119


__checkSingle โ€‹

โ–ธ __checkSingle(): void

Returns โ€‹

void

Implementation of โ€‹

ILineData.__checkSingle

Inherited from โ€‹

UIData.__checkSingle

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:123


__removeNaturalSize โ€‹

โ–ธ __removeNaturalSize(): void

Returns โ€‹

void

Implementation of โ€‹

ILineData.__removeNaturalSize

Inherited from โ€‹

UIData.__removeNaturalSize

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:137


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Implementation of โ€‹

ILineData.destroy

Inherited from โ€‹

UIData.destroy

Defined in โ€‹

leafer/packages/display-module/data/src/LeafData.ts:141


setVisible โ€‹

โ–ธ setVisible(value): void

Parameters โ€‹

NameType
valueboolean

Returns โ€‹

void

Inherited from โ€‹

UIData.setVisible

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:60


setWidth โ€‹

โ–ธ setWidth(value): void

Parameters โ€‹

NameType
valuenumber

Returns โ€‹

void

Inherited from โ€‹

UIData.setWidth

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:67


setHeight โ€‹

โ–ธ setHeight(value): void

Parameters โ€‹

NameType
valuenumber

Returns โ€‹

void

Inherited from โ€‹

UIData.setHeight

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:75


setFill โ€‹

โ–ธ setFill(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

UIData.setFill

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:84


setStroke โ€‹

โ–ธ setStroke(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

UIData.setStroke

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:102


setPath โ€‹

โ–ธ setPath(value): void

Parameters โ€‹

NameType
valuestring | IPathCommandData | IPathCommandObject[]

Returns โ€‹

void

Inherited from โ€‹

UIData.setPath

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:120


setShadow โ€‹

โ–ธ setShadow(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

UIData.setShadow

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:132


setInnerShadow โ€‹

โ–ธ setInnerShadow(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

UIData.setInnerShadow

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:140


__computePaint โ€‹

โ–ธ __computePaint(): void

Returns โ€‹

void

Implementation of โ€‹

ILineData.__computePaint

Inherited from โ€‹

UIData.__computePaint

Defined in โ€‹

ui/packages/display-module/data/src/UIData.ts:150

Released under the MIT License.