Skip to content

Class: ArrowData โ€‹

Hierarchy โ€‹

Implements โ€‹

Table of contents โ€‹

Constructors โ€‹

Properties โ€‹

Accessors โ€‹

Methods โ€‹

Constructors โ€‹

constructor โ€‹

โ€ข new ArrowData(leaf): ArrowData

Parameters โ€‹

NameType
leafILeaf

Returns โ€‹

ArrowData

Inherited from โ€‹

LineData.constructor

Defined in โ€‹

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

Properties โ€‹

__input โ€‹

โ€ข __input: IObject

Implementation of โ€‹

IArrowData.__input

Inherited from โ€‹

LineData.__input

Defined in โ€‹

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


__middle โ€‹

โ€ข __middle: IObject

Implementation of โ€‹

IArrowData.__middle

Inherited from โ€‹

LineData.__middle

Defined in โ€‹

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


__single โ€‹

โ€ข __single: boolean

Implementation of โ€‹

IArrowData.__single

Inherited from โ€‹

LineData.__single

Defined in โ€‹

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


__naturalWidth โ€‹

โ€ข Optional __naturalWidth: number

Implementation of โ€‹

IArrowData.__naturalWidth

Inherited from โ€‹

LineData.__naturalWidth

Defined in โ€‹

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


__naturalHeight โ€‹

โ€ข Optional __naturalHeight: number

Implementation of โ€‹

IArrowData.__naturalHeight

Inherited from โ€‹

LineData.__naturalHeight

Defined in โ€‹

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


__pathForRender โ€‹

โ€ข Optional __pathForRender: IPathCommandData

Implementation of โ€‹

IArrowData.__pathForRender

Inherited from โ€‹

LineData.__pathForRender

Defined in โ€‹

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


__leaf โ€‹

โ€ข __leaf: IUI

Implementation of โ€‹

IArrowData.__leaf

Inherited from โ€‹

LineData.__leaf

Defined in โ€‹

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


__blendLayer โ€‹

โ€ข Optional __blendLayer: boolean

Implementation of โ€‹

IArrowData.__blendLayer

Inherited from โ€‹

LineData.__blendLayer

Defined in โ€‹

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


__isFills โ€‹

โ€ข Optional __isFills: boolean

Implementation of โ€‹

IArrowData.__isFills

Inherited from โ€‹

LineData.__isFills

Defined in โ€‹

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


__isStrokes โ€‹

โ€ข Optional __isStrokes: boolean

Implementation of โ€‹

IArrowData.__isStrokes

Inherited from โ€‹

LineData.__isStrokes

Defined in โ€‹

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


__pixelFill โ€‹

โ€ข Optional __pixelFill: boolean

Implementation of โ€‹

IArrowData.__pixelFill

Inherited from โ€‹

LineData.__pixelFill

Defined in โ€‹

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


__pixelStroke โ€‹

โ€ข Optional __pixelStroke: boolean

Implementation of โ€‹

IArrowData.__pixelStroke

Inherited from โ€‹

LineData.__pixelStroke

Defined in โ€‹

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


__needComputePaint โ€‹

โ€ข __needComputePaint: boolean

Implementation of โ€‹

IArrowData.__needComputePaint

Inherited from โ€‹

LineData.__needComputePaint

Defined in โ€‹

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


_visible โ€‹

โ€ข Protected Optional _visible: boolean

Inherited from โ€‹

LineData._visible

Defined in โ€‹

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


_width โ€‹

โ€ข Protected Optional _width: number

Inherited from โ€‹

LineData._width

Defined in โ€‹

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


_height โ€‹

โ€ข Protected Optional _height: number

Inherited from โ€‹

LineData._height

Defined in โ€‹

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


_fill โ€‹

โ€ข Protected Optional _fill: IValue

Inherited from โ€‹

LineData._fill

Defined in โ€‹

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


_stroke โ€‹

โ€ข Protected Optional _stroke: IValue

Inherited from โ€‹

LineData._stroke

Defined in โ€‹

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


_path โ€‹

โ€ข Protected _path: IPathCommandData

Inherited from โ€‹

LineData._path

Defined in โ€‹

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


_shadow โ€‹

โ€ข Protected Optional _shadow: IValue

Inherited from โ€‹

LineData._shadow

Defined in โ€‹

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


_innerShadow โ€‹

โ€ข Protected Optional _innerShadow: IValue

Inherited from โ€‹

LineData._innerShadow

Defined in โ€‹

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

Accessors โ€‹

__useNaturalRatio โ€‹

โ€ข get __useNaturalRatio(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__useNaturalRatio

Inherited from โ€‹

LineData.__useNaturalRatio

Defined in โ€‹

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


__isLinePath โ€‹

โ€ข get __isLinePath(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__isLinePath

Inherited from โ€‹

LineData.__isLinePath

Defined in โ€‹

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


__blendMode โ€‹

โ€ข get __blendMode(): string

Returns โ€‹

string

Implementation of โ€‹

IArrowData.__blendMode

Inherited from โ€‹

LineData.__blendMode

Defined in โ€‹

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


scale โ€‹

โ€ข get scale(): number | IPointData

Returns โ€‹

number | IPointData

Implementation of โ€‹

IArrowData.scale

Inherited from โ€‹

LineData.scale

Defined in โ€‹

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


__strokeWidth โ€‹

โ€ข get __strokeWidth(): number

Returns โ€‹

number

Implementation of โ€‹

IArrowData.__strokeWidth

Inherited from โ€‹

LineData.__strokeWidth

Defined in โ€‹

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


__hasStroke โ€‹

โ€ข get __hasStroke(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__hasStroke

Inherited from โ€‹

LineData.__hasStroke

Defined in โ€‹

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


__clipAfterFill โ€‹

โ€ข get __clipAfterFill(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__clipAfterFill

Inherited from โ€‹

LineData.__clipAfterFill

Defined in โ€‹

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


__autoWidth โ€‹

โ€ข get __autoWidth(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__autoWidth

Inherited from โ€‹

LineData.__autoWidth

Defined in โ€‹

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


__autoHeight โ€‹

โ€ข get __autoHeight(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__autoHeight

Inherited from โ€‹

LineData.__autoHeight

Defined in โ€‹

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


__autoSide โ€‹

โ€ข get __autoSide(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__autoSide

Inherited from โ€‹

LineData.__autoSide

Defined in โ€‹

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


__autoSize โ€‹

โ€ข get __autoSize(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IArrowData.__autoSize

Inherited from โ€‹

LineData.__autoSize

Defined in โ€‹

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

Methods โ€‹

__get โ€‹

โ–ธ __get(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IArrowData.__get

Inherited from โ€‹

LineData.__get

Defined in โ€‹

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


__getData โ€‹

โ–ธ __getData(): IObject

Returns โ€‹

IObject

Implementation of โ€‹

IArrowData.__getData

Inherited from โ€‹

LineData.__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 โ€‹

IArrowData.__setInput

Inherited from โ€‹

LineData.__setInput

Defined in โ€‹

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


__getInput โ€‹

โ–ธ __getInput(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IArrowData.__getInput

Inherited from โ€‹

LineData.__getInput

Defined in โ€‹

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


__removeInput โ€‹

โ–ธ __removeInput(name): void

Parameters โ€‹

NameType
namestring

Returns โ€‹

void

Implementation of โ€‹

IArrowData.__removeInput

Inherited from โ€‹

LineData.__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 โ€‹

IArrowData.__getInputData

Inherited from โ€‹

LineData.__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 โ€‹

IArrowData.__setMiddle

Inherited from โ€‹

LineData.__setMiddle

Defined in โ€‹

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


__getMiddle โ€‹

โ–ธ __getMiddle(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IArrowData.__getMiddle

Inherited from โ€‹

LineData.__getMiddle

Defined in โ€‹

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


__checkSingle โ€‹

โ–ธ __checkSingle(): void

Returns โ€‹

void

Implementation of โ€‹

IArrowData.__checkSingle

Inherited from โ€‹

LineData.__checkSingle

Defined in โ€‹

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


__removeNaturalSize โ€‹

โ–ธ __removeNaturalSize(): void

Returns โ€‹

void

Implementation of โ€‹

IArrowData.__removeNaturalSize

Inherited from โ€‹

LineData.__removeNaturalSize

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Implementation of โ€‹

IArrowData.destroy

Inherited from โ€‹

LineData.destroy

Defined in โ€‹

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


setVisible โ€‹

โ–ธ setVisible(value): void

Parameters โ€‹

NameType
valueboolean

Returns โ€‹

void

Inherited from โ€‹

LineData.setVisible

Defined in โ€‹

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


setWidth โ€‹

โ–ธ setWidth(value): void

Parameters โ€‹

NameType
valuenumber

Returns โ€‹

void

Inherited from โ€‹

LineData.setWidth

Defined in โ€‹

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


setHeight โ€‹

โ–ธ setHeight(value): void

Parameters โ€‹

NameType
valuenumber

Returns โ€‹

void

Inherited from โ€‹

LineData.setHeight

Defined in โ€‹

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


setFill โ€‹

โ–ธ setFill(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

LineData.setFill

Defined in โ€‹

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


setStroke โ€‹

โ–ธ setStroke(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

LineData.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 โ€‹

LineData.setPath

Defined in โ€‹

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


setShadow โ€‹

โ–ธ setShadow(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

LineData.setShadow

Defined in โ€‹

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


setInnerShadow โ€‹

โ–ธ setInnerShadow(value): void

Parameters โ€‹

NameType
valueIValue

Returns โ€‹

void

Inherited from โ€‹

LineData.setInnerShadow

Defined in โ€‹

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


__computePaint โ€‹

โ–ธ __computePaint(): void

Returns โ€‹

void

Implementation of โ€‹

IArrowData.__computePaint

Inherited from โ€‹

LineData.__computePaint

Defined in โ€‹

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

Released under the MIT License.