Skip to content

Class: Path<TInputData> ​

Type parameters ​

NameType
TInputDataIPathInputData

Hierarchy ​

  • UI<TInputData>

    ↳ Path

Implements ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

• new Path<TInputData>(data?): Path<TInputData>

Type parameters ​

NameType
TInputDataIPathInputData

Parameters ​

NameType
data?TInputData

Returns ​

Path<TInputData>

Inherited from ​

UI.constructor

Defined in ​

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

Properties ​

innerId ​

• Readonly innerId: number

Implementation of ​

IPath.innerId

Inherited from ​

UI.innerId

Defined in ​

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


skipJSON ​

• Optional skipJSON: boolean

Implementation of ​

IPath.skipJSON

Inherited from ​

UI.skipJSON

Defined in ​

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


syncEventer ​

• Optional syncEventer: ILeaf

Implementation of ​

IPath.syncEventer

Inherited from ​

UI.syncEventer

Defined in ​

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


lockNormalStyle ​

• Optional lockNormalStyle: boolean

Implementation of ​

IPath.lockNormalStyle

Inherited from ​

UI.lockNormalStyle

Defined in ​

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


__layout ​

• __layout: ILeafLayout

Implementation of ​

IPath.__layout

Inherited from ​

UI.__layout

Defined in ​

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


__world ​

• __world: IMatrixWithBoundsScaleData

Implementation of ​

IPath.__world

Inherited from ​

UI.__world

Defined in ​

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


__local ​

• Optional __local: IMatrixWithBoundsData

Implementation of ​

IPath.__local

Inherited from ​

UI.__local

Defined in ​

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


__nowWorld ​

• Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

IPath.__nowWorld

Inherited from ​

UI.__nowWorld

Defined in ​

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


__cameraWorld ​

• Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

IPath.__cameraWorld

Inherited from ​

UI.__cameraWorld

Defined in ​

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


__worldOpacity ​

• __worldOpacity: number

Implementation of ​

IPath.__worldOpacity

Inherited from ​

UI.__worldOpacity

Defined in ​

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


__scrollWorld ​

• Optional __scrollWorld: IMatrixWithBoundsScaleData

Implementation of ​

IPath.__scrollWorld

Inherited from ​

UI.__scrollWorld

Defined in ​

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


__level ​

• __level: number

Implementation of ​

IPath.__level

Inherited from ​

UI.__level

Defined in ​

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


__tempNumber ​

• __tempNumber: number

Implementation of ​

IPath.__tempNumber

Inherited from ​

UI.__tempNumber

Defined in ​

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


__hasAutoLayout ​

• Optional __hasAutoLayout: boolean

Implementation of ​

IPath.__hasAutoLayout

Inherited from ​

UI.__hasAutoLayout

Defined in ​

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


__hasMask ​

• Optional __hasMask: boolean

Implementation of ​

IPath.__hasMask

Inherited from ​

UI.__hasMask

Defined in ​

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


__hasEraser ​

• Optional __hasEraser: boolean

Implementation of ​

IPath.__hasEraser

Inherited from ​

UI.__hasEraser

Defined in ​

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


__hitCanvas ​

• Optional __hitCanvas: IHitCanvas

Implementation of ​

IPath.__hitCanvas

Inherited from ​

UI.__hitCanvas

Defined in ​

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


__captureMap ​

• Optional __captureMap: IEventListenerMap

Implementation of ​

IPath.__captureMap

Inherited from ​

UI.__captureMap

Defined in ​

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


__bubbleMap ​

• Optional __bubbleMap: IEventListenerMap

Implementation of ​

IPath.__bubbleMap

Inherited from ​

UI.__bubbleMap

Defined in ​

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


__hasLocalEvent ​

• Optional __hasLocalEvent: boolean

Implementation of ​

IPath.__hasLocalEvent

Inherited from ​

UI.__hasLocalEvent

Defined in ​

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


__hasWorldEvent ​

• Optional __hasWorldEvent: boolean

Implementation of ​

IPath.__hasWorldEvent

Inherited from ​

UI.__hasWorldEvent

Defined in ​

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


topChildren ​

• Optional topChildren: ILeaf[]

Implementation of ​

IPath.topChildren

Inherited from ​

UI.topChildren

Defined in ​

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


destroyed ​

• destroyed: boolean

Implementation of ​

IPath.destroyed

Inherited from ​

UI.destroyed

Defined in ​

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


__ ​

• __: IPathData

Implementation of ​

IPath.__

Overrides ​

UI.__

Defined in ​

src/ui/packages/display/src/Path.ts:15


strokeAlign ​

• Optional strokeAlign: IStrokeAlign

Implementation of ​

IPath.strokeAlign

Overrides ​

UI.strokeAlign

Defined in ​

src/ui/packages/display/src/Path.ts:18


proxyData ​

• Optional proxyData: IUIInputData

Implementation of ​

IPath.proxyData

Inherited from ​

UI.proxyData

Defined in ​

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


__proxyData ​

• Optional __proxyData: IUIInputData

Implementation of ​

IPath.__proxyData

Inherited from ​

UI.__proxyData

Defined in ​

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


leafer ​

• Optional leafer: ILeafer

Implementation of ​

IPath.leafer

Inherited from ​

UI.leafer

Defined in ​

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


parent ​

• Optional parent: IGroup

Implementation of ​

IPath.parent

Inherited from ​

UI.parent

Defined in ​

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


zoomLayer ​

• zoomLayer: IGroup

Implementation of ​

IPath.zoomLayer

Inherited from ​

UI.zoomLayer

Defined in ​

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


children ​

• Optional children: IUI[]

Implementation of ​

IPath.children

Inherited from ​

UI.children

Defined in ​

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


startLinker ​

• Optional startLinker: ILinker[]

Implementation of ​

IPath.startLinker

Inherited from ​

UI.startLinker

Defined in ​

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


endLinker ​

• Optional endLinker: ILinker[]

Implementation of ​

IPath.endLinker

Inherited from ​

UI.endLinker

Defined in ​

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


id ​

• Optional id: string

Implementation of ​

IPath.id

Inherited from ​

UI.id

Defined in ​

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


name ​

• Optional name: string

Implementation of ​

IPath.name

Inherited from ​

UI.name

Defined in ​

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


className ​

• Optional className: string

Implementation of ​

IPath.className

Inherited from ​

UI.className

Defined in ​

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


blendMode ​

• Optional blendMode: IBlendMode

Implementation of ​

IPath.blendMode

Inherited from ​

UI.blendMode

Defined in ​

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


opacity ​

• Optional opacity: number

Implementation of ​

IPath.opacity

Inherited from ​

UI.opacity

Defined in ​

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


visible ​

• Optional visible: boolean | 0

Implementation of ​

IPath.visible

Inherited from ​

UI.visible

Defined in ​

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


locked ​

• Optional locked: boolean

Implementation of ​

IPath.locked

Inherited from ​

UI.locked

Defined in ​

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


dim ​

• Optional dim: number | boolean

Implementation of ​

IPath.dim

Inherited from ​

UI.dim

Defined in ​

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


dimskip ​

• Optional dimskip: boolean

Implementation of ​

IPath.dimskip

Inherited from ​

UI.dimskip

Defined in ​

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


bright ​

• Optional bright: boolean

Implementation of ​

IPath.bright

Inherited from ​

UI.bright

Defined in ​

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


zIndex ​

• Optional zIndex: number

Implementation of ​

IPath.zIndex

Inherited from ​

UI.zIndex

Defined in ​

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


mask ​

• Optional mask: boolean | IMaskType

Implementation of ​

IPath.mask

Inherited from ​

UI.mask

Defined in ​

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


eraser ​

• Optional eraser: boolean | IEraserType

Implementation of ​

IPath.eraser

Inherited from ​

UI.eraser

Defined in ​

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


x ​

• Optional x: number

Implementation of ​

IPath.x

Inherited from ​

UI.x

Defined in ​

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


y ​

• Optional y: number

Implementation of ​

IPath.y

Inherited from ​

UI.y

Defined in ​

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


width ​

• Optional width: number

Implementation of ​

IPath.width

Inherited from ​

UI.width

Defined in ​

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


height ​

• Optional height: number

Implementation of ​

IPath.height

Inherited from ​

UI.height

Defined in ​

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


scaleX ​

• Optional scaleX: number

Implementation of ​

IPath.scaleX

Inherited from ​

UI.scaleX

Defined in ​

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


scaleY ​

• Optional scaleY: number

Implementation of ​

IPath.scaleY

Inherited from ​

UI.scaleY

Defined in ​

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


scaleFixed ​

• Optional scaleFixed: IScaleFixed

Implementation of ​

IPath.scaleFixed

Inherited from ​

UI.scaleFixed

Defined in ​

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


rotation ​

• Optional rotation: number

Implementation of ​

IPath.rotation

Inherited from ​

UI.rotation

Defined in ​

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


skewX ​

• Optional skewX: number

Implementation of ​

IPath.skewX

Inherited from ​

UI.skewX

Defined in ​

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


skewY ​

• Optional skewY: number

Implementation of ​

IPath.skewY

Inherited from ​

UI.skewY

Defined in ​

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


offsetX ​

• Optional offsetX: number

Implementation of ​

IPath.offsetX

Inherited from ​

UI.offsetX

Defined in ​

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


offsetY ​

• Optional offsetY: number

Implementation of ​

IPath.offsetY

Inherited from ​

UI.offsetY

Defined in ​

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


scrollX ​

• Optional scrollX: number

Implementation of ​

IPath.scrollX

Inherited from ​

UI.scrollX

Defined in ​

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


scrollY ​

• Optional scrollY: number

Implementation of ​

IPath.scrollY

Inherited from ​

UI.scrollY

Defined in ​

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


origin ​

• Optional origin: IUnitPointData | IDirection

Implementation of ​

IPath.origin

Inherited from ​

UI.origin

Defined in ​

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


around ​

• Optional around: IUnitPointData | IDirection

Implementation of ​

IPath.around

Inherited from ​

UI.around

Defined in ​

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


lazy ​

• Optional lazy: boolean

Implementation of ​

IPath.lazy

Inherited from ​

UI.lazy

Defined in ​

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


pixelRatio ​

• Optional pixelRatio: number

Implementation of ​

IPath.pixelRatio

Inherited from ​

UI.pixelRatio

Defined in ​

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


renderSpread ​

• Optional renderSpread: IFourNumber

Implementation of ​

IPath.renderSpread

Inherited from ​

UI.renderSpread

Defined in ​

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


path ​

• Optional path: string | IPathCommandData | IPathCommandNode[] | IPathCommandObject[]

Implementation of ​

IPath.path

Inherited from ​

UI.path

Defined in ​

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


windingRule ​

• Optional windingRule: IWindingRule

Implementation of ​

IPath.windingRule

Inherited from ​

UI.windingRule

Defined in ​

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


closed ​

• Optional closed: boolean

Implementation of ​

IPath.closed

Inherited from ​

UI.closed

Defined in ​

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


flow ​

• Optional flow: IFlowType

Implementation of ​

IPath.flow

Inherited from ​

UI.flow

Defined in ​

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


padding ​

• Optional padding: IFourNumber

Implementation of ​

IPath.padding

Inherited from ​

UI.padding

Defined in ​

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


gap ​

• Optional gap: IGap | IPointGap

Implementation of ​

IPath.gap

Inherited from ​

UI.gap

Defined in ​

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


flowAlign ​

• Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of ​

IPath.flowAlign

Inherited from ​

UI.flowAlign

Defined in ​

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


flowWrap ​

• Optional flowWrap: IFlowWrap

Implementation of ​

IPath.flowWrap

Inherited from ​

UI.flowWrap

Defined in ​

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


itemBox ​

• Optional itemBox: IFlowBoxType

Implementation of ​

IPath.itemBox

Inherited from ​

UI.itemBox

Defined in ​

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


inFlow ​

• Optional inFlow: boolean

Implementation of ​

IPath.inFlow

Inherited from ​

UI.inFlow

Defined in ​

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


autoWidth ​

• Optional autoWidth: IAutoSize

Implementation of ​

IPath.autoWidth

Inherited from ​

UI.autoWidth

Defined in ​

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


autoHeight ​

• Optional autoHeight: IAutoSize

Implementation of ​

IPath.autoHeight

Inherited from ​

UI.autoHeight

Defined in ​

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


lockRatio ​

• Optional lockRatio: boolean

Implementation of ​

IPath.lockRatio

Inherited from ​

UI.lockRatio

Defined in ​

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


autoBox ​

• Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

IPath.autoBox

Inherited from ​

UI.autoBox

Defined in ​

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


widthRange ​

• Optional widthRange: IRangeSize

Implementation of ​

IPath.widthRange

Inherited from ​

UI.widthRange

Defined in ​

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


heightRange ​

• Optional heightRange: IRangeSize

Implementation of ​

IPath.heightRange

Inherited from ​

UI.heightRange

Defined in ​

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


draggable ​

• Optional draggable: boolean | IAxis

Implementation of ​

IPath.draggable

Inherited from ​

UI.draggable

Defined in ​

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


dragBounds ​

• Optional dragBounds: "parent" | IBoundsData

Implementation of ​

IPath.dragBounds

Inherited from ​

UI.dragBounds

Defined in ​

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


dragBoundsType ​

• Optional dragBoundsType: IDragBoundsType

Implementation of ​

IPath.dragBoundsType

Inherited from ​

UI.dragBoundsType

Defined in ​

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


editable ​

• Optional editable: boolean

Implementation of ​

IPath.editable

Inherited from ​

UI.editable

Defined in ​

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


hittable ​

• Optional hittable: boolean

Implementation of ​

IPath.hittable

Inherited from ​

UI.hittable

Defined in ​

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


hitFill ​

• Optional hitFill: IHitType

Implementation of ​

IPath.hitFill

Inherited from ​

UI.hitFill

Defined in ​

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


hitStroke ​

• Optional hitStroke: IHitType

Implementation of ​

IPath.hitStroke

Inherited from ​

UI.hitStroke

Defined in ​

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


hitBox ​

• Optional hitBox: boolean

Implementation of ​

IPath.hitBox

Inherited from ​

UI.hitBox

Defined in ​

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


hitChildren ​

• Optional hitChildren: boolean

Implementation of ​

IPath.hitChildren

Inherited from ​

UI.hitChildren

Defined in ​

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


hitSelf ​

• Optional hitSelf: boolean

Implementation of ​

IPath.hitSelf

Inherited from ​

UI.hitSelf

Defined in ​

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


hitRadius ​

• Optional hitRadius: number

Implementation of ​

IPath.hitRadius

Inherited from ​

UI.hitRadius

Defined in ​

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


cursor ​

• Optional cursor: ICursorType | ICursorType[]

Implementation of ​

IPath.cursor

Inherited from ​

UI.cursor

Defined in ​

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


fill ​

• Optional fill: IFill

Implementation of ​

IPath.fill

Inherited from ​

UI.fill

Defined in ​

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


stroke ​

• Optional stroke: IStroke

Implementation of ​

IPath.stroke

Inherited from ​

UI.stroke

Defined in ​

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


strokeWidth ​

• Optional strokeWidth: string | IFourNumber

Implementation of ​

IPath.strokeWidth

Inherited from ​

UI.strokeWidth

Defined in ​

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


strokeScaleFixed ​

• Optional strokeScaleFixed: IScaleFixed

Implementation of ​

IPath.strokeScaleFixed

Inherited from ​

UI.strokeScaleFixed

Defined in ​

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


strokeCap ​

• Optional strokeCap: IStrokeCap

Implementation of ​

IPath.strokeCap

Inherited from ​

UI.strokeCap

Defined in ​

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


strokeJoin ​

• Optional strokeJoin: IStrokeJoin

Implementation of ​

IPath.strokeJoin

Inherited from ​

UI.strokeJoin

Defined in ​

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


dashPattern ​

• Optional dashPattern: string | number[]

Implementation of ​

IPath.dashPattern

Inherited from ​

UI.dashPattern

Defined in ​

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


dashOffset ​

• Optional dashOffset: number

Implementation of ​

IPath.dashOffset

Inherited from ​

UI.dashOffset

Defined in ​

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


miterLimit ​

• Optional miterLimit: number

Implementation of ​

IPath.miterLimit

Inherited from ​

UI.miterLimit

Defined in ​

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


startArrow ​

• Optional startArrow: IArrowStyle

Implementation of ​

IPath.startArrow

Inherited from ​

UI.startArrow

Defined in ​

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


endArrow ​

• Optional endArrow: IArrowStyle

Implementation of ​

IPath.endArrow

Inherited from ​

UI.endArrow

Defined in ​

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


cornerRadius ​

• Optional cornerRadius: string | IFourNumber

Implementation of ​

IPath.cornerRadius

Inherited from ​

UI.cornerRadius

Defined in ​

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


cornerSmoothing ​

• Optional cornerSmoothing: number

Implementation of ​

IPath.cornerSmoothing

Inherited from ​

UI.cornerSmoothing

Defined in ​

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


shadow ​

• Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IPath.shadow

Inherited from ​

UI.shadow

Defined in ​

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


innerShadow ​

• Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IPath.innerShadow

Inherited from ​

UI.innerShadow

Defined in ​

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


blur ​

• Optional blur: number | IBlurEffect

Implementation of ​

IPath.blur

Inherited from ​

UI.blur

Defined in ​

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


backgroundBlur ​

• Optional backgroundBlur: number | IBlurEffect

Implementation of ​

IPath.backgroundBlur

Inherited from ​

UI.backgroundBlur

Defined in ​

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


grayscale ​

• Optional grayscale: number | IGrayscaleEffect

Implementation of ​

IPath.grayscale

Inherited from ​

UI.grayscale

Defined in ​

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


filter ​

• Optional filter: IFilter | IFilter[]

Implementation of ​

IPath.filter

Inherited from ​

UI.filter

Defined in ​

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


complex ​

• Optional complex: boolean

Implementation of ​

IPath.complex

Inherited from ​

UI.complex

Defined in ​

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


animation ​

• Optional animation: IAnimation | IAnimation[]

Implementation of ​

IPath.animation

Inherited from ​

UI.animation

Defined in ​

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


animationOut ​

• Optional animationOut: IAnimation | IAnimation[]

Implementation of ​

IPath.animationOut

Inherited from ​

UI.animationOut

Defined in ​

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


transition ​

• Optional transition: ITransition

Implementation of ​

IPath.transition

Inherited from ​

UI.transition

Defined in ​

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


transitionOut ​

• Optional transitionOut: ITransition

Implementation of ​

IPath.transitionOut

Inherited from ​

UI.transitionOut

Defined in ​

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


motionPath ​

• Optional motionPath: boolean

Implementation of ​

IPath.motionPath

Inherited from ​

UI.motionPath

Defined in ​

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


motionPrecision ​

• Optional motionPrecision: number

Implementation of ​

IPath.motionPrecision

Inherited from ​

UI.motionPrecision

Defined in ​

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


motion ​

• Optional motion: number | IUnitData

Implementation of ​

IPath.motion

Inherited from ​

UI.motion

Defined in ​

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


motionRotation ​

• Optional motionRotation: number | boolean

Implementation of ​

IPath.motionRotation

Inherited from ​

UI.motionRotation

Defined in ​

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


states ​

• Optional states: IStates

Implementation of ​

IPath.states

Inherited from ​

UI.states

Defined in ​

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


state ​

• Optional state: string

Implementation of ​

IPath.state

Inherited from ​

UI.state

Defined in ​

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


selected ​

• Optional selected: boolean

Implementation of ​

IPath.selected

Inherited from ​

UI.selected

Defined in ​

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


disabled ​

• Optional disabled: boolean

Implementation of ​

IPath.disabled

Inherited from ​

UI.disabled

Defined in ​

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


normalStyle ​

• Optional normalStyle: IStateStyle

Implementation of ​

IPath.normalStyle

Inherited from ​

UI.normalStyle

Defined in ​

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


hoverStyle ​

• Optional hoverStyle: IStateStyle

Implementation of ​

IPath.hoverStyle

Inherited from ​

UI.hoverStyle

Defined in ​

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


pressStyle ​

• Optional pressStyle: IStateStyle

Implementation of ​

IPath.pressStyle

Inherited from ​

UI.pressStyle

Defined in ​

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


focusStyle ​

• Optional focusStyle: IStateStyle

Implementation of ​

IPath.focusStyle

Inherited from ​

UI.focusStyle

Defined in ​

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


selectedStyle ​

• Optional selectedStyle: IStateStyle

Implementation of ​

IPath.selectedStyle

Inherited from ​

UI.selectedStyle

Defined in ​

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


disabledStyle ​

• Optional disabledStyle: IStateStyle

Implementation of ​

IPath.disabledStyle

Inherited from ​

UI.disabledStyle

Defined in ​

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


placeholderStyle ​

• Optional placeholderStyle: IStateStyle

Implementation of ​

IPath.placeholderStyle

Inherited from ​

UI.placeholderStyle

Defined in ​

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


placeholderColor ​

• Optional placeholderColor: string

Implementation of ​

IPath.placeholderColor

Inherited from ​

UI.placeholderColor

Defined in ​

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


placeholderDelay ​

• Optional placeholderDelay: number

Implementation of ​

IPath.placeholderDelay

Inherited from ​

UI.placeholderDelay

Defined in ​

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


button ​

• Optional button: boolean

Implementation of ​

IPath.button

Inherited from ​

UI.button

Defined in ​

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


editConfig ​

• editConfig: IEditorConfig

Implementation of ​

IPath.editConfig

Inherited from ​

UI.editConfig

Defined in ​

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


editOuter ​

• editOuter: string

Implementation of ​

IPath.editOuter

Inherited from ​

UI.editOuter

Defined in ​

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


editInner ​

• editInner: string

Implementation of ​

IPath.editInner

Inherited from ​

UI.editInner

Defined in ​

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


data ​

• data: IObject

Implementation of ​

IPath.data

Inherited from ​

UI.data

Defined in ​

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


useFastShadow ​

• Optional useFastShadow: boolean

Implementation of ​

IPath.useFastShadow

Inherited from ​

UI.useFastShadow

Defined in ​

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


__box ​

• Optional __box: IUI

Implementation of ​

IPath.__box

Inherited from ​

UI.__box

Defined in ​

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


__animate ​

• Optional __animate: IAnimate | IAnimateList

Implementation of ​

IPath.__animate

Inherited from ​

UI.__animate

Defined in ​

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

Accessors ​

tag ​

• get tag(): string

Returns ​

string

Implementation of ​

IPath.tag

Inherited from ​

UI.tag

Defined in ​

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

• set tag(_value): void

Parameters ​

NameType
_valuestring

Returns ​

void

Implementation of ​

IPath.tag

Inherited from ​

UI.tag

Defined in ​

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


innerName ​

• get innerName(): string

Returns ​

string

Implementation of ​

IPath.innerName

Inherited from ​

UI.innerName

Defined in ​

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


__DataProcessor ​

• get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

IPath.__DataProcessor

Inherited from ​

UI.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

• get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

IPath.__LayoutProcessor

Inherited from ​

UI.__LayoutProcessor

Defined in ​

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


leaferIsCreated ​

• get leaferIsCreated(): boolean

Returns ​

boolean

Implementation of ​

IPath.leaferIsCreated

Inherited from ​

UI.leaferIsCreated

Defined in ​

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


leaferIsReady ​

• get leaferIsReady(): boolean

Returns ​

boolean

Implementation of ​

IPath.leaferIsReady

Inherited from ​

UI.leaferIsReady

Defined in ​

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


isLeafer ​

• get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

IPath.isLeafer

Inherited from ​

UI.isLeafer

Defined in ​

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


isBranch ​

• get isBranch(): boolean

Returns ​

boolean

Implementation of ​

IPath.isBranch

Inherited from ​

UI.isBranch

Defined in ​

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


isBranchLeaf ​

• get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

IPath.isBranchLeaf

Inherited from ​

UI.isBranchLeaf

Defined in ​

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


__localMatrix ​

• get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IPath.__localMatrix

Inherited from ​

UI.__localMatrix

Defined in ​

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


__localBoxBounds ​

• get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IPath.__localBoxBounds

Inherited from ​

UI.__localBoxBounds

Defined in ​

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


worldTransform ​

• get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IPath.worldTransform

Inherited from ​

UI.worldTransform

Defined in ​

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


localTransform ​

• get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IPath.localTransform

Inherited from ​

UI.localTransform

Defined in ​

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


scrollWorldTransform ​

• get scrollWorldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IPath.scrollWorldTransform

Inherited from ​

UI.scrollWorldTransform

Defined in ​

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


boxBounds ​

• get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IPath.boxBounds

Inherited from ​

UI.boxBounds

Defined in ​

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


renderBounds ​

• get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IPath.renderBounds

Inherited from ​

UI.renderBounds

Defined in ​

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


worldBoxBounds ​

• get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IPath.worldBoxBounds

Inherited from ​

UI.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

• get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IPath.worldStrokeBounds

Inherited from ​

UI.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

• get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IPath.worldRenderBounds

Inherited from ​

UI.worldRenderBounds

Defined in ​

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


worldOpacity ​

• get worldOpacity(): number

Returns ​

number

Implementation of ​

IPath.worldOpacity

Inherited from ​

UI.worldOpacity

Defined in ​

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


__worldFlipped ​

• get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

IPath.__worldFlipped

Inherited from ​

UI.__worldFlipped

Defined in ​

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


__onlyHitMask ​

• get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

IPath.__onlyHitMask

Inherited from ​

UI.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

• get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

IPath.__ignoreHitWorld

Inherited from ​

UI.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

• get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

IPath.__inLazyBounds

Inherited from ​

UI.__inLazyBounds

Defined in ​

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


pathInputed ​

• get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

IPath.pathInputed

Inherited from ​

UI.pathInputed

Defined in ​

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


event ​

• set event(map): void

Parameters ​

NameType
mapIEventParamsMap

Returns ​

void

Implementation of ​

IPath.event

Inherited from ​

UI.event

Defined in ​

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


__tag ​

• get __tag(): string

Returns ​

string

Implementation of ​

IPath.__tag

Overrides ​

UI.__tag

Defined in ​

src/ui/packages/display/src/Path.ts:12


app ​

• get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

IPath.app

Inherited from ​

UI.app

Defined in ​

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


isFrame ​

• get isFrame(): boolean

Returns ​

boolean

Implementation of ​

IPath.isFrame

Inherited from ​

UI.isFrame

Defined in ​

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


strokeWidthFixed ​

• get strokeWidthFixed(): IScaleFixed

Returns ​

IScaleFixed

Inherited from ​

UI.strokeWidthFixed

Defined in ​

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

• set strokeWidthFixed(value): void

Parameters ​

NameType
valueIScaleFixed

Returns ​

void

Inherited from ​

UI.strokeWidthFixed

Defined in ​

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


scale ​

• get scale(): number | IPointData

Returns ​

number | IPointData

Implementation of ​

IPath.scale

Inherited from ​

UI.scale

Defined in ​

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

• set scale(value): void

Parameters ​

NameType
valuenumber | IPointData

Returns ​

void

Implementation of ​

IPath.scale

Inherited from ​

UI.scale

Defined in ​

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


isAutoWidth ​

• get isAutoWidth(): boolean

Returns ​

boolean

Implementation of ​

IPath.isAutoWidth

Inherited from ​

UI.isAutoWidth

Defined in ​

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


isAutoHeight ​

• get isAutoHeight(): boolean

Returns ​

boolean

Implementation of ​

IPath.isAutoHeight

Inherited from ​

UI.isAutoHeight

Defined in ​

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


pen ​

• get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

IPath.pen

Inherited from ​

UI.pen

Defined in ​

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

Methods ​

resetCustom ​

â–¸ resetCustom(): void

Returns ​

void

Implementation of ​

IPath.resetCustom

Inherited from ​

UI.resetCustom

Defined in ​

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


waitParent ​

â–¸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IPath.waitParent

Inherited from ​

UI.waitParent

Defined in ​

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


waitLeafer ​

â–¸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IPath.waitLeafer

Inherited from ​

UI.waitLeafer

Defined in ​

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


nextRender ​

â–¸ nextRender(item, bind?, off?): void

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Implementation of ​

IPath.nextRender

Inherited from ​

UI.nextRender

Defined in ​

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


removeNextRender ​

â–¸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Implementation of ​

IPath.removeNextRender

Inherited from ​

UI.removeNextRender

Defined in ​

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


__bindLeafer ​

â–¸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Implementation of ​

IPath.__bindLeafer

Inherited from ​

UI.__bindLeafer

Defined in ​

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


setAttr ​

â–¸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Implementation of ​

IPath.setAttr

Inherited from ​

UI.setAttr

Defined in ​

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


getAttr ​

â–¸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IPath.getAttr

Inherited from ​

UI.getAttr

Defined in ​

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


getComputedAttr ​

â–¸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IPath.getComputedAttr

Inherited from ​

UI.getComputedAttr

Defined in ​

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


toJSON ​

â–¸ toJSON(options?): IObject

Parameters ​

NameType
options?IJSONOptions

Returns ​

IObject

Implementation of ​

IPath.toJSON

Inherited from ​

UI.toJSON

Defined in ​

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


toString ​

â–¸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Implementation of ​

IPath.toString

Inherited from ​

UI.toString

Defined in ​

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


toSVG ​

â–¸ toSVG(): string

Returns ​

string

Implementation of ​

IPath.toSVG

Inherited from ​

UI.toSVG

Defined in ​

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


__SVG ​

â–¸ __SVG(_data): void

Parameters ​

NameType
_dataIObject

Returns ​

void

Implementation of ​

IPath.__SVG

Inherited from ​

UI.__SVG

Defined in ​

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


toHTML ​

â–¸ toHTML(): string

Returns ​

string

Implementation of ​

IPath.toHTML

Inherited from ​

UI.toHTML

Defined in ​

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


__setAttr ​

â–¸ __setAttr(_attrName, _newValue): boolean

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

boolean

Implementation of ​

IPath.__setAttr

Inherited from ​

UI.__setAttr

Defined in ​

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


__getAttr ​

â–¸ __getAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IPath.__getAttr

Inherited from ​

UI.__getAttr

Defined in ​

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


setProxyAttr ​

â–¸ setProxyAttr(_attrName, _newValue): void

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

void

Implementation of ​

IPath.setProxyAttr

Inherited from ​

UI.setProxyAttr

Defined in ​

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


getProxyAttr ​

â–¸ getProxyAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IPath.getProxyAttr

Inherited from ​

UI.getProxyAttr

Defined in ​

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


focus ​

â–¸ focus(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IPath.focus

Inherited from ​

UI.focus

Defined in ​

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


updateState ​

â–¸ updateState(): void

Returns ​

void

Implementation of ​

IPath.updateState

Inherited from ​

UI.updateState

Defined in ​

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


updateLayout ​

â–¸ updateLayout(): void

Returns ​

void

Implementation of ​

IPath.updateLayout

Inherited from ​

UI.updateLayout

Defined in ​

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


forceUpdate ​

â–¸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Implementation of ​

IPath.forceUpdate

Inherited from ​

UI.forceUpdate

Defined in ​

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


forceRender ​

â–¸ forceRender(_bounds?, _sync?): void

Parameters ​

NameType
_bounds?IBoundsData
_sync?boolean

Returns ​

void

Implementation of ​

IPath.forceRender

Inherited from ​

UI.forceRender

Defined in ​

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


__extraUpdate ​

â–¸ __extraUpdate(): void

Returns ​

void

Implementation of ​

IPath.__extraUpdate

Inherited from ​

UI.__extraUpdate

Defined in ​

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


__updateWorldMatrix ​

â–¸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

IPath.__updateWorldMatrix

Inherited from ​

UI.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

â–¸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

IPath.__updateLocalMatrix

Inherited from ​

UI.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

â–¸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

IPath.__updateWorldBounds

Inherited from ​

UI.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

â–¸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

IPath.__updateLocalBounds

Inherited from ​

UI.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

â–¸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

IPath.__updateLocalBoxBounds

Inherited from ​

UI.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

â–¸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

IPath.__updateLocalStrokeBounds

Inherited from ​

UI.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

â–¸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

IPath.__updateLocalRenderBounds

Inherited from ​

UI.__updateLocalRenderBounds

Defined in ​

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


__updateBoxBounds ​

â–¸ __updateBoxBounds(_secondLayout?, _bounds?): void

Parameters ​

NameType
_secondLayout?boolean
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IPath.__updateBoxBounds

Inherited from ​

UI.__updateBoxBounds

Defined in ​

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


__updateContentBounds ​

â–¸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

IPath.__updateContentBounds

Inherited from ​

UI.__updateContentBounds

Defined in ​

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


__updateStrokeBounds ​

â–¸ __updateStrokeBounds(_bounds?): void

Parameters ​

NameType
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IPath.__updateStrokeBounds

Inherited from ​

UI.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

â–¸ __updateRenderBounds(_bounds?): void

Parameters ​

NameType
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IPath.__updateRenderBounds

Inherited from ​

UI.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

â–¸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

IPath.__updateAutoLayout

Inherited from ​

UI.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

â–¸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

IPath.__updateFlowLayout

Inherited from ​

UI.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

â–¸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

IPath.__updateNaturalSize

Inherited from ​

UI.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

â–¸ __updateStrokeSpread(): IFourNumber

Returns ​

IFourNumber

Implementation of ​

IPath.__updateStrokeSpread

Inherited from ​

UI.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

â–¸ __updateRenderSpread(): IFourNumber

Returns ​

IFourNumber

Implementation of ​

IPath.__updateRenderSpread

Inherited from ​

UI.__updateRenderSpread

Defined in ​

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


__updateEraser ​

â–¸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IPath.__updateEraser

Inherited from ​

UI.__updateEraser

Defined in ​

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


__renderEraser ​

â–¸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__renderEraser

Inherited from ​

UI.__renderEraser

Defined in ​

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


__updateMask ​

â–¸ __updateMask(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IPath.__updateMask

Inherited from ​

UI.__updateMask

Defined in ​

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


__renderMask ​

â–¸ __renderMask(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__renderMask

Inherited from ​

UI.__renderMask

Defined in ​

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


__getNowWorld ​

â–¸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Implementation of ​

IPath.__getNowWorld

Inherited from ​

UI.__getNowWorld

Defined in ​

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


getClampRenderScale ​

â–¸ getClampRenderScale(): number

Returns ​

number

Implementation of ​

IPath.getClampRenderScale

Inherited from ​

UI.getClampRenderScale

Defined in ​

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


getRenderScaleData ​

â–¸ getRenderScaleData(abs?, scaleFixed?, unscale?): IScaleData

Parameters ​

NameTypeDefault value
abs?booleanundefined
scaleFixed?IScaleFixedundefined
unscalebooleantrue

Returns ​

IScaleData

Implementation of ​

IPath.getRenderScaleData

Inherited from ​

UI.getRenderScaleData

Defined in ​

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


getTransform ​

â–¸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Implementation of ​

IPath.getTransform

Inherited from ​

UI.getTransform

Defined in ​

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


getBounds ​

â–¸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Implementation of ​

IPath.getBounds

Inherited from ​

UI.getBounds

Defined in ​

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


getLayoutBounds ​

â–¸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters ​

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

Returns ​

ILayoutBoundsData

Implementation of ​

IPath.getLayoutBounds

Inherited from ​

UI.getLayoutBounds

Defined in ​

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


getLayoutPoints ​

â–¸ getLayoutPoints(type?, relative?): IPointData[]

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Implementation of ​

IPath.getLayoutPoints

Inherited from ​

UI.getLayoutPoints

Defined in ​

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


getWorldBounds ​

â–¸ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Implementation of ​

IPath.getWorldBounds

Inherited from ​

UI.getWorldBounds

Defined in ​

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


worldToLocal ​

â–¸ worldToLocal(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IPath.worldToLocal

Inherited from ​

UI.worldToLocal

Defined in ​

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


localToWorld ​

â–¸ localToWorld(local, to?, distance?, relative?): void

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IPath.localToWorld

Inherited from ​

UI.localToWorld

Defined in ​

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


worldToInner ​

â–¸ worldToInner(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IPath.worldToInner

Inherited from ​

UI.worldToInner

Defined in ​

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


innerToWorld ​

â–¸ innerToWorld(inner, to?, distance?, relative?): void

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IPath.innerToWorld

Inherited from ​

UI.innerToWorld

Defined in ​

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


getBoxPoint ​

â–¸ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getBoxPoint

Inherited from ​

UI.getBoxPoint

Defined in ​

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


getBoxPointByInner ​

â–¸ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getBoxPointByInner

Inherited from ​

UI.getBoxPointByInner

Defined in ​

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


getInnerPoint ​

â–¸ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getInnerPoint

Inherited from ​

UI.getInnerPoint

Defined in ​

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


getInnerPointByBox ​

â–¸ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getInnerPointByBox

Inherited from ​

UI.getInnerPointByBox

Defined in ​

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


getInnerPointByLocal ​

â–¸ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getInnerPointByLocal

Inherited from ​

UI.getInnerPointByLocal

Defined in ​

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


getLocalPoint ​

â–¸ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getLocalPoint

Inherited from ​

UI.getLocalPoint

Defined in ​

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


getLocalPointByInner ​

â–¸ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getLocalPointByInner

Inherited from ​

UI.getLocalPointByInner

Defined in ​

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


getPagePoint ​

â–¸ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getPagePoint

Inherited from ​

UI.getPagePoint

Defined in ​

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


getWorldPoint ​

â–¸ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getWorldPoint

Inherited from ​

UI.getWorldPoint

Defined in ​

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


getWorldPointByBox ​

â–¸ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getWorldPointByBox

Inherited from ​

UI.getWorldPointByBox

Defined in ​

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


getWorldPointByLocal ​

â–¸ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getWorldPointByLocal

Inherited from ​

UI.getWorldPointByLocal

Defined in ​

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


getWorldPointByPage ​

â–¸ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IPath.getWorldPointByPage

Inherited from ​

UI.getWorldPointByPage

Defined in ​

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


setTransform ​

â–¸ setTransform(matrix, resize?, transition?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.setTransform

Inherited from ​

UI.setTransform

Defined in ​

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


transform ​

â–¸ transform(matrix, resize?, transition?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.transform

Inherited from ​

UI.transform

Defined in ​

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


move ​

â–¸ move(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns ​

void

Implementation of ​

IPath.move

Inherited from ​

UI.move

Defined in ​

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


moveInner ​

â–¸ moveInner(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns ​

void

Implementation of ​

IPath.moveInner

Inherited from ​

UI.moveInner

Defined in ​

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


scaleOf ​

â–¸ scaleOf(origin, scaleX, scaleY?, resize?, transition?): void

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?ITransition
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.scaleOf

Inherited from ​

UI.scaleOf

Defined in ​

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


rotateOf ​

â–¸ rotateOf(origin, rotation, transition?): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber
transition?ITransition

Returns ​

void

Implementation of ​

IPath.rotateOf

Inherited from ​

UI.rotateOf

Defined in ​

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


skewOf ​

â–¸ skewOf(origin, skewX, skewY?, resize?, transition?): void

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.skewOf

Inherited from ​

UI.skewOf

Defined in ​

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


transformWorld ​

â–¸ transformWorld(worldTransform?, resize?, transition?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.transformWorld

Inherited from ​

UI.transformWorld

Defined in ​

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


moveWorld ​

â–¸ moveWorld(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns ​

void

Implementation of ​

IPath.moveWorld

Inherited from ​

UI.moveWorld

Defined in ​

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


scaleOfWorld ​

â–¸ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?, transition?): void

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?ITransition
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.scaleOfWorld

Inherited from ​

UI.scaleOfWorld

Defined in ​

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


rotateOfWorld ​

â–¸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Implementation of ​

IPath.rotateOfWorld

Inherited from ​

UI.rotateOfWorld

Defined in ​

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


skewOfWorld ​

â–¸ skewOfWorld(worldOrigin, skewX, skewY?, resize?, transition?): void

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IPath.skewOfWorld

Inherited from ​

UI.skewOfWorld

Defined in ​

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


flip ​

â–¸ flip(axis, transition?): void

Parameters ​

NameType
axisIAxis
transition?ITransition

Returns ​

void

Implementation of ​

IPath.flip

Inherited from ​

UI.flip

Defined in ​

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


scaleResize ​

â–¸ scaleResize(scaleX, scaleY?, _noResize?): void

Parameters ​

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns ​

void

Implementation of ​

IPath.scaleResize

Inherited from ​

UI.scaleResize

Defined in ​

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


__scaleResize ​

â–¸ __scaleResize(_scaleX, _scaleY): void

Parameters ​

NameType
_scaleXnumber
_scaleYnumber

Returns ​

void

Implementation of ​

IPath.__scaleResize

Inherited from ​

UI.__scaleResize

Defined in ​

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


resizeWidth ​

â–¸ resizeWidth(_width): void

Parameters ​

NameType
_widthnumber

Returns ​

void

Implementation of ​

IPath.resizeWidth

Inherited from ​

UI.resizeWidth

Defined in ​

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


resizeHeight ​

â–¸ resizeHeight(_height): void

Parameters ​

NameType
_heightnumber

Returns ​

void

Implementation of ​

IPath.resizeHeight

Inherited from ​

UI.resizeHeight

Defined in ​

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


hit ​

â–¸ hit(_world, _hitRadius?): boolean

Parameters ​

NameType
_worldIPointData
_hitRadius?number

Returns ​

boolean

Implementation of ​

IPath.hit

Inherited from ​

UI.hit

Defined in ​

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


__hitWorld ​

â–¸ __hitWorld(_point, _forceHitFill?): boolean

Parameters ​

NameType
_pointIRadiusPointData
_forceHitFill?boolean

Returns ​

boolean

Implementation of ​

IPath.__hitWorld

Inherited from ​

UI.__hitWorld

Defined in ​

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


__hit ​

â–¸ __hit(_local, _forceHitFill?): boolean

Parameters ​

NameType
_localIRadiusPointData
_forceHitFill?boolean

Returns ​

boolean

Implementation of ​

IPath.__hit

Inherited from ​

UI.__hit

Defined in ​

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


__hitFill ​

â–¸ __hitFill(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IPath.__hitFill

Inherited from ​

UI.__hitFill

Defined in ​

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


__hitStroke ​

â–¸ __hitStroke(_inner, _strokeWidth): boolean

Parameters ​

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns ​

boolean

Implementation of ​

IPath.__hitStroke

Inherited from ​

UI.__hitStroke

Defined in ​

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


__hitPixel ​

â–¸ __hitPixel(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IPath.__hitPixel

Inherited from ​

UI.__hitPixel

Defined in ​

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


__drawHitPath ​

â–¸ __drawHitPath(_canvas): void

Parameters ​

NameType
_canvasILeaferCanvas

Returns ​

void

Implementation of ​

IPath.__drawHitPath

Inherited from ​

UI.__drawHitPath

Defined in ​

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


__updateHitCanvas ​

â–¸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

IPath.__updateHitCanvas

Inherited from ​

UI.__updateHitCanvas

Defined in ​

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


__render ​

â–¸ __render(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__render

Inherited from ​

UI.__render

Defined in ​

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


__drawFast ​

â–¸ __drawFast(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__drawFast

Inherited from ​

UI.__drawFast

Defined in ​

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


__draw ​

â–¸ __draw(_canvas, _options, _originCanvas?): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_originCanvas?ILeaferCanvas

Returns ​

void

Implementation of ​

IPath.__draw

Inherited from ​

UI.__draw

Defined in ​

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


__clip ​

â–¸ __clip(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__clip

Inherited from ​

UI.__clip

Defined in ​

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


__renderShape ​

â–¸ __renderShape(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__renderShape

Inherited from ​

UI.__renderShape

Defined in ​

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


__drawShape ​

â–¸ __drawShape(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.__drawShape

Inherited from ​

UI.__drawShape

Defined in ​

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


__updateWorldOpacity ​

â–¸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

IPath.__updateWorldOpacity

Inherited from ​

UI.__updateWorldOpacity

Defined in ​

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


__updateChange ​

â–¸ __updateChange(): void

Returns ​

void

Implementation of ​

IPath.__updateChange

Inherited from ​

UI.__updateChange

Defined in ​

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


__updatePath ​

â–¸ __updatePath(): void

Returns ​

void

Implementation of ​

IPath.__updatePath

Inherited from ​

UI.__updatePath

Defined in ​

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


getMotionPathData ​

â–¸ getMotionPathData(): IMotionPathData

Returns ​

IMotionPathData

Implementation of ​

IPath.getMotionPathData

Inherited from ​

UI.getMotionPathData

Defined in ​

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


getMotionPoint ​

â–¸ getMotionPoint(_motionDistance): IRotationPointData

Parameters ​

NameType
_motionDistancenumber | IUnitData

Returns ​

IRotationPointData

Implementation of ​

IPath.getMotionPoint

Inherited from ​

UI.getMotionPoint

Defined in ​

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


getMotionTotal ​

â–¸ getMotionTotal(): number

Returns ​

number

Implementation of ​

IPath.getMotionTotal

Inherited from ​

UI.getMotionTotal

Defined in ​

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


__updateMotionPath ​

â–¸ __updateMotionPath(): void

Returns ​

void

Implementation of ​

IPath.__updateMotionPath

Inherited from ​

UI.__updateMotionPath

Defined in ​

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


__runAnimation ​

â–¸ __runAnimation(_type, _complete?): void

Parameters ​

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

Returns ​

void

Implementation of ​

IPath.__runAnimation

Inherited from ​

UI.__runAnimation

Defined in ​

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


__updateSortChildren ​

â–¸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

IPath.__updateSortChildren

Inherited from ​

UI.__updateSortChildren

Defined in ​

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


add ​

â–¸ add(_child, _index?): void

Parameters ​

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

Returns ​

void

Implementation of ​

IPath.add

Inherited from ​

UI.add

Defined in ​

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


remove ​

â–¸ remove(_child?, destroy?): void

Parameters ​

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

Returns ​

void

Implementation of ​

IPath.remove

Inherited from ​

UI.remove

Defined in ​

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


dropTo ​

â–¸ dropTo(parent, index?, resize?): void

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Implementation of ​

IPath.dropTo

Inherited from ​

UI.dropTo

Defined in ​

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


on ​

â–¸ on(_type, _listener?, _options?): void

Parameters ​

NameType
_typestring | string[] | IEventParamsMap | IEventParams[]
_listener?IFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IPath.on

Inherited from ​

UI.on

Defined in ​

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


off ​

â–¸ off(_type?, _listener?, _options?): void

Parameters ​

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

Returns ​

void

Implementation of ​

IPath.off

Inherited from ​

UI.off

Defined in ​

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


on_ ​

â–¸ on_(_type, _listener?, _bind?, _options?): IEventListenerId

Parameters ​

NameType
_typestring | string[] | IEventParams[]
_listener?IFunction
_bind?IObject
_options?IEventOption

Returns ​

IEventListenerId

Implementation of ​

IPath.on_

Inherited from ​

UI.on_

Defined in ​

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


off_ ​

â–¸ off_(_id): void

Parameters ​

NameType
_idIEventListenerId | IEventListenerId[]

Returns ​

void

Implementation of ​

IPath.off_

Inherited from ​

UI.off_

Defined in ​

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


once ​

â–¸ once(_type, _listener?, _captureOrBind?, _capture?): void

Parameters ​

NameType
_typestring | string[] | IEventParams[]
_listener?IFunction
_captureOrBind?boolean | IObject
_capture?boolean

Returns ​

void

Implementation of ​

IPath.once

Inherited from ​

UI.once

Defined in ​

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


emit ​

â–¸ emit(_type, _event?, _capture?): void

Parameters ​

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IPath.emit

Inherited from ​

UI.emit

Defined in ​

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


emitEvent ​

â–¸ emitEvent(_event?, _capture?): void

Parameters ​

NameType
_event?IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IPath.emitEvent

Inherited from ​

UI.emitEvent

Defined in ​

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


hasEvent ​

â–¸ hasEvent(_type, _capture?): boolean

Parameters ​

NameType
_typestring
_capture?boolean

Returns ​

boolean

Implementation of ​

IPath.hasEvent

Inherited from ​

UI.hasEvent

Defined in ​

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


changeAttr ​

â–¸ changeAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValueFunction | IValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

UI.changeAttr

Defined in ​

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


addAttr ​

â–¸ addAttr(attrName, defaultValue, fn?, helpValue?): void

Parameters ​

NameType
attrNamestring
defaultValueIValueFunction | IValue
fn?IAttrDecorator
helpValue?IValue

Returns ​

void

Inherited from ​

UI.addAttr

Defined in ​

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


__emitLifeEvent ​

â–¸ __emitLifeEvent(type): void

Parameters ​

NameType
typestring

Returns ​

void

Implementation of ​

IPath.__emitLifeEvent

Inherited from ​

UI.__emitLifeEvent

Defined in ​

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


reset ​

â–¸ reset(_data?): void

Parameters ​

NameType
_data?IUIInputData

Returns ​

void

Implementation of ​

IPath.reset

Inherited from ​

UI.reset

Defined in ​

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


set ​

â–¸ set(data, _transition?): void

Parameters ​

NameType
dataIUIInputData
_transition?ITransition | "temp"

Returns ​

void

Implementation of ​

IPath.set

Inherited from ​

UI.set

Defined in ​

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


get ​

â–¸ get<K>(name?): IUIInputData | Path<TInputData>[K]

Type parameters ​

NameType
Kextends keyof Path<TInputData>

Parameters ​

NameType
name?IUIInputData | K | K[]

Returns ​

IUIInputData | Path<TInputData>[K]

Implementation of ​

IPath.get

Inherited from ​

UI.get

Defined in ​

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


createProxyData ​

â–¸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

IPath.createProxyData

Inherited from ​

UI.createProxyData

Defined in ​

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


clearProxyData ​

â–¸ clearProxyData(): void

Returns ​

void

Implementation of ​

IPath.clearProxyData

Inherited from ​

UI.clearProxyData

Defined in ​

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


find ​

â–¸ find(_condition, _options?): IUI[]

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI[]

Implementation of ​

IPath.find

Inherited from ​

UI.find

Defined in ​

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


findTag ​

â–¸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Implementation of ​

IPath.findTag

Inherited from ​

UI.findTag

Defined in ​

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


findOne ​

â–¸ findOne(_condition, _options?): IUI

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI

Implementation of ​

IPath.findOne

Inherited from ​

UI.findOne

Defined in ​

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


findId ​

â–¸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Implementation of ​

IPath.findId

Inherited from ​

UI.findId

Defined in ​

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


getPath ​

â–¸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Implementation of ​

IPath.getPath

Inherited from ​

UI.getPath

Defined in ​

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


getPathString ​

â–¸ getPathString(curve?, pathForRender?, floatLength?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns ​

string

Implementation of ​

IPath.getPathString

Inherited from ​

UI.getPathString

Defined in ​

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


asPath ​

â–¸ asPath(curve?, pathForRender?): void

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

void

Implementation of ​

IPath.asPath

Inherited from ​

UI.asPath

Defined in ​

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


load ​

â–¸ load(): void

Returns ​

void

Implementation of ​

IPath.load

Inherited from ​

UI.load

Defined in ​

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


__onUpdateSize ​

â–¸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

IPath.__onUpdateSize

Inherited from ​

UI.__onUpdateSize

Defined in ​

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


__updateRenderPath ​

â–¸ __updateRenderPath(updateCache?): void

Parameters ​

NameType
updateCache?boolean

Returns ​

void

Implementation of ​

IPath.__updateRenderPath

Inherited from ​

UI.__updateRenderPath

Defined in ​

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


__drawRenderPath ​

â–¸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IPath.__drawRenderPath

Inherited from ​

UI.__drawRenderPath

Defined in ​

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


__drawPath ​

â–¸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IPath.__drawPath

Inherited from ​

UI.__drawPath

Defined in ​

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


__drawPathByData ​

â–¸ __drawPathByData(drawer, data, ignoreCornerRadius?): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData
ignoreCornerRadius?boolean

Returns ​

void

Implementation of ​

IPath.__drawPathByData

Inherited from ​

UI.__drawPathByData

Defined in ​

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


__drawPathByBox ​

â–¸ __drawPathByBox(drawer, ignoreCornerRadius?): void

Parameters ​

NameType
drawerIPathDrawer
ignoreCornerRadius?boolean

Returns ​

void

Implementation of ​

IPath.__drawPathByBox

Inherited from ​

UI.__drawPathByBox

Defined in ​

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


drawImagePlaceholder ​

â–¸ drawImagePlaceholder(_paint, canvas, renderOptions): void

Parameters ​

NameType
_paintILeafPaint
canvasILeaferCanvas
renderOptionsIRenderOptions

Returns ​

void

Implementation of ​

IPath.drawImagePlaceholder

Inherited from ​

UI.drawImagePlaceholder

Defined in ​

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


animate ​

â–¸ animate(keyframe?, _options?, _type?, _isTemp?): IAnimate

Parameters ​

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

Returns ​

IAnimate

Implementation of ​

IPath.animate

Inherited from ​

UI.animate

Defined in ​

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


killAnimate ​

â–¸ killAnimate(_type?, _nextStyle?): void

Parameters ​

NameType
_type?IAnimateType
_nextStyle?IUIInputData

Returns ​

void

Implementation of ​

IPath.killAnimate

Inherited from ​

UI.killAnimate

Defined in ​

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


export ​

â–¸ export(_filename, _options?): Promise<IExportResult>

Parameters ​

NameType
_filenamestring
_options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Implementation of ​

IPath.export

Inherited from ​

UI.export

Defined in ​

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


syncExport ​

â–¸ syncExport(_filename, _options?): IExportResult

Parameters ​

NameType
_filenamestring
_options?number | boolean | IExportOptions

Returns ​

IExportResult

Implementation of ​

IPath.syncExport

Inherited from ​

UI.syncExport

Defined in ​

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


clone ​

â–¸ clone(data?): this

Parameters ​

NameType
data?IUIInputData

Returns ​

this

Implementation of ​

IPath.clone

Inherited from ​

UI.clone

Defined in ​

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


one ​

â–¸ one<T>(this, data, x?, y?, width?, height?): T

Type parameters ​

NameType
Textends UI<IUIInputData>

Parameters ​

NameType
this(...args: any[]) => T
dataIUIInputData
x?number
y?number
width?number
height?number

Returns ​

T

Inherited from ​

UI.one

Defined in ​

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


registerUI ​

â–¸ registerUI(): void

Returns ​

void

Inherited from ​

UI.registerUI

Defined in ​

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


registerData ​

â–¸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

UI.registerData

Defined in ​

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


setEditConfig ​

â–¸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

UI.setEditConfig

Defined in ​

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


setEditOuter ​

â–¸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

UI.setEditOuter

Defined in ​

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


setEditInner ​

â–¸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

UI.setEditInner

Defined in ​

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


destroy ​

â–¸ destroy(): void

Returns ​

void

Implementation of ​

IPath.destroy

Inherited from ​

UI.destroy

Defined in ​

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

Released under the MIT License.