Skip to content

Class: Line โ€‹

Hierarchy โ€‹

  • UI

    โ†ณ Line

    โ†ณโ†ณ Arrow

Implements โ€‹

Table of contents โ€‹

Constructors โ€‹

Properties โ€‹

Accessors โ€‹

Methods โ€‹

Constructors โ€‹

constructor โ€‹

โ€ข new Line(data?): Line

Parameters โ€‹

NameType
data?ILineInputData

Returns โ€‹

Line

Overrides โ€‹

UI.constructor

Defined in โ€‹

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

Properties โ€‹

innerId โ€‹

โ€ข Readonly innerId: number

Implementation of โ€‹

ILine.innerId

Inherited from โ€‹

UI.innerId

Defined in โ€‹

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


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Implementation of โ€‹

ILine.syncEventer

Inherited from โ€‹

UI.syncEventer

Defined in โ€‹

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


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Implementation of โ€‹

ILine.lockNormalStyle

Inherited from โ€‹

UI.lockNormalStyle

Defined in โ€‹

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


__layout โ€‹

โ€ข __layout: ILeafLayout

Implementation of โ€‹

ILine.__layout

Inherited from โ€‹

UI.__layout

Defined in โ€‹

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


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Implementation of โ€‹

ILine.__world

Inherited from โ€‹

UI.__world

Defined in โ€‹

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


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Implementation of โ€‹

ILine.__local

Inherited from โ€‹

UI.__local

Defined in โ€‹

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


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

ILine.__nowWorld

Inherited from โ€‹

UI.__nowWorld

Defined in โ€‹

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


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

ILine.__cameraWorld

Inherited from โ€‹

UI.__cameraWorld

Defined in โ€‹

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


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Implementation of โ€‹

ILine.__worldOpacity

Inherited from โ€‹

UI.__worldOpacity

Defined in โ€‹

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


__level โ€‹

โ€ข __level: number

Implementation of โ€‹

ILine.__level

Inherited from โ€‹

UI.__level

Defined in โ€‹

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


__tempNumber โ€‹

โ€ข __tempNumber: number

Implementation of โ€‹

ILine.__tempNumber

Inherited from โ€‹

UI.__tempNumber

Defined in โ€‹

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


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Implementation of โ€‹

ILine.__hasAutoLayout

Inherited from โ€‹

UI.__hasAutoLayout

Defined in โ€‹

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


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Implementation of โ€‹

ILine.__hasMask

Inherited from โ€‹

UI.__hasMask

Defined in โ€‹

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


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Implementation of โ€‹

ILine.__hasEraser

Inherited from โ€‹

UI.__hasEraser

Defined in โ€‹

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


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Implementation of โ€‹

ILine.__hitCanvas

Inherited from โ€‹

UI.__hitCanvas

Defined in โ€‹

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


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Implementation of โ€‹

ILine.__captureMap

Inherited from โ€‹

UI.__captureMap

Defined in โ€‹

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


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Implementation of โ€‹

ILine.__bubbleMap

Inherited from โ€‹

UI.__bubbleMap

Defined in โ€‹

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


noBounds โ€‹

โ€ข Optional noBounds: boolean

Implementation of โ€‹

ILine.noBounds

Inherited from โ€‹

UI.noBounds

Defined in โ€‹

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


destroyed โ€‹

โ€ข destroyed: boolean

Implementation of โ€‹

ILine.destroyed

Inherited from โ€‹

UI.destroyed

Defined in โ€‹

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


__ โ€‹

โ€ข __: ILineData

Implementation of โ€‹

ILine.__

Overrides โ€‹

UI.__

Defined in โ€‹

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


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Implementation of โ€‹

ILine.strokeAlign

Overrides โ€‹

UI.strokeAlign

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Implementation of โ€‹

ILine.height

Overrides โ€‹

UI.height

Defined in โ€‹

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


points โ€‹

โ€ข Optional points: number[] | IPointData[]

Implementation of โ€‹

ILine.points

Defined in โ€‹

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


curve โ€‹

โ€ข Optional curve: number | boolean

Implementation of โ€‹

ILine.curve

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Implementation of โ€‹

ILine.closed

Overrides โ€‹

UI.closed

Defined in โ€‹

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


proxyData โ€‹

โ€ข Optional proxyData: IUIInputData

Implementation of โ€‹

ILine.proxyData

Inherited from โ€‹

UI.proxyData

Defined in โ€‹

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


__proxyData โ€‹

โ€ข Optional __proxyData: IUIInputData

Implementation of โ€‹

ILine.__proxyData

Inherited from โ€‹

UI.__proxyData

Defined in โ€‹

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


leafer โ€‹

โ€ข Optional leafer: ILeafer

Implementation of โ€‹

ILine.leafer

Inherited from โ€‹

UI.leafer

Defined in โ€‹

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


parent โ€‹

โ€ข Optional parent: IGroup

Implementation of โ€‹

ILine.parent

Inherited from โ€‹

UI.parent

Defined in โ€‹

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


zoomLayer โ€‹

โ€ข zoomLayer: IGroup

Implementation of โ€‹

ILine.zoomLayer

Inherited from โ€‹

UI.zoomLayer

Defined in โ€‹

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


children โ€‹

โ€ข Optional children: IUI[]

Implementation of โ€‹

ILine.children

Inherited from โ€‹

UI.children

Defined in โ€‹

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


id โ€‹

โ€ข Optional id: string

Implementation of โ€‹

ILine.id

Inherited from โ€‹

UI.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Implementation of โ€‹

ILine.name

Inherited from โ€‹

UI.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Implementation of โ€‹

ILine.className

Inherited from โ€‹

UI.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Implementation of โ€‹

ILine.blendMode

Inherited from โ€‹

UI.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Implementation of โ€‹

ILine.opacity

Inherited from โ€‹

UI.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Implementation of โ€‹

ILine.visible

Inherited from โ€‹

UI.visible

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Implementation of โ€‹

ILine.locked

Inherited from โ€‹

UI.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Implementation of โ€‹

ILine.zIndex

Inherited from โ€‹

UI.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Implementation of โ€‹

ILine.mask

Inherited from โ€‹

UI.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Implementation of โ€‹

ILine.eraser

Inherited from โ€‹

UI.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Implementation of โ€‹

ILine.x

Inherited from โ€‹

UI.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Implementation of โ€‹

ILine.y

Inherited from โ€‹

UI.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Implementation of โ€‹

ILine.width

Inherited from โ€‹

UI.width

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Implementation of โ€‹

ILine.scaleX

Inherited from โ€‹

UI.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Implementation of โ€‹

ILine.scaleY

Inherited from โ€‹

UI.scaleY

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Implementation of โ€‹

ILine.rotation

Inherited from โ€‹

UI.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Implementation of โ€‹

ILine.skewX

Inherited from โ€‹

UI.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Implementation of โ€‹

ILine.skewY

Inherited from โ€‹

UI.skewY

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Implementation of โ€‹

ILine.offsetX

Inherited from โ€‹

UI.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Implementation of โ€‹

ILine.offsetY

Inherited from โ€‹

UI.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Implementation of โ€‹

ILine.scrollX

Inherited from โ€‹

UI.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Implementation of โ€‹

ILine.scrollY

Inherited from โ€‹

UI.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Implementation of โ€‹

ILine.origin

Inherited from โ€‹

UI.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Implementation of โ€‹

ILine.around

Inherited from โ€‹

UI.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Implementation of โ€‹

ILine.lazy

Inherited from โ€‹

UI.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Implementation of โ€‹

ILine.pixelRatio

Inherited from โ€‹

UI.pixelRatio

Defined in โ€‹

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


path โ€‹

โ€ข Optional path: string | IPathCommandData | IPathCommandObject[]

Implementation of โ€‹

ILine.path

Inherited from โ€‹

UI.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Implementation of โ€‹

ILine.windingRule

Inherited from โ€‹

UI.windingRule

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Implementation of โ€‹

ILine.flow

Inherited from โ€‹

UI.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Implementation of โ€‹

ILine.padding

Inherited from โ€‹

UI.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Implementation of โ€‹

ILine.gap

Inherited from โ€‹

UI.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of โ€‹

ILine.flowAlign

Inherited from โ€‹

UI.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Implementation of โ€‹

ILine.flowWrap

Inherited from โ€‹

UI.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Implementation of โ€‹

ILine.itemBox

Inherited from โ€‹

UI.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Implementation of โ€‹

ILine.inFlow

Inherited from โ€‹

UI.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Implementation of โ€‹

ILine.autoWidth

Inherited from โ€‹

UI.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Implementation of โ€‹

ILine.autoHeight

Inherited from โ€‹

UI.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Implementation of โ€‹

ILine.lockRatio

Inherited from โ€‹

UI.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Implementation of โ€‹

ILine.autoBox

Inherited from โ€‹

UI.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Implementation of โ€‹

ILine.widthRange

Inherited from โ€‹

UI.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Implementation of โ€‹

ILine.heightRange

Inherited from โ€‹

UI.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Implementation of โ€‹

ILine.draggable

Inherited from โ€‹

UI.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Implementation of โ€‹

ILine.dragBounds

Inherited from โ€‹

UI.dragBounds

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Implementation of โ€‹

ILine.editable

Inherited from โ€‹

UI.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Implementation of โ€‹

ILine.hittable

Inherited from โ€‹

UI.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Implementation of โ€‹

ILine.hitFill

Inherited from โ€‹

UI.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Implementation of โ€‹

ILine.hitStroke

Inherited from โ€‹

UI.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Implementation of โ€‹

ILine.hitBox

Inherited from โ€‹

UI.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Implementation of โ€‹

ILine.hitChildren

Inherited from โ€‹

UI.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Implementation of โ€‹

ILine.hitSelf

Inherited from โ€‹

UI.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Implementation of โ€‹

ILine.hitRadius

Inherited from โ€‹

UI.hitRadius

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Implementation of โ€‹

ILine.cursor

Inherited from โ€‹

UI.cursor

Defined in โ€‹

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


fill โ€‹

โ€ข Optional fill: IFill

Implementation of โ€‹

ILine.fill

Inherited from โ€‹

UI.fill

Defined in โ€‹

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


stroke โ€‹

โ€ข Optional stroke: IStroke

Implementation of โ€‹

ILine.stroke

Inherited from โ€‹

UI.stroke

Defined in โ€‹

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


strokeWidth โ€‹

โ€ข Optional strokeWidth: string | IFourNumber

Implementation of โ€‹

ILine.strokeWidth

Inherited from โ€‹

UI.strokeWidth

Defined in โ€‹

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


strokeWidthFixed โ€‹

โ€ข Optional strokeWidthFixed: boolean

Implementation of โ€‹

ILine.strokeWidthFixed

Inherited from โ€‹

UI.strokeWidthFixed

Defined in โ€‹

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


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Implementation of โ€‹

ILine.strokeCap

Inherited from โ€‹

UI.strokeCap

Defined in โ€‹

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


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Implementation of โ€‹

ILine.strokeJoin

Inherited from โ€‹

UI.strokeJoin

Defined in โ€‹

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


dashPattern โ€‹

โ€ข Optional dashPattern: string | number[]

Implementation of โ€‹

ILine.dashPattern

Inherited from โ€‹

UI.dashPattern

Defined in โ€‹

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


dashOffset โ€‹

โ€ข Optional dashOffset: number

Implementation of โ€‹

ILine.dashOffset

Inherited from โ€‹

UI.dashOffset

Defined in โ€‹

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


miterLimit โ€‹

โ€ข Optional miterLimit: number

Implementation of โ€‹

ILine.miterLimit

Inherited from โ€‹

UI.miterLimit

Defined in โ€‹

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


startArrow โ€‹

โ€ข Optional startArrow: IArrowType

Implementation of โ€‹

ILine.startArrow

Inherited from โ€‹

UI.startArrow

Defined in โ€‹

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


endArrow โ€‹

โ€ข Optional endArrow: IArrowType

Implementation of โ€‹

ILine.endArrow

Inherited from โ€‹

UI.endArrow

Defined in โ€‹

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


cornerRadius โ€‹

โ€ข Optional cornerRadius: string | IFourNumber

Implementation of โ€‹

ILine.cornerRadius

Inherited from โ€‹

UI.cornerRadius

Defined in โ€‹

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


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Implementation of โ€‹

ILine.cornerSmoothing

Inherited from โ€‹

UI.cornerSmoothing

Defined in โ€‹

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


shadow โ€‹

โ€ข Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of โ€‹

ILine.shadow

Inherited from โ€‹

UI.shadow

Defined in โ€‹

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


innerShadow โ€‹

โ€ข Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of โ€‹

ILine.innerShadow

Inherited from โ€‹

UI.innerShadow

Defined in โ€‹

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


blur โ€‹

โ€ข Optional blur: number | IBlurEffect

Implementation of โ€‹

ILine.blur

Inherited from โ€‹

UI.blur

Defined in โ€‹

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


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number | IBlurEffect

Implementation of โ€‹

ILine.backgroundBlur

Inherited from โ€‹

UI.backgroundBlur

Defined in โ€‹

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


grayscale โ€‹

โ€ข Optional grayscale: number | IGrayscaleEffect

Implementation of โ€‹

ILine.grayscale

Inherited from โ€‹

UI.grayscale

Defined in โ€‹

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


filter โ€‹

โ€ข Optional filter: IObject | IObject[]

Inherited from โ€‹

UI.filter

Defined in โ€‹

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


animation โ€‹

โ€ข Optional animation: IAnimation

Implementation of โ€‹

ILine.animation

Inherited from โ€‹

UI.animation

Defined in โ€‹

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


animationOut โ€‹

โ€ข Optional animationOut: IAnimation

Implementation of โ€‹

ILine.animationOut

Inherited from โ€‹

UI.animationOut

Defined in โ€‹

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


transition โ€‹

โ€ข Optional transition: ITransition

Implementation of โ€‹

ILine.transition

Inherited from โ€‹

UI.transition

Defined in โ€‹

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


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Implementation of โ€‹

ILine.transitionOut

Inherited from โ€‹

UI.transitionOut

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Implementation of โ€‹

ILine.motionPath

Inherited from โ€‹

UI.motionPath

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Implementation of โ€‹

ILine.motion

Inherited from โ€‹

UI.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Implementation of โ€‹

ILine.motionRotation

Inherited from โ€‹

UI.motionRotation

Defined in โ€‹

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


states โ€‹

โ€ข Optional states: IStates

Implementation of โ€‹

ILine.states

Inherited from โ€‹

UI.states

Defined in โ€‹

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


state โ€‹

โ€ข Optional state: string

Implementation of โ€‹

ILine.state

Inherited from โ€‹

UI.state

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Implementation of โ€‹

ILine.selected

Inherited from โ€‹

UI.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Implementation of โ€‹

ILine.disabled

Inherited from โ€‹

UI.disabled

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IUIInputData

Implementation of โ€‹

ILine.normalStyle

Inherited from โ€‹

UI.normalStyle

Defined in โ€‹

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


hoverStyle โ€‹

โ€ข Optional hoverStyle: IUIInputData

Implementation of โ€‹

ILine.hoverStyle

Inherited from โ€‹

UI.hoverStyle

Defined in โ€‹

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


pressStyle โ€‹

โ€ข Optional pressStyle: IUIInputData

Implementation of โ€‹

ILine.pressStyle

Inherited from โ€‹

UI.pressStyle

Defined in โ€‹

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


focusStyle โ€‹

โ€ข Optional focusStyle: IUIInputData

Implementation of โ€‹

ILine.focusStyle

Inherited from โ€‹

UI.focusStyle

Defined in โ€‹

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


selectedStyle โ€‹

โ€ข Optional selectedStyle: IUIInputData

Implementation of โ€‹

ILine.selectedStyle

Inherited from โ€‹

UI.selectedStyle

Defined in โ€‹

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


disabledStyle โ€‹

โ€ข Optional disabledStyle: IUIInputData

Implementation of โ€‹

ILine.disabledStyle

Inherited from โ€‹

UI.disabledStyle

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Implementation of โ€‹

ILine.button

Inherited from โ€‹

UI.button

Defined in โ€‹

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


data โ€‹

โ€ข data: IObject

Implementation of โ€‹

ILine.data

Inherited from โ€‹

UI.data

Defined in โ€‹

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


__animate โ€‹

โ€ข Optional __animate: IAnimate

Implementation of โ€‹

ILine.__animate

Inherited from โ€‹

UI.__animate

Defined in โ€‹

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

Accessors โ€‹

tag โ€‹

โ€ข get tag(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.tag

Inherited from โ€‹

UI.tag

Defined in โ€‹

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

โ€ข set tag(_value): void

Parameters โ€‹

NameType
_valuestring

Returns โ€‹

void

Implementation of โ€‹

ILine.tag

Inherited from โ€‹

UI.tag

Defined in โ€‹

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


innerName โ€‹

โ€ข get innerName(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.innerName

Inherited from โ€‹

UI.innerName

Defined in โ€‹

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


__DataProcessor โ€‹

โ€ข get __DataProcessor(): typeof LeafData

Returns โ€‹

typeof LeafData

Implementation of โ€‹

ILine.__DataProcessor

Inherited from โ€‹

UI.__DataProcessor

Defined in โ€‹

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


__LayoutProcessor โ€‹

โ€ข get __LayoutProcessor(): typeof LeafLayout

Returns โ€‹

typeof LeafLayout

Implementation of โ€‹

ILine.__LayoutProcessor

Inherited from โ€‹

UI.__LayoutProcessor

Defined in โ€‹

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


leaferIsCreated โ€‹

โ€ข get leaferIsCreated(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.leaferIsCreated

Inherited from โ€‹

UI.leaferIsCreated

Defined in โ€‹

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


leaferIsReady โ€‹

โ€ข get leaferIsReady(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.leaferIsReady

Inherited from โ€‹

UI.leaferIsReady

Defined in โ€‹

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


isLeafer โ€‹

โ€ข get isLeafer(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.isLeafer

Inherited from โ€‹

UI.isLeafer

Defined in โ€‹

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


isBranch โ€‹

โ€ข get isBranch(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.isBranch

Inherited from โ€‹

UI.isBranch

Defined in โ€‹

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


isBranchLeaf โ€‹

โ€ข get isBranchLeaf(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.isBranchLeaf

Inherited from โ€‹

UI.isBranchLeaf

Defined in โ€‹

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


__localMatrix โ€‹

โ€ข get __localMatrix(): IMatrixData

Returns โ€‹

IMatrixData

Implementation of โ€‹

ILine.__localMatrix

Inherited from โ€‹

UI.__localMatrix

Defined in โ€‹

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


__localBoxBounds โ€‹

โ€ข get __localBoxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.__localBoxBounds

Inherited from โ€‹

UI.__localBoxBounds

Defined in โ€‹

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


worldTransform โ€‹

โ€ข get worldTransform(): IMatrixWithScaleData

Returns โ€‹

IMatrixWithScaleData

Implementation of โ€‹

ILine.worldTransform

Inherited from โ€‹

UI.worldTransform

Defined in โ€‹

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


localTransform โ€‹

โ€ข get localTransform(): IMatrixData

Returns โ€‹

IMatrixData

Implementation of โ€‹

ILine.localTransform

Inherited from โ€‹

UI.localTransform

Defined in โ€‹

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


boxBounds โ€‹

โ€ข get boxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.boxBounds

Inherited from โ€‹

UI.boxBounds

Defined in โ€‹

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


renderBounds โ€‹

โ€ข get renderBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.renderBounds

Inherited from โ€‹

UI.renderBounds

Defined in โ€‹

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


worldBoxBounds โ€‹

โ€ข get worldBoxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.worldBoxBounds

Inherited from โ€‹

UI.worldBoxBounds

Defined in โ€‹

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


worldStrokeBounds โ€‹

โ€ข get worldStrokeBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.worldStrokeBounds

Inherited from โ€‹

UI.worldStrokeBounds

Defined in โ€‹

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


worldRenderBounds โ€‹

โ€ข get worldRenderBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.worldRenderBounds

Inherited from โ€‹

UI.worldRenderBounds

Defined in โ€‹

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


worldOpacity โ€‹

โ€ข get worldOpacity(): number

Returns โ€‹

number

Implementation of โ€‹

ILine.worldOpacity

Inherited from โ€‹

UI.worldOpacity

Defined in โ€‹

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


__worldFlipped โ€‹

โ€ข get __worldFlipped(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__worldFlipped

Inherited from โ€‹

UI.__worldFlipped

Defined in โ€‹

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


__onlyHitMask โ€‹

โ€ข get __onlyHitMask(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__onlyHitMask

Inherited from โ€‹

UI.__onlyHitMask

Defined in โ€‹

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


__ignoreHitWorld โ€‹

โ€ข get __ignoreHitWorld(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__ignoreHitWorld

Inherited from โ€‹

UI.__ignoreHitWorld

Defined in โ€‹

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


__inLazyBounds โ€‹

โ€ข get __inLazyBounds(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__inLazyBounds

Inherited from โ€‹

UI.__inLazyBounds

Defined in โ€‹

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


pathInputed โ€‹

โ€ข get pathInputed(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.pathInputed

Inherited from โ€‹

UI.pathInputed

Defined in โ€‹

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


event โ€‹

โ€ข set event(map): void

Parameters โ€‹

NameType
mapIEventMap

Returns โ€‹

void

Implementation of โ€‹

ILine.event

Inherited from โ€‹

UI.event

Defined in โ€‹

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


__tag โ€‹

โ€ข get __tag(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.__tag

Overrides โ€‹

UI.__tag

Defined in โ€‹

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


toPoint โ€‹

โ€ข get toPoint(): IPointData

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.toPoint

Defined in โ€‹

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

โ€ข set toPoint(value): void

Parameters โ€‹

NameType
valueIPointData

Returns โ€‹

void

Implementation of โ€‹

ILine.toPoint

Defined in โ€‹

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


app โ€‹

โ€ข get app(): ILeafer

Returns โ€‹

ILeafer

Implementation of โ€‹

ILine.app

Inherited from โ€‹

UI.app

Defined in โ€‹

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


isFrame โ€‹

โ€ข get isFrame(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.isFrame

Inherited from โ€‹

UI.isFrame

Defined in โ€‹

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


scale โ€‹

โ€ข get scale(): number | IPointData

Returns โ€‹

number | IPointData

Implementation of โ€‹

ILine.scale

Inherited from โ€‹

UI.scale

Defined in โ€‹

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

โ€ข set scale(value): void

Parameters โ€‹

NameType
valuenumber | IPointData

Returns โ€‹

void

Implementation of โ€‹

ILine.scale

Inherited from โ€‹

UI.scale

Defined in โ€‹

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


pen โ€‹

โ€ข get pen(): IPathCreator

Returns โ€‹

IPathCreator

Implementation of โ€‹

ILine.pen

Inherited from โ€‹

UI.pen

Defined in โ€‹

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


editConfig โ€‹

โ€ข get editConfig(): IEditorConfig

Returns โ€‹

IEditorConfig

Implementation of โ€‹

ILine.editConfig

Inherited from โ€‹

UI.editConfig

Defined in โ€‹

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


editOuter โ€‹

โ€ข get editOuter(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.editOuter

Inherited from โ€‹

UI.editOuter

Defined in โ€‹

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


editInner โ€‹

โ€ข get editInner(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.editInner

Inherited from โ€‹

UI.editInner

Defined in โ€‹

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

Methods โ€‹

resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.resetCustom

Inherited from โ€‹

UI.resetCustom

Defined in โ€‹

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


waitParent โ€‹

โ–ธ waitParent(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

ILine.waitParent

Inherited from โ€‹

UI.waitParent

Defined in โ€‹

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


waitLeafer โ€‹

โ–ธ waitLeafer(item, bind?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

ILine.waitLeafer

Inherited from โ€‹

UI.waitLeafer

Defined in โ€‹

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


nextRender โ€‹

โ–ธ nextRender(item, bind?, off?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject
off?"off"

Returns โ€‹

void

Implementation of โ€‹

ILine.nextRender

Inherited from โ€‹

UI.nextRender

Defined in โ€‹

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


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Implementation of โ€‹

ILine.removeNextRender

Inherited from โ€‹

UI.removeNextRender

Defined in โ€‹

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


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Implementation of โ€‹

ILine.__bindLeafer

Inherited from โ€‹

UI.__bindLeafer

Defined in โ€‹

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


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Implementation of โ€‹

ILine.setAttr

Inherited from โ€‹

UI.setAttr

Defined in โ€‹

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


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

ILine.getAttr

Inherited from โ€‹

UI.getAttr

Defined in โ€‹

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


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

ILine.getComputedAttr

Inherited from โ€‹

UI.getComputedAttr

Defined in โ€‹

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


toJSON โ€‹

โ–ธ toJSON(options?): IObject

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IObject

Implementation of โ€‹

ILine.toJSON

Inherited from โ€‹

UI.toJSON

Defined in โ€‹

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


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Implementation of โ€‹

ILine.toString

Inherited from โ€‹

UI.toString

Defined in โ€‹

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


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.toSVG

Inherited from โ€‹

UI.toSVG

Defined in โ€‹

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


__SVG โ€‹

โ–ธ __SVG(_data): void

Parameters โ€‹

NameType
_dataIObject

Returns โ€‹

void

Implementation of โ€‹

ILine.__SVG

Inherited from โ€‹

UI.__SVG

Defined in โ€‹

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


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Implementation of โ€‹

ILine.toHTML

Inherited from โ€‹

UI.toHTML

Defined in โ€‹

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


__setAttr โ€‹

โ–ธ __setAttr(_attrName, _newValue): boolean

Parameters โ€‹

NameType
_attrNamestring
_newValueIValue

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__setAttr

Inherited from โ€‹

UI.__setAttr

Defined in โ€‹

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


__getAttr โ€‹

โ–ธ __getAttr(_attrName): IValue

Parameters โ€‹

NameType
_attrNamestring

Returns โ€‹

IValue

Implementation of โ€‹

ILine.__getAttr

Inherited from โ€‹

UI.__getAttr

Defined in โ€‹

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


setProxyAttr โ€‹

โ–ธ setProxyAttr(_attrName, _newValue): void

Parameters โ€‹

NameType
_attrNamestring
_newValueIValue

Returns โ€‹

void

Implementation of โ€‹

ILine.setProxyAttr

Inherited from โ€‹

UI.setProxyAttr

Defined in โ€‹

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


getProxyAttr โ€‹

โ–ธ getProxyAttr(_attrName): IValue

Parameters โ€‹

NameType
_attrNamestring

Returns โ€‹

IValue

Implementation of โ€‹

ILine.getProxyAttr

Inherited from โ€‹

UI.getProxyAttr

Defined in โ€‹

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


focus โ€‹

โ–ธ focus(_value?): void

Parameters โ€‹

NameType
_value?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.focus

Inherited from โ€‹

UI.focus

Defined in โ€‹

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


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.updateState

Inherited from โ€‹

UI.updateState

Defined in โ€‹

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


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.updateLayout

Inherited from โ€‹

UI.updateLayout

Defined in โ€‹

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


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Implementation of โ€‹

ILine.forceUpdate

Inherited from โ€‹

UI.forceUpdate

Defined in โ€‹

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


forceRender โ€‹

โ–ธ forceRender(_bounds?): void

Parameters โ€‹

NameType
_bounds?IBoundsData

Returns โ€‹

void

Implementation of โ€‹

ILine.forceRender

Inherited from โ€‹

UI.forceRender

Defined in โ€‹

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


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateWorldMatrix

Inherited from โ€‹

UI.__updateWorldMatrix

Defined in โ€‹

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


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateLocalMatrix

Inherited from โ€‹

UI.__updateLocalMatrix

Defined in โ€‹

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


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateWorldBounds

Inherited from โ€‹

UI.__updateWorldBounds

Defined in โ€‹

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


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateLocalBounds

Inherited from โ€‹

UI.__updateLocalBounds

Defined in โ€‹

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


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateLocalBoxBounds

Inherited from โ€‹

UI.__updateLocalBoxBounds

Defined in โ€‹

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


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateLocalStrokeBounds

Inherited from โ€‹

UI.__updateLocalStrokeBounds

Defined in โ€‹

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


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateLocalRenderBounds

Inherited from โ€‹

UI.__updateLocalRenderBounds

Defined in โ€‹

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


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateContentBounds

Inherited from โ€‹

UI.__updateContentBounds

Defined in โ€‹

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


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateStrokeBounds

Inherited from โ€‹

UI.__updateStrokeBounds

Defined in โ€‹

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


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateRenderBounds

Inherited from โ€‹

UI.__updateRenderBounds

Defined in โ€‹

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


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateAutoLayout

Inherited from โ€‹

UI.__updateAutoLayout

Defined in โ€‹

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


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateFlowLayout

Inherited from โ€‹

UI.__updateFlowLayout

Defined in โ€‹

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


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateNaturalSize

Inherited from โ€‹

UI.__updateNaturalSize

Defined in โ€‹

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


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Implementation of โ€‹

ILine.__updateStrokeSpread

Inherited from โ€‹

UI.__updateStrokeSpread

Defined in โ€‹

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


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Implementation of โ€‹

ILine.__updateRenderSpread

Inherited from โ€‹

UI.__updateRenderSpread

Defined in โ€‹

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


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateEraser

Inherited from โ€‹

UI.__updateEraser

Defined in โ€‹

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


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

ILine.__renderEraser

Inherited from โ€‹

UI.__renderEraser

Defined in โ€‹

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


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateMask

Inherited from โ€‹

UI.__updateMask

Defined in โ€‹

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


__renderMask โ€‹

โ–ธ __renderMask(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

ILine.__renderMask

Inherited from โ€‹

UI.__renderMask

Defined in โ€‹

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


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Implementation of โ€‹

ILine.__getNowWorld

Inherited from โ€‹

UI.__getNowWorld

Defined in โ€‹

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


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Implementation of โ€‹

ILine.getTransform

Inherited from โ€‹

UI.getTransform

Defined in โ€‹

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


getBounds โ€‹

โ–ธ getBounds(type?, relative?): IBoundsData

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.getBounds

Inherited from โ€‹

UI.getBounds

Defined in โ€‹

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


getLayoutBounds โ€‹

โ–ธ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters โ€‹

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

Returns โ€‹

ILayoutBoundsData

Implementation of โ€‹

ILine.getLayoutBounds

Inherited from โ€‹

UI.getLayoutBounds

Defined in โ€‹

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


getLayoutPoints โ€‹

โ–ธ getLayoutPoints(type?, relative?): IPointData[]

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IPointData[]

Implementation of โ€‹

ILine.getLayoutPoints

Inherited from โ€‹

UI.getLayoutPoints

Defined in โ€‹

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


getWorldBounds โ€‹

โ–ธ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters โ€‹

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns โ€‹

IBoundsData

Implementation of โ€‹

ILine.getWorldBounds

Inherited from โ€‹

UI.getWorldBounds

Defined in โ€‹

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


worldToLocal โ€‹

โ–ธ worldToLocal(world, to?, distance?, relative?): void

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

ILine.worldToLocal

Inherited from โ€‹

UI.worldToLocal

Defined in โ€‹

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


localToWorld โ€‹

โ–ธ localToWorld(local, to?, distance?, relative?): void

Parameters โ€‹

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

ILine.localToWorld

Inherited from โ€‹

UI.localToWorld

Defined in โ€‹

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


worldToInner โ€‹

โ–ธ worldToInner(world, to?, distance?, relative?): void

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

ILine.worldToInner

Inherited from โ€‹

UI.worldToInner

Defined in โ€‹

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


innerToWorld โ€‹

โ–ธ innerToWorld(inner, to?, distance?, relative?): void

Parameters โ€‹

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

ILine.innerToWorld

Inherited from โ€‹

UI.innerToWorld

Defined in โ€‹

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


getBoxPoint โ€‹

โ–ธ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getBoxPoint

Inherited from โ€‹

UI.getBoxPoint

Defined in โ€‹

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


getBoxPointByInner โ€‹

โ–ธ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getBoxPointByInner

Inherited from โ€‹

UI.getBoxPointByInner

Defined in โ€‹

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


getInnerPoint โ€‹

โ–ธ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getInnerPoint

Inherited from โ€‹

UI.getInnerPoint

Defined in โ€‹

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


getInnerPointByBox โ€‹

โ–ธ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters โ€‹

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getInnerPointByBox

Inherited from โ€‹

UI.getInnerPointByBox

Defined in โ€‹

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


getInnerPointByLocal โ€‹

โ–ธ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getInnerPointByLocal

Inherited from โ€‹

UI.getInnerPointByLocal

Defined in โ€‹

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


getLocalPoint โ€‹

โ–ธ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getLocalPoint

Inherited from โ€‹

UI.getLocalPoint

Defined in โ€‹

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


getLocalPointByInner โ€‹

โ–ธ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getLocalPointByInner

Inherited from โ€‹

UI.getLocalPointByInner

Defined in โ€‹

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


getPagePoint โ€‹

โ–ธ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getPagePoint

Inherited from โ€‹

UI.getPagePoint

Defined in โ€‹

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


getWorldPoint โ€‹

โ–ธ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getWorldPoint

Inherited from โ€‹

UI.getWorldPoint

Defined in โ€‹

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


getWorldPointByBox โ€‹

โ–ธ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getWorldPointByBox

Inherited from โ€‹

UI.getWorldPointByBox

Defined in โ€‹

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


getWorldPointByLocal โ€‹

โ–ธ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getWorldPointByLocal

Inherited from โ€‹

UI.getWorldPointByLocal

Defined in โ€‹

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


getWorldPointByPage โ€‹

โ–ธ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

ILine.getWorldPointByPage

Inherited from โ€‹

UI.getWorldPointByPage

Defined in โ€‹

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


setTransform โ€‹

โ–ธ setTransform(matrix, resize?): void

Parameters โ€‹

NameType
matrixIMatrixData
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.setTransform

Inherited from โ€‹

UI.setTransform

Defined in โ€‹

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


transform โ€‹

โ–ธ transform(matrix, resize?): void

Parameters โ€‹

NameType
matrixIMatrixData
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.transform

Inherited from โ€‹

UI.transform

Defined in โ€‹

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


move โ€‹

โ–ธ move(x, y?): void

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Implementation of โ€‹

ILine.move

Inherited from โ€‹

UI.move

Defined in โ€‹

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


moveInner โ€‹

โ–ธ moveInner(x, y?): void

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Implementation of โ€‹

ILine.moveInner

Inherited from โ€‹

UI.moveInner

Defined in โ€‹

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


scaleOf โ€‹

โ–ธ scaleOf(origin, scaleX, scaleY?, resize?): void

Parameters โ€‹

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.scaleOf

Inherited from โ€‹

UI.scaleOf

Defined in โ€‹

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


rotateOf โ€‹

โ–ธ rotateOf(origin, rotation): void

Parameters โ€‹

NameType
originIPointData | IDirection
rotationnumber

Returns โ€‹

void

Implementation of โ€‹

ILine.rotateOf

Inherited from โ€‹

UI.rotateOf

Defined in โ€‹

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


skewOf โ€‹

โ–ธ skewOf(origin, skewX, skewY?, resize?): void

Parameters โ€‹

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.skewOf

Inherited from โ€‹

UI.skewOf

Defined in โ€‹

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


transformWorld โ€‹

โ–ธ transformWorld(worldTransform?, resize?): void

Parameters โ€‹

NameType
worldTransform?IMatrixData
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.transformWorld

Inherited from โ€‹

UI.transformWorld

Defined in โ€‹

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


moveWorld โ€‹

โ–ธ moveWorld(x, y?): void

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Implementation of โ€‹

ILine.moveWorld

Inherited from โ€‹

UI.moveWorld

Defined in โ€‹

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


scaleOfWorld โ€‹

โ–ธ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?): void

Parameters โ€‹

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.scaleOfWorld

Inherited from โ€‹

UI.scaleOfWorld

Defined in โ€‹

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


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Implementation of โ€‹

ILine.rotateOfWorld

Inherited from โ€‹

UI.rotateOfWorld

Defined in โ€‹

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


skewOfWorld โ€‹

โ–ธ skewOfWorld(worldOrigin, skewX, skewY?, resize?): void

Parameters โ€‹

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.skewOfWorld

Inherited from โ€‹

UI.skewOfWorld

Defined in โ€‹

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


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Implementation of โ€‹

ILine.flip

Inherited from โ€‹

UI.flip

Defined in โ€‹

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


scaleResize โ€‹

โ–ธ scaleResize(scaleX, scaleY?, _noResize?): void

Parameters โ€‹

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns โ€‹

void

Implementation of โ€‹

ILine.scaleResize

Inherited from โ€‹

UI.scaleResize

Defined in โ€‹

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


__scaleResize โ€‹

โ–ธ __scaleResize(_scaleX, _scaleY): void

Parameters โ€‹

NameType
_scaleXnumber
_scaleYnumber

Returns โ€‹

void

Implementation of โ€‹

ILine.__scaleResize

Inherited from โ€‹

UI.__scaleResize

Defined in โ€‹

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


resizeWidth โ€‹

โ–ธ resizeWidth(_width): void

Parameters โ€‹

NameType
_widthnumber

Returns โ€‹

void

Implementation of โ€‹

ILine.resizeWidth

Inherited from โ€‹

UI.resizeWidth

Defined in โ€‹

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


resizeHeight โ€‹

โ–ธ resizeHeight(_height): void

Parameters โ€‹

NameType
_heightnumber

Returns โ€‹

void

Implementation of โ€‹

ILine.resizeHeight

Inherited from โ€‹

UI.resizeHeight

Defined in โ€‹

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


__hitWorld โ€‹

โ–ธ __hitWorld(_point): boolean

Parameters โ€‹

NameType
_pointIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__hitWorld

Inherited from โ€‹

UI.__hitWorld

Defined in โ€‹

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


__hit โ€‹

โ–ธ __hit(_local): boolean

Parameters โ€‹

NameType
_localIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__hit

Inherited from โ€‹

UI.__hit

Defined in โ€‹

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


__hitFill โ€‹

โ–ธ __hitFill(_inner): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__hitFill

Inherited from โ€‹

UI.__hitFill

Defined in โ€‹

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


__hitStroke โ€‹

โ–ธ __hitStroke(_inner, _strokeWidth): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__hitStroke

Inherited from โ€‹

UI.__hitStroke

Defined in โ€‹

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


__hitPixel โ€‹

โ–ธ __hitPixel(_inner): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

ILine.__hitPixel

Inherited from โ€‹

UI.__hitPixel

Defined in โ€‹

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


__drawHitPath โ€‹

โ–ธ __drawHitPath(_canvas): void

Parameters โ€‹

NameType
_canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

ILine.__drawHitPath

Inherited from โ€‹

UI.__drawHitPath

Defined in โ€‹

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


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateHitCanvas

Inherited from โ€‹

UI.__updateHitCanvas

Defined in โ€‹

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


__render โ€‹

โ–ธ __render(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

ILine.__render

Inherited from โ€‹

UI.__render

Defined in โ€‹

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


__drawFast โ€‹

โ–ธ __drawFast(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

ILine.__drawFast

Inherited from โ€‹

UI.__drawFast

Defined in โ€‹

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


__draw โ€‹

โ–ธ __draw(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

ILine.__draw

Inherited from โ€‹

UI.__draw

Defined in โ€‹

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


__clip โ€‹

โ–ธ __clip(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

ILine.__clip

Inherited from โ€‹

UI.__clip

Defined in โ€‹

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


__renderShape โ€‹

โ–ธ __renderShape(_canvas, _options, _ignoreFill?, _ignoreStroke?): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_ignoreFill?boolean
_ignoreStroke?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.__renderShape

Inherited from โ€‹

UI.__renderShape

Defined in โ€‹

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


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateWorldOpacity

Inherited from โ€‹

UI.__updateWorldOpacity

Defined in โ€‹

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


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateChange

Inherited from โ€‹

UI.__updateChange

Defined in โ€‹

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


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Implementation of โ€‹

ILine.getMotionPathData

Inherited from โ€‹

UI.getMotionPathData

Defined in โ€‹

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


getMotionPoint โ€‹

โ–ธ getMotionPoint(_motionDistance): IRotationPointData

Parameters โ€‹

NameType
_motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Implementation of โ€‹

ILine.getMotionPoint

Inherited from โ€‹

UI.getMotionPoint

Defined in โ€‹

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


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Implementation of โ€‹

ILine.getMotionTotal

Inherited from โ€‹

UI.getMotionTotal

Defined in โ€‹

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


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateMotionPath

Inherited from โ€‹

UI.__updateMotionPath

Defined in โ€‹

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


__runAnimation โ€‹

โ–ธ __runAnimation(_type, _complete?): void

Parameters โ€‹

NameType
_type"in" | "out"
_complete?IFunction

Returns โ€‹

void

Implementation of โ€‹

ILine.__runAnimation

Inherited from โ€‹

UI.__runAnimation

Defined in โ€‹

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


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateSortChildren

Inherited from โ€‹

UI.__updateSortChildren

Defined in โ€‹

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


add โ€‹

โ–ธ add(_child, _index?): void

Parameters โ€‹

NameType
_childILeaf | ILeafInputData | ILeaf[] | ILeafInputData[]
_index?number

Returns โ€‹

void

Implementation of โ€‹

ILine.add

Inherited from โ€‹

UI.add

Defined in โ€‹

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


remove โ€‹

โ–ธ remove(_child?, destroy?): void

Parameters โ€‹

NameType
_child?string | number | ILeaf | IFindMethod
destroy?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.remove

Inherited from โ€‹

UI.remove

Defined in โ€‹

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


dropTo โ€‹

โ–ธ dropTo(parent, index?, resize?): void

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.dropTo

Inherited from โ€‹

UI.dropTo

Defined in โ€‹

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


on โ€‹

โ–ธ on(_type, _listener?, _options?): void

Parameters โ€‹

NameType
_typestring | string[] | IEventMap
_listener?IFunction
_options?IEventOption

Returns โ€‹

void

Implementation of โ€‹

ILine.on

Inherited from โ€‹

UI.on

Defined in โ€‹

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


off โ€‹

โ–ธ off(_type?, _listener?, _options?): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

ILine.off

Inherited from โ€‹

UI.off

Defined in โ€‹

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


on_ โ€‹

โ–ธ on_(_type, _listener, _bind?, _options?): IEventListenerId

Parameters โ€‹

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

Returns โ€‹

IEventListenerId

Implementation of โ€‹

ILine.on_

Inherited from โ€‹

UI.on_

Defined in โ€‹

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


off_ โ€‹

โ–ธ off_(_id): void

Parameters โ€‹

NameType
_idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Implementation of โ€‹

ILine.off_

Inherited from โ€‹

UI.off_

Defined in โ€‹

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


once โ€‹

โ–ธ once(_type, _listener, _capture?): void

Parameters โ€‹

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.once

Inherited from โ€‹

UI.once

Defined in โ€‹

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


emit โ€‹

โ–ธ emit(_type, _event?, _capture?): void

Parameters โ€‹

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.emit

Inherited from โ€‹

UI.emit

Defined in โ€‹

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


emitEvent โ€‹

โ–ธ emitEvent(_event?, _capture?): void

Parameters โ€‹

NameType
_event?IEvent
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.emitEvent

Inherited from โ€‹

UI.emitEvent

Defined in โ€‹

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


hasEvent โ€‹

โ–ธ hasEvent(_type, _capture?): boolean

Parameters โ€‹

NameType
_typestring
_capture?boolean

Returns โ€‹

boolean

Implementation of โ€‹

ILine.hasEvent

Inherited from โ€‹

UI.hasEvent

Defined in โ€‹

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


changeAttr โ€‹

โ–ธ changeAttr(attrName, defaultValue, fn?): void

Parameters โ€‹

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns โ€‹

void

Inherited from โ€‹

UI.changeAttr

Defined in โ€‹

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


addAttr โ€‹

โ–ธ addAttr(attrName, defaultValue, fn?): void

Parameters โ€‹

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns โ€‹

void

Inherited from โ€‹

UI.addAttr

Defined in โ€‹

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


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Implementation of โ€‹

ILine.__emitLifeEvent

Inherited from โ€‹

UI.__emitLifeEvent

Defined in โ€‹

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


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updatePath

Overrides โ€‹

UI.__updatePath

Defined in โ€‹

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


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateRenderPath

Overrides โ€‹

UI.__updateRenderPath

Defined in โ€‹

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


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__updateBoxBounds

Overrides โ€‹

UI.__updateBoxBounds

Defined in โ€‹

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


reset โ€‹

โ–ธ reset(_data?): void

Parameters โ€‹

NameType
_data?IUIInputData

Returns โ€‹

void

Implementation of โ€‹

ILine.reset

Inherited from โ€‹

UI.reset

Defined in โ€‹

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


set โ€‹

โ–ธ set(data, isTemp?): void

Parameters โ€‹

NameType
dataIUIInputData
isTemp?boolean

Returns โ€‹

void

Implementation of โ€‹

ILine.set

Inherited from โ€‹

UI.set

Defined in โ€‹

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


get โ€‹

โ–ธ get(name?): IValue | IUIInputData

Parameters โ€‹

NameType
name?string | string[] | IUIInputData

Returns โ€‹

IValue | IUIInputData

Implementation of โ€‹

ILine.get

Inherited from โ€‹

UI.get

Defined in โ€‹

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


createProxyData โ€‹

โ–ธ createProxyData(): IUIInputData

Returns โ€‹

IUIInputData

Implementation of โ€‹

ILine.createProxyData

Inherited from โ€‹

UI.createProxyData

Defined in โ€‹

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


find โ€‹

โ–ธ find(_condition, _options?): IUI[]

Parameters โ€‹

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns โ€‹

IUI[]

Implementation of โ€‹

ILine.find

Inherited from โ€‹

UI.find

Defined in โ€‹

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


findTag โ€‹

โ–ธ findTag(tag): IUI[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

IUI[]

Implementation of โ€‹

ILine.findTag

Inherited from โ€‹

UI.findTag

Defined in โ€‹

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


findOne โ€‹

โ–ธ findOne(_condition, _options?): IUI

Parameters โ€‹

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns โ€‹

IUI

Implementation of โ€‹

ILine.findOne

Inherited from โ€‹

UI.findOne

Defined in โ€‹

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


findId โ€‹

โ–ธ findId(id): IUI

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

IUI

Implementation of โ€‹

ILine.findId

Inherited from โ€‹

UI.findId

Defined in โ€‹

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


getPath โ€‹

โ–ธ getPath(curve?, pathForRender?): IPathCommandData

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

IPathCommandData

Implementation of โ€‹

ILine.getPath

Inherited from โ€‹

UI.getPath

Defined in โ€‹

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


getPathString โ€‹

โ–ธ getPathString(curve?, pathForRender?, floatLength?): string

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns โ€‹

string

Implementation of โ€‹

ILine.getPathString

Inherited from โ€‹

UI.getPathString

Defined in โ€‹

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


load โ€‹

โ–ธ load(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.load

Inherited from โ€‹

UI.load

Defined in โ€‹

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


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.__onUpdateSize

Inherited from โ€‹

UI.__onUpdateSize

Defined in โ€‹

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


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

ILine.__drawRenderPath

Inherited from โ€‹

UI.__drawRenderPath

Defined in โ€‹

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


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

ILine.__drawPath

Inherited from โ€‹

UI.__drawPath

Defined in โ€‹

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


__drawPathByData โ€‹

โ–ธ __drawPathByData(drawer, data): void

Parameters โ€‹

NameType
drawerIPathDrawer
dataIPathCommandData

Returns โ€‹

void

Implementation of โ€‹

ILine.__drawPathByData

Inherited from โ€‹

UI.__drawPathByData

Defined in โ€‹

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


__drawPathByBox โ€‹

โ–ธ __drawPathByBox(drawer): void

Parameters โ€‹

NameType
drawerIPathDrawer

Returns โ€‹

void

Implementation of โ€‹

ILine.__drawPathByBox

Inherited from โ€‹

UI.__drawPathByBox

Defined in โ€‹

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


animate โ€‹

โ–ธ animate(_keyframe?, _options?, _type?, _isTemp?): IAnimate

Parameters โ€‹

NameType
_keyframe?IAnimation | IUIInputData | IKeyframe[]
_options?ITransition
_type?IAnimateType
_isTemp?boolean

Returns โ€‹

IAnimate

Implementation of โ€‹

ILine.animate

Inherited from โ€‹

UI.animate

Defined in โ€‹

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


killAnimate โ€‹

โ–ธ killAnimate(_type?): void

Parameters โ€‹

NameType
_type?IAnimateType

Returns โ€‹

void

Implementation of โ€‹

ILine.killAnimate

Inherited from โ€‹

UI.killAnimate

Defined in โ€‹

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


export โ€‹

โ–ธ export(filename, options?): Promise<IExportResult>

Parameters โ€‹

NameType
filenamestring
options?number | boolean | IExportOptions

Returns โ€‹

Promise<IExportResult>

Implementation of โ€‹

ILine.export

Inherited from โ€‹

UI.export

Defined in โ€‹

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


clone โ€‹

โ–ธ clone(data?): IUI

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

IUI

Implementation of โ€‹

ILine.clone

Inherited from โ€‹

UI.clone

Defined in โ€‹

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


one โ€‹

โ–ธ one(data, x?, y?, width?, height?): IUI

Parameters โ€‹

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

Returns โ€‹

IUI

Inherited from โ€‹

UI.one

Defined in โ€‹

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


registerUI โ€‹

โ–ธ registerUI(): void

Returns โ€‹

void

Inherited from โ€‹

UI.registerUI

Defined in โ€‹

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


registerData โ€‹

โ–ธ registerData(data): void

Parameters โ€‹

NameType
dataIUIData

Returns โ€‹

void

Inherited from โ€‹

UI.registerData

Defined in โ€‹

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


setEditConfig โ€‹

โ–ธ setEditConfig(_config): void

Parameters โ€‹

NameType
_configIEditorConfig | IEditorConfigFunction

Returns โ€‹

void

Inherited from โ€‹

UI.setEditConfig

Defined in โ€‹

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


setEditOuter โ€‹

โ–ธ setEditOuter(_toolName): void

Parameters โ€‹

NameType
_toolNamestring | IEditToolFunction

Returns โ€‹

void

Inherited from โ€‹

UI.setEditOuter

Defined in โ€‹

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


setEditInner โ€‹

โ–ธ setEditInner(_editorName): void

Parameters โ€‹

NameType
_editorNamestring | IEditToolFunction

Returns โ€‹

void

Inherited from โ€‹

UI.setEditInner

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Implementation of โ€‹

ILine.destroy

Inherited from โ€‹

UI.destroy

Defined in โ€‹

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

Released under the MIT License.