Skip to content

Class: Arrow ​

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

â€ĸ new Arrow(data?): Arrow

Parameters ​

NameType
data?IArrowInputData

Returns ​

Arrow

Overrides ​

Line.constructor

Defined in ​

in/packages/arrow/src/Arrow.ts:18

Properties ​

__ ​

â€ĸ __: IArrowData

Implementation of ​

IArrow.__

Overrides ​

Line.__

Defined in ​

in/packages/arrow/src/Arrow.ts:13


endArrow ​

â€ĸ Optional endArrow: IArrowType

Implementation of ​

IArrow.endArrow

Overrides ​

Line.endArrow

Defined in ​

in/packages/arrow/src/Arrow.ts:16


innerId ​

â€ĸ Readonly innerId: number

Implementation of ​

IArrow.innerId

Inherited from ​

Line.innerId

Defined in ​

leafer/packages/display/src/Leaf.ts:29


__layout ​

â€ĸ __layout: ILeafLayout

Implementation of ​

IArrow.__layout

Inherited from ​

Line.__layout

Defined in ​

leafer/packages/display/src/Leaf.ts:43


__world ​

â€ĸ __world: IMatrixWithBoundsScaleData

Implementation of ​

IArrow.__world

Inherited from ​

Line.__world

Defined in ​

leafer/packages/display/src/Leaf.ts:45


__local ​

â€ĸ Optional __local: IMatrixWithBoundsData

Implementation of ​

IArrow.__local

Inherited from ​

Line.__local

Defined in ​

leafer/packages/display/src/Leaf.ts:46


__nowWorld ​

â€ĸ Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

IArrow.__nowWorld

Inherited from ​

Line.__nowWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:48


__cameraWorld ​

â€ĸ Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

IArrow.__cameraWorld

Inherited from ​

Line.__cameraWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:49


__worldOpacity ​

â€ĸ __worldOpacity: number

Implementation of ​

IArrow.__worldOpacity

Inherited from ​

Line.__worldOpacity

Defined in ​

leafer/packages/display/src/Leaf.ts:54


__level ​

â€ĸ __level: number

Implementation of ​

IArrow.__level

Inherited from ​

Line.__level

Defined in ​

leafer/packages/display/src/Leaf.ts:70


__tempNumber ​

â€ĸ __tempNumber: number

Implementation of ​

IArrow.__tempNumber

Inherited from ​

Line.__tempNumber

Defined in ​

leafer/packages/display/src/Leaf.ts:71


__hasAutoLayout ​

â€ĸ Optional __hasAutoLayout: boolean

Implementation of ​

IArrow.__hasAutoLayout

Inherited from ​

Line.__hasAutoLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:75


__hasMask ​

â€ĸ Optional __hasMask: boolean

Implementation of ​

IArrow.__hasMask

Inherited from ​

Line.__hasMask

Defined in ​

leafer/packages/display/src/Leaf.ts:76


__hasEraser ​

â€ĸ Optional __hasEraser: boolean

Implementation of ​

IArrow.__hasEraser

Inherited from ​

Line.__hasEraser

Defined in ​

leafer/packages/display/src/Leaf.ts:77


__hitCanvas ​

â€ĸ Optional __hitCanvas: IHitCanvas

Implementation of ​

IArrow.__hitCanvas

Inherited from ​

Line.__hitCanvas

Defined in ​

leafer/packages/display/src/Leaf.ts:78


__captureMap ​

â€ĸ Optional __captureMap: IEventListenerMap

Implementation of ​

IArrow.__captureMap

Inherited from ​

Line.__captureMap

Defined in ​

leafer/packages/display/src/Leaf.ts:89


__bubbleMap ​

â€ĸ Optional __bubbleMap: IEventListenerMap

Implementation of ​

IArrow.__bubbleMap

Inherited from ​

Line.__bubbleMap

Defined in ​

leafer/packages/display/src/Leaf.ts:90


__parentWait ​

â€ĸ Optional __parentWait: IFunction[]

Implementation of ​

IArrow.__parentWait

Inherited from ​

Line.__parentWait

Defined in ​

leafer/packages/display/src/Leaf.ts:92


__leaferWait ​

â€ĸ Optional __leaferWait: IFunction[]

Implementation of ​

IArrow.__leaferWait

Inherited from ​

Line.__leaferWait

Defined in ​

leafer/packages/display/src/Leaf.ts:93


noBounds ​

â€ĸ Optional noBounds: boolean

Implementation of ​

IArrow.noBounds

Inherited from ​

Line.noBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:99


destroyed ​

â€ĸ destroyed: boolean

Implementation of ​

IArrow.destroyed

Inherited from ​

Line.destroyed

Defined in ​

leafer/packages/display/src/Leaf.ts:101


strokeAlign ​

â€ĸ Optional strokeAlign: IStrokeAlign

Implementation of ​

IArrow.strokeAlign

Inherited from ​

Line.strokeAlign

Defined in ​

ui/packages/display/src/Line.ts:25


height ​

â€ĸ Optional height: number

Implementation of ​

IArrow.height

Inherited from ​

Line.height

Defined in ​

ui/packages/display/src/Line.ts:28


points ​

â€ĸ Optional points: number[]

Implementation of ​

IArrow.points

Inherited from ​

Line.points

Defined in ​

ui/packages/display/src/Line.ts:31


curve ​

â€ĸ Optional curve: number | boolean

Implementation of ​

IArrow.curve

Inherited from ​

Line.curve

Defined in ​

ui/packages/display/src/Line.ts:34


closed ​

â€ĸ Optional closed: boolean

Implementation of ​

IArrow.closed

Inherited from ​

Line.closed

Defined in ​

ui/packages/display/src/Line.ts:37


proxyData ​

â€ĸ Optional proxyData: IUIInputData

Implementation of ​

IArrow.proxyData

Inherited from ​

Line.proxyData

Defined in ​

ui/packages/display/src/UI.ts:21


__proxyData ​

â€ĸ Optional __proxyData: IUIInputData

Implementation of ​

IArrow.__proxyData

Inherited from ​

Line.__proxyData

Defined in ​

ui/packages/display/src/UI.ts:22


leafer ​

â€ĸ Optional leafer: ILeafer

Implementation of ​

IArrow.leafer

Inherited from ​

Line.leafer

Defined in ​

ui/packages/display/src/UI.ts:26


parent ​

â€ĸ Optional parent: IGroup

Implementation of ​

IArrow.parent

Inherited from ​

Line.parent

Defined in ​

ui/packages/display/src/UI.ts:27


zoomLayer ​

â€ĸ zoomLayer: IGroup

Implementation of ​

IArrow.zoomLayer

Inherited from ​

Line.zoomLayer

Defined in ​

ui/packages/display/src/UI.ts:30


children ​

â€ĸ Optional children: IUI[]

Implementation of ​

IArrow.children

Inherited from ​

Line.children

Defined in ​

ui/packages/display/src/UI.ts:34


id ​

â€ĸ Optional id: string

Implementation of ​

IArrow.id

Inherited from ​

Line.id

Defined in ​

ui/packages/display/src/UI.ts:40


name ​

â€ĸ Optional name: string

Implementation of ​

IArrow.name

Inherited from ​

Line.name

Defined in ​

ui/packages/display/src/UI.ts:43


className ​

â€ĸ Optional className: string

Implementation of ​

IArrow.className

Inherited from ​

Line.className

Defined in ​

ui/packages/display/src/UI.ts:46


blendMode ​

â€ĸ Optional blendMode: IBlendMode

Implementation of ​

IArrow.blendMode

Inherited from ​

Line.blendMode

Defined in ​

ui/packages/display/src/UI.ts:51


opacity ​

â€ĸ Optional opacity: number

Implementation of ​

IArrow.opacity

Inherited from ​

Line.opacity

Defined in ​

ui/packages/display/src/UI.ts:54


visible ​

â€ĸ Optional visible: boolean | 0

Implementation of ​

IArrow.visible

Inherited from ​

Line.visible

Defined in ​

ui/packages/display/src/UI.ts:57


selected ​

â€ĸ Optional selected: boolean

Implementation of ​

IArrow.selected

Inherited from ​

Line.selected

Defined in ​

ui/packages/display/src/UI.ts:61


disabled ​

â€ĸ Optional disabled: boolean

Implementation of ​

IArrow.disabled

Inherited from ​

Line.disabled

Defined in ​

ui/packages/display/src/UI.ts:64


locked ​

â€ĸ Optional locked: boolean

Implementation of ​

IArrow.locked

Inherited from ​

Line.locked

Defined in ​

ui/packages/display/src/UI.ts:67


zIndex ​

â€ĸ Optional zIndex: number

Implementation of ​

IArrow.zIndex

Inherited from ​

Line.zIndex

Defined in ​

ui/packages/display/src/UI.ts:71


mask ​

â€ĸ Optional mask: boolean | IMaskType

Implementation of ​

IArrow.mask

Inherited from ​

Line.mask

Defined in ​

ui/packages/display/src/UI.ts:75


eraser ​

â€ĸ Optional eraser: boolean | IEraserType

Implementation of ​

IArrow.eraser

Inherited from ​

Line.eraser

Defined in ​

ui/packages/display/src/UI.ts:78


x ​

â€ĸ Optional x: number

Implementation of ​

IArrow.x

Inherited from ​

Line.x

Defined in ​

ui/packages/display/src/UI.ts:83


y ​

â€ĸ Optional y: number

Implementation of ​

IArrow.y

Inherited from ​

Line.y

Defined in ​

ui/packages/display/src/UI.ts:86


width ​

â€ĸ Optional width: number

Implementation of ​

IArrow.width

Inherited from ​

Line.width

Defined in ​

ui/packages/display/src/UI.ts:90


scaleX ​

â€ĸ Optional scaleX: number

Implementation of ​

IArrow.scaleX

Inherited from ​

Line.scaleX

Defined in ​

ui/packages/display/src/UI.ts:97


scaleY ​

â€ĸ Optional scaleY: number

Implementation of ​

IArrow.scaleY

Inherited from ​

Line.scaleY

Defined in ​

ui/packages/display/src/UI.ts:100


rotation ​

â€ĸ Optional rotation: number

Implementation of ​

IArrow.rotation

Inherited from ​

Line.rotation

Defined in ​

ui/packages/display/src/UI.ts:104


skewX ​

â€ĸ Optional skewX: number

Implementation of ​

IArrow.skewX

Inherited from ​

Line.skewX

Defined in ​

ui/packages/display/src/UI.ts:108


skewY ​

â€ĸ Optional skewY: number

Implementation of ​

IArrow.skewY

Inherited from ​

Line.skewY

Defined in ​

ui/packages/display/src/UI.ts:111


offsetX ​

â€ĸ Optional offsetX: number

Implementation of ​

IArrow.offsetX

Inherited from ​

Line.offsetX

Defined in ​

ui/packages/display/src/UI.ts:116


offsetY ​

â€ĸ Optional offsetY: number

Implementation of ​

IArrow.offsetY

Inherited from ​

Line.offsetY

Defined in ​

ui/packages/display/src/UI.ts:119


scrollX ​

â€ĸ Optional scrollX: number

Implementation of ​

IArrow.scrollX

Inherited from ​

Line.scrollX

Defined in ​

ui/packages/display/src/UI.ts:123


scrollY ​

â€ĸ Optional scrollY: number

Implementation of ​

IArrow.scrollY

Inherited from ​

Line.scrollY

Defined in ​

ui/packages/display/src/UI.ts:126


origin ​

â€ĸ Optional origin: IUnitPointData | IDirection

Implementation of ​

IArrow.origin

Inherited from ​

Line.origin

Defined in ​

ui/packages/display/src/UI.ts:131


around ​

â€ĸ Optional around: IUnitPointData | IDirection

Implementation of ​

IArrow.around

Inherited from ​

Line.around

Defined in ​

ui/packages/display/src/UI.ts:134


lazy ​

â€ĸ Optional lazy: boolean

Implementation of ​

IArrow.lazy

Inherited from ​

Line.lazy

Defined in ​

ui/packages/display/src/UI.ts:139


pixelRatio ​

â€ĸ Optional pixelRatio: number

Implementation of ​

IArrow.pixelRatio

Inherited from ​

Line.pixelRatio

Defined in ​

ui/packages/display/src/UI.ts:142


path ​

â€ĸ Optional path: string | IPathCommandData

Implementation of ​

IArrow.path

Inherited from ​

Line.path

Defined in ​

ui/packages/display/src/UI.ts:147


windingRule ​

â€ĸ Optional windingRule: IWindingRule

Implementation of ​

IArrow.windingRule

Inherited from ​

Line.windingRule

Defined in ​

ui/packages/display/src/UI.ts:150


flow ​

â€ĸ Optional flow: IFlowType

Implementation of ​

IArrow.flow

Inherited from ​

Line.flow

Defined in ​

ui/packages/display/src/UI.ts:158


padding ​

â€ĸ Optional padding: IFourNumber

Implementation of ​

IArrow.padding

Inherited from ​

Line.padding

Defined in ​

ui/packages/display/src/UI.ts:161


gap ​

â€ĸ Optional gap: IGap | IPointGap

Implementation of ​

IArrow.gap

Inherited from ​

Line.gap

Defined in ​

ui/packages/display/src/UI.ts:164


flowAlign ​

â€ĸ Optional flowAlign: IFlowAlign | IFlowAxisAlign

Implementation of ​

IArrow.flowAlign

Inherited from ​

Line.flowAlign

Defined in ​

ui/packages/display/src/UI.ts:167


flowWrap ​

â€ĸ Optional flowWrap: IFlowWrap

Implementation of ​

IArrow.flowWrap

Inherited from ​

Line.flowWrap

Defined in ​

ui/packages/display/src/UI.ts:170


itemBox ​

â€ĸ Optional itemBox: IFlowBoxType

Implementation of ​

IArrow.itemBox

Inherited from ​

Line.itemBox

Defined in ​

ui/packages/display/src/UI.ts:173


inFlow ​

â€ĸ Optional inFlow: boolean

Implementation of ​

IArrow.inFlow

Inherited from ​

Line.inFlow

Defined in ​

ui/packages/display/src/UI.ts:177


autoWidth ​

â€ĸ Optional autoWidth: IAutoSize

Implementation of ​

IArrow.autoWidth

Inherited from ​

Line.autoWidth

Defined in ​

ui/packages/display/src/UI.ts:180


autoHeight ​

â€ĸ Optional autoHeight: IAutoSize

Implementation of ​

IArrow.autoHeight

Inherited from ​

Line.autoHeight

Defined in ​

ui/packages/display/src/UI.ts:183


lockRatio ​

â€ĸ Optional lockRatio: boolean

Implementation of ​

IArrow.lockRatio

Inherited from ​

Line.lockRatio

Defined in ​

ui/packages/display/src/UI.ts:186


autoBox ​

â€ĸ Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

IArrow.autoBox

Inherited from ​

Line.autoBox

Defined in ​

ui/packages/display/src/UI.ts:189


widthRange ​

â€ĸ Optional widthRange: IRangeSize

Implementation of ​

IArrow.widthRange

Inherited from ​

Line.widthRange

Defined in ​

ui/packages/display/src/UI.ts:193


heightRange ​

â€ĸ Optional heightRange: IRangeSize

Implementation of ​

IArrow.heightRange

Inherited from ​

Line.heightRange

Defined in ​

ui/packages/display/src/UI.ts:196


draggable ​

â€ĸ Optional draggable: boolean | IAxis

Implementation of ​

IArrow.draggable

Inherited from ​

Line.draggable

Defined in ​

ui/packages/display/src/UI.ts:201


dragBounds ​

â€ĸ Optional dragBounds: "parent" | IBoundsData

Implementation of ​

IArrow.dragBounds

Inherited from ​

Line.dragBounds

Defined in ​

ui/packages/display/src/UI.ts:204


editable ​

â€ĸ Optional editable: boolean

Implementation of ​

IArrow.editable

Inherited from ​

Line.editable

Defined in ​

ui/packages/display/src/UI.ts:208


hittable ​

â€ĸ Optional hittable: boolean

Implementation of ​

IArrow.hittable

Inherited from ​

Line.hittable

Defined in ​

ui/packages/display/src/UI.ts:213


hitFill ​

â€ĸ Optional hitFill: IHitType

Implementation of ​

IArrow.hitFill

Inherited from ​

Line.hitFill

Defined in ​

ui/packages/display/src/UI.ts:216


hitStroke ​

â€ĸ Optional hitStroke: IHitType

Implementation of ​

IArrow.hitStroke

Inherited from ​

Line.hitStroke

Defined in ​

ui/packages/display/src/UI.ts:219


hitBox ​

â€ĸ Optional hitBox: boolean

Implementation of ​

IArrow.hitBox

Inherited from ​

Line.hitBox

Defined in ​

ui/packages/display/src/UI.ts:222


hitChildren ​

â€ĸ Optional hitChildren: boolean

Implementation of ​

IArrow.hitChildren

Inherited from ​

Line.hitChildren

Defined in ​

ui/packages/display/src/UI.ts:225


hitSelf ​

â€ĸ Optional hitSelf: boolean

Implementation of ​

IArrow.hitSelf

Inherited from ​

Line.hitSelf

Defined in ​

ui/packages/display/src/UI.ts:228


hitRadius ​

â€ĸ Optional hitRadius: number

Implementation of ​

IArrow.hitRadius

Inherited from ​

Line.hitRadius

Defined in ​

ui/packages/display/src/UI.ts:231


cursor ​

â€ĸ Optional cursor: ICursorType | ICursorType[]

Implementation of ​

IArrow.cursor

Inherited from ​

Line.cursor

Defined in ​

ui/packages/display/src/UI.ts:234


fill ​

â€ĸ Optional fill: IFill

Implementation of ​

IArrow.fill

Inherited from ​

Line.fill

Defined in ​

ui/packages/display/src/UI.ts:242


stroke ​

â€ĸ Optional stroke: IStroke

Implementation of ​

IArrow.stroke

Inherited from ​

Line.stroke

Defined in ​

ui/packages/display/src/UI.ts:247


strokeWidth ​

â€ĸ Optional strokeWidth: string | IFourNumber

Implementation of ​

IArrow.strokeWidth

Inherited from ​

Line.strokeWidth

Defined in ​

ui/packages/display/src/UI.ts:253


strokeWidthFixed ​

â€ĸ Optional strokeWidthFixed: boolean

Implementation of ​

IArrow.strokeWidthFixed

Inherited from ​

Line.strokeWidthFixed

Defined in ​

ui/packages/display/src/UI.ts:256


strokeCap ​

â€ĸ Optional strokeCap: IStrokeCap

Implementation of ​

IArrow.strokeCap

Inherited from ​

Line.strokeCap

Defined in ​

ui/packages/display/src/UI.ts:259


strokeJoin ​

â€ĸ Optional strokeJoin: IStrokeJoin

Implementation of ​

IArrow.strokeJoin

Inherited from ​

Line.strokeJoin

Defined in ​

ui/packages/display/src/UI.ts:262


dashPattern ​

â€ĸ Optional dashPattern: string | number[]

Implementation of ​

IArrow.dashPattern

Inherited from ​

Line.dashPattern

Defined in ​

ui/packages/display/src/UI.ts:265


dashOffset ​

â€ĸ Optional dashOffset: number

Implementation of ​

IArrow.dashOffset

Inherited from ​

Line.dashOffset

Defined in ​

ui/packages/display/src/UI.ts:268


miterLimit ​

â€ĸ Optional miterLimit: number

Implementation of ​

IArrow.miterLimit

Inherited from ​

Line.miterLimit

Defined in ​

ui/packages/display/src/UI.ts:271


startArrow ​

â€ĸ Optional startArrow: IArrowType

Implementation of ​

IArrow.startArrow

Inherited from ​

Line.startArrow

Defined in ​

ui/packages/display/src/UI.ts:277


cornerRadius ​

â€ĸ Optional cornerRadius: string | IFourNumber

Implementation of ​

IArrow.cornerRadius

Inherited from ​

Line.cornerRadius

Defined in ​

ui/packages/display/src/UI.ts:285


cornerSmoothing ​

â€ĸ Optional cornerSmoothing: number

Implementation of ​

IArrow.cornerSmoothing

Inherited from ​

Line.cornerSmoothing

Defined in ​

ui/packages/display/src/UI.ts:288


shadow ​

â€ĸ Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IArrow.shadow

Inherited from ​

Line.shadow

Defined in ​

ui/packages/display/src/UI.ts:293


innerShadow ​

â€ĸ Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IArrow.innerShadow

Inherited from ​

Line.innerShadow

Defined in ​

ui/packages/display/src/UI.ts:296


blur ​

â€ĸ Optional blur: number | IBlurEffect

Implementation of ​

IArrow.blur

Inherited from ​

Line.blur

Defined in ​

ui/packages/display/src/UI.ts:299


backgroundBlur ​

â€ĸ Optional backgroundBlur: number | IBlurEffect

Implementation of ​

IArrow.backgroundBlur

Inherited from ​

Line.backgroundBlur

Defined in ​

ui/packages/display/src/UI.ts:302


grayscale ​

â€ĸ Optional grayscale: number | IGrayscaleEffect

Implementation of ​

IArrow.grayscale

Inherited from ​

Line.grayscale

Defined in ​

ui/packages/display/src/UI.ts:305


normalStyle ​

â€ĸ Optional normalStyle: IUIInputData

Implementation of ​

IArrow.normalStyle

Inherited from ​

Line.normalStyle

Defined in ​

ui/packages/display/src/UI.ts:311


hoverStyle ​

â€ĸ Optional hoverStyle: IUIInputData

Implementation of ​

IArrow.hoverStyle

Inherited from ​

Line.hoverStyle

Defined in ​

ui/packages/display/src/UI.ts:314


pressStyle ​

â€ĸ Optional pressStyle: IUIInputData

Implementation of ​

IArrow.pressStyle

Inherited from ​

Line.pressStyle

Defined in ​

ui/packages/display/src/UI.ts:317


focusStyle ​

â€ĸ Optional focusStyle: IUIInputData

Implementation of ​

IArrow.focusStyle

Inherited from ​

Line.focusStyle

Defined in ​

ui/packages/display/src/UI.ts:320


selectedStyle ​

â€ĸ Optional selectedStyle: IUIInputData

Implementation of ​

IArrow.selectedStyle

Inherited from ​

Line.selectedStyle

Defined in ​

ui/packages/display/src/UI.ts:323


disabledStyle ​

â€ĸ Optional disabledStyle: IUIInputData

Implementation of ​

IArrow.disabledStyle

Inherited from ​

Line.disabledStyle

Defined in ​

ui/packages/display/src/UI.ts:326


data ​

â€ĸ data: IObject

Implementation of ​

IArrow.data

Inherited from ​

Line.data

Defined in ​

ui/packages/display/src/UI.ts:331

Accessors ​

__tag ​

â€ĸ get __tag(): string

Returns ​

string

Implementation of ​

IArrow.__tag

Overrides ​

Line.__tag

Defined in ​

in/packages/arrow/src/Arrow.ts:10


tag ​

â€ĸ get tag(): string

Returns ​

string

Implementation of ​

IArrow.tag

Inherited from ​

Line.tag

Defined in ​

leafer/packages/display/src/Leaf.ts:24

â€ĸ set tag(_value): void

Parameters ​

NameType
_valuestring

Returns ​

void

Implementation of ​

IArrow.tag

Inherited from ​

Line.tag

Defined in ​

leafer/packages/display/src/Leaf.ts:25


innerName ​

â€ĸ get innerName(): string

Returns ​

string

Implementation of ​

IArrow.innerName

Inherited from ​

Line.innerName

Defined in ​

leafer/packages/display/src/Leaf.ts:30


__DataProcessor ​

â€ĸ get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

IArrow.__DataProcessor

Inherited from ​

Line.__DataProcessor

Defined in ​

leafer/packages/display/src/Leaf.ts:32


__LayoutProcessor ​

â€ĸ get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

IArrow.__LayoutProcessor

Inherited from ​

Line.__LayoutProcessor

Defined in ​

leafer/packages/display/src/Leaf.ts:33


isLeafer ​

â€ĸ get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

IArrow.isLeafer

Inherited from ​

Line.isLeafer

Defined in ​

leafer/packages/display/src/Leaf.ts:38


isBranch ​

â€ĸ get isBranch(): boolean

Returns ​

boolean

Implementation of ​

IArrow.isBranch

Inherited from ​

Line.isBranch

Defined in ​

leafer/packages/display/src/Leaf.ts:39


isBranchLeaf ​

â€ĸ get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

IArrow.isBranchLeaf

Inherited from ​

Line.isBranchLeaf

Defined in ​

leafer/packages/display/src/Leaf.ts:40


__localMatrix ​

â€ĸ get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IArrow.__localMatrix

Inherited from ​

Line.__localMatrix

Defined in ​

leafer/packages/display/src/Leaf.ts:51


__localBoxBounds ​

â€ĸ get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IArrow.__localBoxBounds

Inherited from ​

Line.__localBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:52


worldTransform ​

â€ĸ get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IArrow.worldTransform

Inherited from ​

Line.worldTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:57


localTransform ​

â€ĸ get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IArrow.localTransform

Inherited from ​

Line.localTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:58


boxBounds ​

â€ĸ get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IArrow.boxBounds

Inherited from ​

Line.boxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:61


renderBounds ​

â€ĸ get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IArrow.renderBounds

Inherited from ​

Line.renderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:62


worldBoxBounds ​

â€ĸ get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IArrow.worldBoxBounds

Inherited from ​

Line.worldBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:63


worldStrokeBounds ​

â€ĸ get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IArrow.worldStrokeBounds

Inherited from ​

Line.worldStrokeBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:64


worldRenderBounds ​

â€ĸ get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IArrow.worldRenderBounds

Inherited from ​

Line.worldRenderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:65


worldOpacity ​

â€ĸ get worldOpacity(): number

Returns ​

number

Implementation of ​

IArrow.worldOpacity

Inherited from ​

Line.worldOpacity

Defined in ​

leafer/packages/display/src/Leaf.ts:68


__worldFlipped ​

â€ĸ get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

IArrow.__worldFlipped

Inherited from ​

Line.__worldFlipped

Defined in ​

leafer/packages/display/src/Leaf.ts:73


__onlyHitMask ​

â€ĸ get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

IArrow.__onlyHitMask

Inherited from ​

Line.__onlyHitMask

Defined in ​

leafer/packages/display/src/Leaf.ts:80


__ignoreHitWorld ​

â€ĸ get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

IArrow.__ignoreHitWorld

Inherited from ​

Line.__ignoreHitWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:81


__inLazyBounds ​

â€ĸ get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

IArrow.__inLazyBounds

Inherited from ​

Line.__inLazyBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:82


pathInputed ​

â€ĸ get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

IArrow.pathInputed

Inherited from ​

Line.pathInputed

Defined in ​

leafer/packages/display/src/Leaf.ts:84


event ​

â€ĸ set event(map): void

Parameters ​

NameType
mapIEventMap

Returns ​

void

Implementation of ​

IArrow.event

Inherited from ​

Line.event

Defined in ​

leafer/packages/display/src/Leaf.ts:87


toPoint ​

â€ĸ get toPoint(): IPointData

Returns ​

IPointData

Implementation of ​

IArrow.toPoint

Inherited from ​

Line.toPoint

Defined in ​

ui/packages/display/src/Line.ts:39

â€ĸ set toPoint(value): void

Parameters ​

NameType
valueIPointData

Returns ​

void

Implementation of ​

IArrow.toPoint

Inherited from ​

Line.toPoint

Defined in ​

ui/packages/display/src/Line.ts:49


app ​

â€ĸ get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

IArrow.app

Inherited from ​

Line.app

Defined in ​

ui/packages/display/src/UI.ts:24


isFrame ​

â€ĸ get isFrame(): boolean

Returns ​

boolean

Implementation of ​

IArrow.isFrame

Inherited from ​

Line.isFrame

Defined in ​

ui/packages/display/src/UI.ts:32


scale ​

â€ĸ get scale(): number | IPointData

Returns ​

number | IPointData

Implementation of ​

IArrow.scale

Inherited from ​

Line.scale

Defined in ​

ui/packages/display/src/UI.ts:343

â€ĸ set scale(value): void

Parameters ​

NameType
valuenumber | IPointData

Returns ​

void

Implementation of ​

IArrow.scale

Inherited from ​

Line.scale

Defined in ​

ui/packages/display/src/UI.ts:334


pen ​

â€ĸ get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

IArrow.pen

Inherited from ​

Line.pen

Defined in ​

ui/packages/display/src/UI.ts:348


editConfig ​

â€ĸ get editConfig(): IEditorConfig

Returns ​

IEditorConfig

Implementation of ​

IArrow.editConfig

Inherited from ​

Line.editConfig

Defined in ​

ui/packages/display/src/UI.ts:358


editOuter ​

â€ĸ get editOuter(): string

Returns ​

string

Implementation of ​

IArrow.editOuter

Inherited from ​

Line.editOuter

Defined in ​

ui/packages/display/src/UI.ts:360


editInner ​

â€ĸ get editInner(): string

Returns ​

string

Implementation of ​

IArrow.editInner

Inherited from ​

Line.editInner

Defined in ​

ui/packages/display/src/UI.ts:362

Methods ​

resetCustom ​

▸ resetCustom(): void

Returns ​

void

Implementation of ​

IArrow.resetCustom

Inherited from ​

Line.resetCustom

Defined in ​

leafer/packages/display/src/Leaf.ts:127


waitParent ​

▸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IArrow.waitParent

Inherited from ​

Line.waitParent

Defined in ​

leafer/packages/display/src/Leaf.ts:133


waitLeafer ​

▸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IArrow.waitLeafer

Inherited from ​

Line.waitLeafer

Defined in ​

leafer/packages/display/src/Leaf.ts:138


nextRender ​

▸ nextRender(item, bind?, off?): void

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Implementation of ​

IArrow.nextRender

Inherited from ​

Line.nextRender

Defined in ​

leafer/packages/display/src/Leaf.ts:143


removeNextRender ​

▸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Implementation of ​

IArrow.removeNextRender

Inherited from ​

Line.removeNextRender

Defined in ​

leafer/packages/display/src/Leaf.ts:147


__bindLeafer ​

▸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Implementation of ​

IArrow.__bindLeafer

Inherited from ​

Line.__bindLeafer

Defined in ​

leafer/packages/display/src/Leaf.ts:151


setAttr ​

▸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Implementation of ​

IArrow.setAttr

Inherited from ​

Line.setAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:179


getAttr ​

▸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IArrow.getAttr

Inherited from ​

Line.getAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:180


getComputedAttr ​

▸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IArrow.getComputedAttr

Inherited from ​

Line.getComputedAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:182


toJSON ​

▸ toJSON(options?): IObject

Parameters ​

NameType
options?IJSONOptions

Returns ​

IObject

Implementation of ​

IArrow.toJSON

Inherited from ​

Line.toJSON

Defined in ​

leafer/packages/display/src/Leaf.ts:184


toString ​

▸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Implementation of ​

IArrow.toString

Inherited from ​

Line.toString

Defined in ​

leafer/packages/display/src/Leaf.ts:189


toSVG ​

▸ toSVG(): string

Returns ​

string

Implementation of ​

IArrow.toSVG

Inherited from ​

Line.toSVG

Defined in ​

leafer/packages/display/src/Leaf.ts:193


__SVG ​

▸ __SVG(_data): void

Parameters ​

NameType
_dataIObject

Returns ​

void

Implementation of ​

IArrow.__SVG

Inherited from ​

Line.__SVG

Defined in ​

leafer/packages/display/src/Leaf.ts:195


toHTML ​

▸ toHTML(): string

Returns ​

string

Implementation of ​

IArrow.toHTML

Inherited from ​

Line.toHTML

Defined in ​

leafer/packages/display/src/Leaf.ts:197


__setAttr ​

▸ __setAttr(_attrName, _newValue): boolean

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

boolean

Implementation of ​

IArrow.__setAttr

Inherited from ​

Line.__setAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:201


__getAttr ​

▸ __getAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IArrow.__getAttr

Inherited from ​

Line.__getAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:203


setProxyAttr ​

▸ setProxyAttr(_attrName, _newValue): void

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

void

Implementation of ​

IArrow.setProxyAttr

Inherited from ​

Line.setProxyAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:205


getProxyAttr ​

▸ getProxyAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IArrow.getProxyAttr

Inherited from ​

Line.getProxyAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:207


focus ​

▸ focus(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IArrow.focus

Inherited from ​

Line.focus

Defined in ​

leafer/packages/display/src/Leaf.ts:227


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Implementation of ​

IArrow.updateLayout

Inherited from ​

Line.updateLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:231


forceUpdate ​

▸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Implementation of ​

IArrow.forceUpdate

Inherited from ​

Line.forceUpdate

Defined in ​

leafer/packages/display/src/Leaf.ts:235


forceRender ​

▸ forceRender(_bounds?): void

Parameters ​

NameType
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IArrow.forceRender

Inherited from ​

Line.forceRender

Defined in ​

leafer/packages/display/src/Leaf.ts:243


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

IArrow.__updateWorldMatrix

Inherited from ​

Line.__updateWorldMatrix

Defined in ​

leafer/packages/display/src/Leaf.ts:249


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

IArrow.__updateLocalMatrix

Inherited from ​

Line.__updateLocalMatrix

Defined in ​

leafer/packages/display/src/Leaf.ts:251


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateWorldBounds

Inherited from ​

Line.__updateWorldBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:257


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateLocalBounds

Inherited from ​

Line.__updateLocalBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:259


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateLocalBoxBounds

Inherited from ​

Line.__updateLocalBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:262


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateLocalStrokeBounds

Inherited from ​

Line.__updateLocalStrokeBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:264


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateLocalRenderBounds

Inherited from ​

Line.__updateLocalRenderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:266


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateContentBounds

Inherited from ​

Line.__updateContentBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:272


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateStrokeBounds

Inherited from ​

Line.__updateStrokeBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:274


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateRenderBounds

Inherited from ​

Line.__updateRenderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:276


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

IArrow.__updateAutoLayout

Inherited from ​

Line.__updateAutoLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:279


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

IArrow.__updateFlowLayout

Inherited from ​

Line.__updateFlowLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:281


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

IArrow.__updateNaturalSize

Inherited from ​

Line.__updateNaturalSize

Defined in ​

leafer/packages/display/src/Leaf.ts:283


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Implementation of ​

IArrow.__updateStrokeSpread

Inherited from ​

Line.__updateStrokeSpread

Defined in ​

leafer/packages/display/src/Leaf.ts:286


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Implementation of ​

IArrow.__updateRenderSpread

Inherited from ​

Line.__updateRenderSpread

Defined in ​

leafer/packages/display/src/Leaf.ts:288


__updateEraser ​

▸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IArrow.__updateEraser

Inherited from ​

Line.__updateEraser

Defined in ​

leafer/packages/display/src/Leaf.ts:295


__renderEraser ​

▸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Implementation of ​

IArrow.__renderEraser

Inherited from ​

Line.__renderEraser

Defined in ​

leafer/packages/display/src/Leaf.ts:299


__updateMask ​

▸ __updateMask(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IArrow.__updateMask

Inherited from ​

Line.__updateMask

Defined in ​

leafer/packages/display/src/Leaf.ts:307


__renderMask ​

▸ __renderMask(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IArrow.__renderMask

Inherited from ​

Line.__renderMask

Defined in ​

leafer/packages/display/src/Leaf.ts:313


__getNowWorld ​

▸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Implementation of ​

IArrow.__getNowWorld

Inherited from ​

Line.__getNowWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:321


getTransform ​

▸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Implementation of ​

IArrow.getTransform

Inherited from ​

Line.getTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:333


getBounds ​

▸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Implementation of ​

IArrow.getBounds

Inherited from ​

Line.getBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:338


getLayoutBounds ​

▸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType
unscale?boolean

Returns ​

ILayoutBoundsData

Implementation of ​

IArrow.getLayoutBounds

Inherited from ​

Line.getLayoutBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:342


getLayoutPoints ​

▸ getLayoutPoints(type?, relative?): IPointData[]

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Implementation of ​

IArrow.getLayoutPoints

Inherited from ​

Line.getLayoutPoints

Defined in ​

leafer/packages/display/src/Leaf.ts:346


getWorldBounds ​

▸ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Implementation of ​

IArrow.getWorldBounds

Inherited from ​

Line.getWorldBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:351


worldToLocal ​

▸ worldToLocal(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IArrow.worldToLocal

Inherited from ​

Line.worldToLocal

Defined in ​

leafer/packages/display/src/Leaf.ts:359


localToWorld ​

▸ localToWorld(local, to?, distance?, relative?): void

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IArrow.localToWorld

Inherited from ​

Line.localToWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:367


worldToInner ​

▸ worldToInner(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IArrow.worldToInner

Inherited from ​

Line.worldToInner

Defined in ​

leafer/packages/display/src/Leaf.ts:375


innerToWorld ​

▸ innerToWorld(inner, to?, distance?, relative?): void

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IArrow.innerToWorld

Inherited from ​

Line.innerToWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:383


getInnerPoint ​

▸ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getInnerPoint

Inherited from ​

Line.getInnerPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:390


getInnerPointByLocal ​

▸ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getInnerPointByLocal

Inherited from ​

Line.getInnerPointByLocal

Defined in ​

leafer/packages/display/src/Leaf.ts:396


getLocalPoint ​

▸ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getLocalPoint

Inherited from ​

Line.getLocalPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:400


getLocalPointByInner ​

▸ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getLocalPointByInner

Inherited from ​

Line.getLocalPointByInner

Defined in ​

leafer/packages/display/src/Leaf.ts:406


getWorldPoint ​

▸ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getWorldPoint

Inherited from ​

Line.getWorldPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:410


getWorldPointByLocal ​

▸ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getWorldPointByLocal

Inherited from ​

Line.getWorldPointByLocal

Defined in ​

leafer/packages/display/src/Leaf.ts:416


getPagePoint ​

▸ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getPagePoint

Inherited from ​

Line.getPagePoint

Defined in ​

leafer/packages/display/src/Leaf.ts:422


getWorldPointByPage ​

▸ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IArrow.getWorldPointByPage

Inherited from ​

Line.getWorldPointByPage

Defined in ​

leafer/packages/display/src/Leaf.ts:427


setTransform ​

▸ setTransform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IArrow.setTransform

Inherited from ​

Line.setTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:435


transform ​

▸ transform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IArrow.transform

Inherited from ​

Line.transform

Defined in ​

leafer/packages/display/src/Leaf.ts:439


move ​

▸ move(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

IArrow.move

Inherited from ​

Line.move

Defined in ​

leafer/packages/display/src/Leaf.ts:443


moveInner ​

▸ moveInner(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

IArrow.moveInner

Inherited from ​

Line.moveInner

Defined in ​

leafer/packages/display/src/Leaf.ts:448


scaleOf ​

▸ scaleOf(origin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

IArrow.scaleOf

Inherited from ​

Line.scaleOf

Defined in ​

leafer/packages/display/src/Leaf.ts:452


rotateOf ​

▸ rotateOf(origin, rotation): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber

Returns ​

void

Implementation of ​

IArrow.rotateOf

Inherited from ​

Line.rotateOf

Defined in ​

leafer/packages/display/src/Leaf.ts:456


skewOf ​

▸ skewOf(origin, skewX, skewY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

IArrow.skewOf

Inherited from ​

Line.skewOf

Defined in ​

leafer/packages/display/src/Leaf.ts:460


transformWorld ​

▸ transformWorld(worldTransform?, resize?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IArrow.transformWorld

Inherited from ​

Line.transformWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:465


moveWorld ​

▸ moveWorld(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

IArrow.moveWorld

Inherited from ​

Line.moveWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:469


scaleOfWorld ​

▸ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

IArrow.scaleOfWorld

Inherited from ​

Line.scaleOfWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:473


rotateOfWorld ​

▸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Implementation of ​

IArrow.rotateOfWorld

Inherited from ​

Line.rotateOfWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:477


skewOfWorld ​

▸ skewOfWorld(worldOrigin, skewX, skewY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

IArrow.skewOfWorld

Inherited from ​

Line.skewOfWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:481


flip ​

▸ flip(axis): void

Parameters ​

NameType
axisIAxis

Returns ​

void

Implementation of ​

IArrow.flip

Inherited from ​

Line.flip

Defined in ​

leafer/packages/display/src/Leaf.ts:485


scaleResize ​

▸ scaleResize(scaleX, scaleY?, _noResize?): void

Parameters ​

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns ​

void

Implementation of ​

IArrow.scaleResize

Inherited from ​

Line.scaleResize

Defined in ​

leafer/packages/display/src/Leaf.ts:492


__scaleResize ​

▸ __scaleResize(_scaleX, _scaleY): void

Parameters ​

NameType
_scaleXnumber
_scaleYnumber

Returns ​

void

Implementation of ​

IArrow.__scaleResize

Inherited from ​

Line.__scaleResize

Defined in ​

leafer/packages/display/src/Leaf.ts:497


resizeWidth ​

▸ resizeWidth(_width): void

Parameters ​

NameType
_widthnumber

Returns ​

void

Implementation of ​

IArrow.resizeWidth

Inherited from ​

Line.resizeWidth

Defined in ​

leafer/packages/display/src/Leaf.ts:500


resizeHeight ​

▸ resizeHeight(_height): void

Parameters ​

NameType
_heightnumber

Returns ​

void

Implementation of ​

IArrow.resizeHeight

Inherited from ​

Line.resizeHeight

Defined in ​

leafer/packages/display/src/Leaf.ts:502


__hitWorld ​

▸ __hitWorld(_point): boolean

Parameters ​

NameType
_pointIRadiusPointData

Returns ​

boolean

Implementation of ​

IArrow.__hitWorld

Inherited from ​

Line.__hitWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:507


__hit ​

▸ __hit(_local): boolean

Parameters ​

NameType
_localIRadiusPointData

Returns ​

boolean

Implementation of ​

IArrow.__hit

Inherited from ​

Line.__hit

Defined in ​

leafer/packages/display/src/Leaf.ts:509


__hitFill ​

▸ __hitFill(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IArrow.__hitFill

Inherited from ​

Line.__hitFill

Defined in ​

leafer/packages/display/src/Leaf.ts:511


__hitStroke ​

▸ __hitStroke(_inner, _strokeWidth): boolean

Parameters ​

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns ​

boolean

Implementation of ​

IArrow.__hitStroke

Inherited from ​

Line.__hitStroke

Defined in ​

leafer/packages/display/src/Leaf.ts:513


__hitPixel ​

▸ __hitPixel(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IArrow.__hitPixel

Inherited from ​

Line.__hitPixel

Defined in ​

leafer/packages/display/src/Leaf.ts:515


__drawHitPath ​

▸ __drawHitPath(_canvas): void

Parameters ​

NameType
_canvasILeaferCanvas

Returns ​

void

Implementation of ​

IArrow.__drawHitPath

Inherited from ​

Line.__drawHitPath

Defined in ​

leafer/packages/display/src/Leaf.ts:517


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

IArrow.__updateHitCanvas

Inherited from ​

Line.__updateHitCanvas

Defined in ​

leafer/packages/display/src/Leaf.ts:519


__render ​

▸ __render(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IArrow.__render

Inherited from ​

Line.__render

Defined in ​

leafer/packages/display/src/Leaf.ts:526


__drawFast ​

▸ __drawFast(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IArrow.__drawFast

Inherited from ​

Line.__drawFast

Defined in ​

leafer/packages/display/src/Leaf.ts:528


__draw ​

▸ __draw(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IArrow.__draw

Inherited from ​

Line.__draw

Defined in ​

leafer/packages/display/src/Leaf.ts:530


__clip ​

▸ __clip(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IArrow.__clip

Inherited from ​

Line.__clip

Defined in ​

leafer/packages/display/src/Leaf.ts:533


__renderShape ​

▸ __renderShape(_canvas, _options, _ignoreFill?, _ignoreStroke?): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_ignoreFill?boolean
_ignoreStroke?boolean

Returns ​

void

Implementation of ​

IArrow.__renderShape

Inherited from ​

Line.__renderShape

Defined in ​

leafer/packages/display/src/Leaf.ts:535


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

IArrow.__updateWorldOpacity

Inherited from ​

Line.__updateWorldOpacity

Defined in ​

leafer/packages/display/src/Leaf.ts:538


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Implementation of ​

IArrow.__updateChange

Inherited from ​

Line.__updateChange

Defined in ​

leafer/packages/display/src/Leaf.ts:540


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

IArrow.__updateSortChildren

Inherited from ​

Line.__updateSortChildren

Defined in ​

leafer/packages/display/src/Leaf.ts:558


add ​

▸ add(_child, _index?): void

Parameters ​

NameType
_childILeaf
_index?number

Returns ​

void

Implementation of ​

IArrow.add

Inherited from ​

Line.add

Defined in ​

leafer/packages/display/src/Leaf.ts:560


remove ​

▸ remove(_child?, destroy?): void

Parameters ​

NameType
_child?ILeaf
destroy?boolean

Returns ​

void

Implementation of ​

IArrow.remove

Inherited from ​

Line.remove

Defined in ​

leafer/packages/display/src/Leaf.ts:562


dropTo ​

▸ dropTo(parent, index?, resize?): void

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Implementation of ​

IArrow.dropTo

Inherited from ​

Line.dropTo

Defined in ​

leafer/packages/display/src/Leaf.ts:566


on ​

▸ on(_type, _listener, _options?): void

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IArrow.on

Inherited from ​

Line.on

Defined in ​

leafer/packages/display/src/Leaf.ts:575


off ​

▸ off(_type?, _listener?, _options?): void

Parameters ​

NameType
_type?string | string[]
_listener?IFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IArrow.off

Inherited from ​

Line.off

Defined in ​

leafer/packages/display/src/Leaf.ts:577


on_ ​

▸ on_(_type, _listener, _bind?, _options?): IEventListenerId

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_bind?IObject
_options?IEventOption

Returns ​

IEventListenerId

Implementation of ​

IArrow.on_

Inherited from ​

Line.on_

Defined in ​

leafer/packages/display/src/Leaf.ts:579


off_ ​

▸ off_(_id): void

Parameters ​

NameType
_idIEventListenerId | IEventListenerId[]

Returns ​

void

Implementation of ​

IArrow.off_

Inherited from ​

Line.off_

Defined in ​

leafer/packages/display/src/Leaf.ts:581


once ​

▸ once(_type, _listener, _capture?): void

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns ​

void

Implementation of ​

IArrow.once

Inherited from ​

Line.once

Defined in ​

leafer/packages/display/src/Leaf.ts:583


emit ​

▸ emit(_type, _event?, _capture?): void

Parameters ​

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IArrow.emit

Inherited from ​

Line.emit

Defined in ​

leafer/packages/display/src/Leaf.ts:585


emitEvent ​

▸ emitEvent(_event?, _capture?): void

Parameters ​

NameType
_event?IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IArrow.emitEvent

Inherited from ​

Line.emitEvent

Defined in ​

leafer/packages/display/src/Leaf.ts:587


hasEvent ​

▸ hasEvent(_type, _capture?): boolean

Parameters ​

NameType
_typestring
_capture?boolean

Returns ​

boolean

Implementation of ​

IArrow.hasEvent

Inherited from ​

Line.hasEvent

Defined in ​

leafer/packages/display/src/Leaf.ts:589


changeAttr ​

▸ changeAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Line.changeAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:593


addAttr ​

▸ addAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Line.addAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:597


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Implementation of ​

IArrow.__updatePath

Inherited from ​

Line.__updatePath

Defined in ​

ui/packages/display/src/Line.ts:60


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Implementation of ​

IArrow.__updateRenderPath

Inherited from ​

Line.__updateRenderPath

Defined in ​

ui/packages/display/src/Line.ts:77


__updateBoxBounds ​

▸ __updateBoxBounds(): void

Returns ​

void

Implementation of ​

IArrow.__updateBoxBounds

Inherited from ​

Line.__updateBoxBounds

Defined in ​

ui/packages/display/src/Line.ts:87


reset ​

▸ reset(_data?): void

Parameters ​

NameType
_data?IUIInputData

Returns ​

void

Implementation of ​

IArrow.reset

Inherited from ​

Line.reset

Defined in ​

ui/packages/display/src/UI.ts:373


set ​

▸ set(data): void

Parameters ​

NameType
dataIUIInputData

Returns ​

void

Implementation of ​

IArrow.set

Inherited from ​

Line.set

Defined in ​

ui/packages/display/src/UI.ts:376


get ​

▸ get(name?): IValue | IUIInputData

Parameters ​

NameType
name?string | string[] | IUIInputData

Returns ​

IValue | IUIInputData

Implementation of ​

IArrow.get

Inherited from ​

Line.get

Defined in ​

ui/packages/display/src/UI.ts:380


createProxyData ​

▸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

IArrow.createProxyData

Inherited from ​

Line.createProxyData

Defined in ​

ui/packages/display/src/UI.ts:384


find ​

▸ find(_condition, _options?): IUI[]

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI[]

Implementation of ​

IArrow.find

Inherited from ​

Line.find

Defined in ​

ui/packages/display/src/UI.ts:389


findTag ​

▸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Implementation of ​

IArrow.findTag

Inherited from ​

Line.findTag

Defined in ​

ui/packages/display/src/UI.ts:391


findOne ​

▸ findOne(_condition, _options?): IUI

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI

Implementation of ​

IArrow.findOne

Inherited from ​

Line.findOne

Defined in ​

ui/packages/display/src/UI.ts:393


findId ​

▸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Implementation of ​

IArrow.findId

Inherited from ​

Line.findId

Defined in ​

ui/packages/display/src/UI.ts:395


getPath ​

▸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Implementation of ​

IArrow.getPath

Inherited from ​

Line.getPath

Defined in ​

ui/packages/display/src/UI.ts:400


getPathString ​

▸ getPathString(curve?, pathForRender?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

string

Implementation of ​

IArrow.getPathString

Inherited from ​

Line.getPathString

Defined in ​

ui/packages/display/src/UI.ts:407


load ​

▸ load(): void

Returns ​

void

Implementation of ​

IArrow.load

Inherited from ​

Line.load

Defined in ​

ui/packages/display/src/UI.ts:412


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

IArrow.__onUpdateSize

Inherited from ​

Line.__onUpdateSize

Defined in ​

ui/packages/display/src/UI.ts:416


__drawRenderPath ​

▸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IArrow.__drawRenderPath

Inherited from ​

Line.__drawRenderPath

Defined in ​

ui/packages/display/src/UI.ts:431


__drawPath ​

▸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IArrow.__drawPath

Inherited from ​

Line.__drawPath

Defined in ​

ui/packages/display/src/UI.ts:436


__drawPathByData ​

▸ __drawPathByData(drawer, data): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData

Returns ​

void

Implementation of ​

IArrow.__drawPathByData

Inherited from ​

Line.__drawPathByData

Defined in ​

ui/packages/display/src/UI.ts:441


__drawPathByBox ​

▸ __drawPathByBox(drawer): void

Parameters ​

NameType
drawerIPathDrawer

Returns ​

void

Implementation of ​

IArrow.__drawPathByBox

Inherited from ​

Line.__drawPathByBox

Defined in ​

ui/packages/display/src/UI.ts:449


export ​

▸ export(filename, options?): Promise<IExportResult>

Parameters ​

NameType
filenamestring
options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Implementation of ​

IArrow.export

Inherited from ​

Line.export

Defined in ​

ui/packages/display/src/UI.ts:462


clone ​

▸ clone(): IUI

Returns ​

IUI

Implementation of ​

IArrow.clone

Inherited from ​

Line.clone

Defined in ​

ui/packages/display/src/UI.ts:466


one ​

▸ one(data, x?, y?, width?, height?): IUI

Parameters ​

NameType
dataIUIInputData
x?number
y?number
width?number
height?number

Returns ​

IUI

Inherited from ​

Line.one

Defined in ​

ui/packages/display/src/UI.ts:470


registerUI ​

▸ registerUI(): void

Returns ​

void

Inherited from ​

Line.registerUI

Defined in ​

ui/packages/display/src/UI.ts:474


registerData ​

▸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

Line.registerData

Defined in ​

ui/packages/display/src/UI.ts:478


setEditConfig ​

▸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

Line.setEditConfig

Defined in ​

ui/packages/display/src/UI.ts:485


setEditOuter ​

▸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Line.setEditOuter

Defined in ​

ui/packages/display/src/UI.ts:487


setEditInner ​

▸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Line.setEditInner

Defined in ​

ui/packages/display/src/UI.ts:489


destroy ​

▸ destroy(): void

Returns ​

void

Implementation of ​

IArrow.destroy

Inherited from ​

Line.destroy

Defined in ​

ui/packages/display/src/UI.ts:492

Released under the MIT License.