Skip to content

Interface: ILeaf โ€‹

Hierarchy โ€‹

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

ILeafInputData.id

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:210


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

ILeafInputData.name

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:211


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

ILeafInputData.className

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:212


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

ILeafInputData.blendMode

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:214


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

ILeafInputData.opacity

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:215


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

ILeafInputData.visible

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:216


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

ILeafInputData.selected

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:217


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

ILeafInputData.disabled

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:218


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

ILeafInputData.locked

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:219


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

ILeafInputData.zIndex

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:220


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

ILeafInputData.mask

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:222


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

ILeafInputData.eraser

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:223


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

ILeafInputData.x

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:226


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

ILeafInputData.y

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:227


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

ILeafInputData.width

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:228


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

ILeafInputData.height

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:229


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

ILeafInputData.scaleX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:230


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

ILeafInputData.scaleY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:231


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

ILeafInputData.rotation

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:232


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

ILeafInputData.skewX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:233


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

ILeafInputData.skewY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:234


scale โ€‹

โ€ข Optional scale: number | IPointData

Inherited from โ€‹

ILeafInputData.scale

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:236


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

ILeafInputData.offsetX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:238


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

ILeafInputData.offsetY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:239


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

ILeafInputData.scrollX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:240


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

ILeafInputData.scrollY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:241


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

ILeafInputData.origin

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:243


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

ILeafInputData.around

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:244


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

ILeafInputData.lazy

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:246


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

ILeafInputData.pixelRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:247


path โ€‹

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

Inherited from โ€‹

ILeafInputData.path

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:249


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

ILeafInputData.windingRule

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:250


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

ILeafInputData.closed

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:251


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

ILeafInputData.flow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:254


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

ILeafInputData.padding

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:255


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

ILeafInputData.gap

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:256


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

ILeafInputData.flowAlign

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:257


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

ILeafInputData.flowWrap

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:258


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

ILeafInputData.itemBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:259


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

ILeafInputData.inFlow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:261


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

ILeafInputData.autoWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:262


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

ILeafInputData.autoHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:263


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

ILeafInputData.lockRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:264


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

ILeafInputData.autoBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:265


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

ILeafInputData.widthRange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:267


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

ILeafInputData.heightRange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:268


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

ILeafInputData.draggable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:271


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

ILeafInputData.dragBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:272


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

ILeafInputData.editable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:274


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

ILeafInputData.hittable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:276


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

ILeafInputData.hitFill

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:277


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

ILeafInputData.hitStroke

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:278


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

ILeafInputData.hitBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:279


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

ILeafInputData.hitChildren

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:280


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

ILeafInputData.hitSelf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:281


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

ILeafInputData.hitRadius

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:282


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

ILeafInputData.button

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:284


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

ILeafInputData.cursor

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:285


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

ILeafInputData.motionPath

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:287


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

ILeafInputData.motion

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:288


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

ILeafInputData.motionRotation

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:289


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

ILeafInputData.normalStyle

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:291


event โ€‹

โ€ข Optional event: IEventMap

Inherited from โ€‹

IEventer.event

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:293


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

ILeafInputData.data

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:296


noBounds โ€‹

โ€ข Optional noBounds: boolean

Inherited from โ€‹

ILeafInputData.noBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:305


tag โ€‹

โ€ข tag: string

Overrides โ€‹

ILeafInputData.tag

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:420


__tag โ€‹

โ€ข Readonly __tag: string

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:421


innerName โ€‹

โ€ข Readonly innerName: string

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:422


__DataProcessor โ€‹

โ€ข Readonly __DataProcessor: IObject

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:424


__LayoutProcessor โ€‹

โ€ข Readonly __LayoutProcessor: IObject

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:425


app โ€‹

โ€ข Optional Readonly app: ILeaferBase

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:427


leafer โ€‹

โ€ข Optional leafer: ILeaferBase

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:428


parent โ€‹

โ€ข Optional parent: ILeaf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:429


zoomLayer โ€‹

โ€ข Optional zoomLayer: ILeaf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:430


leaferIsCreated โ€‹

โ€ข Readonly leaferIsCreated: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:432


leaferIsReady โ€‹

โ€ข Readonly leaferIsReady: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:433


isApp โ€‹

โ€ข Optional Readonly isApp: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:435


isLeafer โ€‹

โ€ข Optional Readonly isLeafer: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:436


isBranch โ€‹

โ€ข Optional Readonly isBranch: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:437


isBranchLeaf โ€‹

โ€ข Optional Readonly isBranchLeaf: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:438


isOutside โ€‹

โ€ข Optional Readonly isOutside: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:439


__ โ€‹

โ€ข __: ILeafData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:441


proxyData โ€‹

โ€ข Optional proxyData: ILeafInputData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:443


__proxyData โ€‹

โ€ข Optional __proxyData: ILeafInputData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:444


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Overrides โ€‹

IEventer.syncEventer

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:446


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:447


__layout โ€‹

โ€ข __layout: ILeafLayout

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:449


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:451


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:452


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:454


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:455


__localMatrix โ€‹

โ€ข Readonly __localMatrix: IMatrixData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:457


__localBoxBounds โ€‹

โ€ข Readonly __localBoxBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:458


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:460


worldTransform โ€‹

โ€ข Readonly worldTransform: IMatrixWithScaleData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:462


localTransform โ€‹

โ€ข Readonly localTransform: IMatrixData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:463


boxBounds โ€‹

โ€ข Readonly boxBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:465


renderBounds โ€‹

โ€ข Readonly renderBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:466


worldBoxBounds โ€‹

โ€ข Readonly worldBoxBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:467


worldStrokeBounds โ€‹

โ€ข Readonly worldStrokeBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:468


worldRenderBounds โ€‹

โ€ข Readonly worldRenderBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:469


worldOpacity โ€‹

โ€ข Readonly worldOpacity: number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:471


__level โ€‹

โ€ข __level: number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:473


__tempNumber โ€‹

โ€ข Optional __tempNumber: number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:474


__worldFlipped โ€‹

โ€ข Readonly __worldFlipped: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:476


animation โ€‹

โ€ข Optional animation: IObject

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:478


animationOut โ€‹

โ€ข Optional animationOut: IObject

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:479


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:481


__hasMotionPath โ€‹

โ€ข Optional __hasMotionPath: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:482


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:484


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:485


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:486


__flowBounds โ€‹

โ€ข Optional __flowBounds: IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:488


__widthGrow โ€‹

โ€ข Optional __widthGrow: number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:489


__heightGrow โ€‹

โ€ข Optional __heightGrow: number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:490


__hasGrow โ€‹

โ€ข Optional __hasGrow: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:491


__onlyHitMask โ€‹

โ€ข Readonly __onlyHitMask: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:493


__ignoreHitWorld โ€‹

โ€ข Readonly __ignoreHitWorld: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:494


__inLazyBounds โ€‹

โ€ข Readonly __inLazyBounds: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:495


pathInputed โ€‹

โ€ข Readonly pathInputed: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:497


destroyed โ€‹

โ€ข destroyed: boolean

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:499


children โ€‹

โ€ข Optional children: ILeaf[]

Overrides โ€‹

ILeafInputData.children

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:665


innerId โ€‹

โ€ข Readonly innerId: number

Inherited from โ€‹

IEventer.innerId

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:39


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Inherited from โ€‹

IEventer.__captureMap

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:40


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Inherited from โ€‹

IEventer.__bubbleMap

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:41

Methods โ€‹

reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?ILeafInputData

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:501


resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:502


waitParent โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:504


waitLeafer โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:505


nextRender โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject
off?"off"

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:506


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:507


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:509


set โ€‹

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

Parameters โ€‹

NameType
dataIObject
isTemp?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:511


get โ€‹

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

Parameters โ€‹

NameType
name?string | string[] | IObject

Returns โ€‹

IValue | ILeafInputData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:512


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:513


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:514


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:515


toJSON โ€‹

โ–ธ toJSON(options?): IObject

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IObject

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:517


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:518


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:519


__SVG โ€‹

โ–ธ __SVG(data): void

Parameters โ€‹

NameType
dataIObject

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:520


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:521


__setAttr โ€‹

โ–ธ __setAttr(attrName, newValue, checkFiniteNumber?): boolean

Parameters โ€‹

NameType
attrNamestring
newValueIValue
checkFiniteNumber?boolean

Returns โ€‹

boolean

Overrides โ€‹

ILeafDataProxy.__setAttr

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:524


__getAttr โ€‹

โ–ธ __getAttr(attrName): IValue

Parameters โ€‹

NameType
attrNamestring

Returns โ€‹

IValue

Overrides โ€‹

ILeafDataProxy.__getAttr

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:525


setProxyAttr โ€‹

โ–ธ setProxyAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Overrides โ€‹

ILeafDataProxy.setProxyAttr

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:526


getProxyAttr โ€‹

โ–ธ getProxyAttr(name): IValue

Parameters โ€‹

NameType
namestring

Returns โ€‹

IValue

Overrides โ€‹

ILeafDataProxy.getProxyAttr

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:527


find โ€‹

โ–ธ find(condition, options?): ILeaf[]

Parameters โ€‹

NameType
conditionstring | number | IFindMethod
options?any

Returns โ€‹

ILeaf[]

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:530


findTag โ€‹

โ–ธ findTag(tag): ILeaf[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

ILeaf[]

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:531


findOne โ€‹

โ–ธ findOne(condition, options?): ILeaf

Parameters โ€‹

NameType
conditionstring | number | IFindMethod
options?any

Returns โ€‹

ILeaf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:532


findId โ€‹

โ–ธ findId(id): ILeaf

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

ILeaf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:533


focus โ€‹

โ–ธ focus(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:535


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:537


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:538


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:539


forceRender โ€‹

โ–ธ forceRender(_bounds?): void

Parameters โ€‹

NameType
_bounds?IBoundsData

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:540


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Overrides โ€‹

ILeafMatrix.__updateWorldMatrix

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:543


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Overrides โ€‹

ILeafMatrix.__updateLocalMatrix

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:544


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateWorldBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:547


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateLocalBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:548


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateLocalBoxBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:550


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateLocalStrokeBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:551


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateLocalRenderBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:552


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:554


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(secondLayout?): void

Parameters โ€‹

NameType
secondLayout?boolean

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateBoxBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:555


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateStrokeBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:556


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateRenderBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:557


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateAutoLayout

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:559


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateFlowLayout

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:560


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__updateNaturalSize

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:561


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Overrides โ€‹

ILeafBounds.__updateStrokeSpread

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:563


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Overrides โ€‹

ILeafBounds.__updateRenderSpread

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:564


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Overrides โ€‹

ILeafBounds.__onUpdateSize

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:566


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:569


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:570


__renderMask โ€‹

โ–ธ __renderMask(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:571


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:572


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:575


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:577


getBounds โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:579


getLayoutBounds โ€‹

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

Parameters โ€‹

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

Returns โ€‹

ILayoutBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:580


getLayoutPoints โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IPointData[]

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:581


getWorldBounds โ€‹

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

Parameters โ€‹

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns โ€‹

IBoundsData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:583


worldToLocal โ€‹

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

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:585


localToWorld โ€‹

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

Parameters โ€‹

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:586


worldToInner โ€‹

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

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:587


innerToWorld โ€‹

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

Parameters โ€‹

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:588


getBoxPoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:590


getBoxPointByInner โ€‹

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

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:591


getInnerPoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:592


getInnerPointByBox โ€‹

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

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:593


getInnerPointByLocal โ€‹

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

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:594


getLocalPoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:595


getLocalPointByInner โ€‹

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

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:596


getPagePoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:597


getWorldPoint โ€‹

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

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:598


getWorldPointByBox โ€‹

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

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:599


getWorldPointByLocal โ€‹

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

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:600


getWorldPointByPage โ€‹

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

Parameters โ€‹

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:601


setTransform โ€‹

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

Parameters โ€‹

NameType
transform?IMatrixData
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:604


transform โ€‹

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

Parameters โ€‹

NameType
transform?IMatrixData
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:605


move โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:606


moveInner โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:608


scaleOf โ€‹

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

Parameters โ€‹

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:609


rotateOf โ€‹

โ–ธ rotateOf(origin, rotation): void

Parameters โ€‹

NameType
originIPointData | IDirection
rotationnumber

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:610


skewOf โ€‹

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

Parameters โ€‹

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:611


transformWorld โ€‹

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

Parameters โ€‹

NameType
worldTransform?IMatrixData
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:613


moveWorld โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:614


scaleOfWorld โ€‹

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

Parameters โ€‹

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:615


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:616


skewOfWorld โ€‹

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

Parameters โ€‹

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:617


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:619


scaleResize โ€‹

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

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber
noResize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:621


__scaleResize โ€‹

โ–ธ __scaleResize(scaleX, scaleY): void

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:622


resizeWidth โ€‹

โ–ธ resizeWidth(width): void

Parameters โ€‹

NameType
widthnumber

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:624


resizeHeight โ€‹

โ–ธ resizeHeight(height): void

Parameters โ€‹

NameType
heightnumber

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:625


__hitWorld โ€‹

โ–ธ __hitWorld(point): boolean

Parameters โ€‹

NameType
pointIRadiusPointData

Returns โ€‹

boolean

Overrides โ€‹

ILeafHit.__hitWorld

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:628


__hit โ€‹

โ–ธ __hit(local): boolean

Parameters โ€‹

NameType
localIRadiusPointData

Returns โ€‹

boolean

Overrides โ€‹

ILeafHit.__hit

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:629


__hitFill โ€‹

โ–ธ __hitFill(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Overrides โ€‹

ILeafHit.__hitFill

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:630


__hitStroke โ€‹

โ–ธ __hitStroke(inner, strokeWidth): boolean

Parameters โ€‹

NameType
innerIRadiusPointData
strokeWidthnumber

Returns โ€‹

boolean

Overrides โ€‹

ILeafHit.__hitStroke

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:631


__hitPixel โ€‹

โ–ธ __hitPixel(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Overrides โ€‹

ILeafHit.__hitPixel

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:632


__drawHitPath โ€‹

โ–ธ __drawHitPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Overrides โ€‹

ILeafHit.__drawHitPath

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:633


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Overrides โ€‹

ILeafHit.__updateHitCanvas

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:634


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__render

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:637


__drawFast โ€‹

โ–ธ __drawFast(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__drawFast

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:638


__draw โ€‹

โ–ธ __draw(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__draw

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:639


__clip โ€‹

โ–ธ __clip(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__clip

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:641


__renderShape โ€‹

โ–ธ __renderShape(canvas, options, ignoreFill?, ignoreStroke?): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions
ignoreFill?boolean
ignoreStroke?boolean

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__renderShape

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:642


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__updateWorldOpacity

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:644


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Overrides โ€‹

ILeafRender.__updateChange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:645


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:648


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:649


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:650


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:651


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:654


getMotionPoint โ€‹

โ–ธ getMotionPoint(motionDistance): IRotationPointData

Parameters โ€‹

NameType
motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:655


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:656


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:658


__runAnimation โ€‹

โ–ธ __runAnimation(type, complete?): void

Parameters โ€‹

NameType
type"in" | "out"
complete?IFunction

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:660


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:662


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:667


add โ€‹

โ–ธ add(child, index?): void

Parameters โ€‹

NameType
childILeaf | ILeafInputData | ILeaf[] | ILeafInputData[]
index?number

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:668


remove โ€‹

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

Parameters โ€‹

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

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:669


dropTo โ€‹

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

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:670


__realSetAttr โ€‹

โ–ธ __realSetAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

ILeafDataProxy.__realSetAttr

Defined in โ€‹

leafer/packages/interface/src/display/module/ILeafDataProxy.ts:9


destroyEventer โ€‹

โ–ธ destroyEventer(): void

Returns โ€‹

void

Inherited from โ€‹

IEventer.destroyEventer

Defined in โ€‹

leafer/packages/interface/src/display/module/ILeafEventer.ts:18


on โ€‹

โ–ธ on(type, listener?, options?): void

Parameters โ€‹

NameType
typestring | string[] | IEventMap
listener?IFunction
options?IEventOption

Returns โ€‹

void

Inherited from โ€‹

IEventer.on

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:45


off โ€‹

โ–ธ off(type?, listener?, options?): void

Parameters โ€‹

NameType
type?string | string[]
listener?IFunction
options?IEventOption

Returns โ€‹

void

Inherited from โ€‹

IEventer.off

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:46


on_ โ€‹

โ–ธ on_(type, listener, bind?, options?): IEventListenerId

Parameters โ€‹

NameType
typestring | string[]
listenerIFunction
bind?IObject
options?IEventOption

Returns โ€‹

IEventListenerId

Inherited from โ€‹

IEventer.on_

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:47


off_ โ€‹

โ–ธ off_(id): void

Parameters โ€‹

NameType
idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Inherited from โ€‹

IEventer.off_

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:48


once โ€‹

โ–ธ once(type, listener): void

Parameters โ€‹

NameType
typestring | string[]
listenerIFunction

Returns โ€‹

void

Inherited from โ€‹

IEventer.once

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:49


emit โ€‹

โ–ธ emit(type, event?, capture?): void

Parameters โ€‹

NameType
typestring
event?IObject | IEvent
capture?boolean

Returns โ€‹

void

Inherited from โ€‹

IEventer.emit

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:50


emitEvent โ€‹

โ–ธ emitEvent(event?, capture?): void

Parameters โ€‹

NameType
event?IEvent
capture?boolean

Returns โ€‹

void

Inherited from โ€‹

IEventer.emitEvent

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:51


hasEvent โ€‹

โ–ธ hasEvent(type, capture?): boolean

Parameters โ€‹

NameType
typestring
capture?boolean

Returns โ€‹

boolean

Inherited from โ€‹

IEventer.hasEvent

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:52


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

IEventer.destroy

Defined in โ€‹

leafer/packages/interface/src/event/IEventer.ts:54

Released under the MIT License.