Skip to content

Interface: IBranch โ€‹

Hierarchy โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

children โ€‹

โ€ข children: ILeaf[]

Overrides โ€‹

ILeaf.children

Defined in โ€‹

leafer/packages/interface/src/display/IBranch.ts:6


id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

ILeaf.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

ILeaf.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

ILeaf.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

ILeaf.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

ILeaf.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

ILeaf.visible

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

ILeaf.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

ILeaf.disabled

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

ILeaf.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

ILeaf.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

ILeaf.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

ILeaf.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

ILeaf.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

ILeaf.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

ILeaf.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

ILeaf.height

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

ILeaf.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

ILeaf.scaleY

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

ILeaf.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

ILeaf.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

ILeaf.skewY

Defined in โ€‹

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


scale โ€‹

โ€ข Optional scale: number | IPointData

Inherited from โ€‹

ILeaf.scale

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

ILeaf.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

ILeaf.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

ILeaf.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

ILeaf.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

ILeaf.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

ILeaf.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

ILeaf.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

ILeaf.pixelRatio

Defined in โ€‹

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


path โ€‹

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

Inherited from โ€‹

ILeaf.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

ILeaf.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

ILeaf.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

ILeaf.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

ILeaf.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

ILeaf.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

ILeaf.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

ILeaf.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

ILeaf.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

ILeaf.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

ILeaf.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

ILeaf.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

ILeaf.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

ILeaf.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

ILeaf.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

ILeaf.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

ILeaf.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

ILeaf.dragBounds

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

ILeaf.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

ILeaf.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

ILeaf.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

ILeaf.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

ILeaf.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

ILeaf.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

ILeaf.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

ILeaf.hitRadius

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

ILeaf.button

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

ILeaf.cursor

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

ILeaf.motionPath

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

ILeaf.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

ILeaf.motionRotation

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

ILeaf.normalStyle

Defined in โ€‹

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


event โ€‹

โ€ข Optional event: IEventMap

Inherited from โ€‹

ILeaf.event

Defined in โ€‹

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


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

ILeaf.data

Defined in โ€‹

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


noBounds โ€‹

โ€ข Optional noBounds: boolean

Inherited from โ€‹

ILeaf.noBounds

Defined in โ€‹

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


tag โ€‹

โ€ข tag: string

Inherited from โ€‹

ILeaf.tag

Defined in โ€‹

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


__tag โ€‹

โ€ข Readonly __tag: string

Inherited from โ€‹

ILeaf.__tag

Defined in โ€‹

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


innerName โ€‹

โ€ข Readonly innerName: string

Inherited from โ€‹

ILeaf.innerName

Defined in โ€‹

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


__DataProcessor โ€‹

โ€ข Readonly __DataProcessor: IObject

Inherited from โ€‹

ILeaf.__DataProcessor

Defined in โ€‹

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


__LayoutProcessor โ€‹

โ€ข Readonly __LayoutProcessor: IObject

Inherited from โ€‹

ILeaf.__LayoutProcessor

Defined in โ€‹

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


app โ€‹

โ€ข Optional Readonly app: ILeaferBase

Inherited from โ€‹

ILeaf.app

Defined in โ€‹

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


leafer โ€‹

โ€ข Optional leafer: ILeaferBase

Inherited from โ€‹

ILeaf.leafer

Defined in โ€‹

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


parent โ€‹

โ€ข Optional parent: ILeaf

Inherited from โ€‹

ILeaf.parent

Defined in โ€‹

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


zoomLayer โ€‹

โ€ข Optional zoomLayer: ILeaf

Inherited from โ€‹

ILeaf.zoomLayer

Defined in โ€‹

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


leaferIsCreated โ€‹

โ€ข Readonly leaferIsCreated: boolean

Inherited from โ€‹

ILeaf.leaferIsCreated

Defined in โ€‹

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


leaferIsReady โ€‹

โ€ข Readonly leaferIsReady: boolean

Inherited from โ€‹

ILeaf.leaferIsReady

Defined in โ€‹

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


isApp โ€‹

โ€ข Optional Readonly isApp: boolean

Inherited from โ€‹

ILeaf.isApp

Defined in โ€‹

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


isLeafer โ€‹

โ€ข Optional Readonly isLeafer: boolean

Inherited from โ€‹

ILeaf.isLeafer

Defined in โ€‹

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


isBranch โ€‹

โ€ข Optional Readonly isBranch: boolean

Inherited from โ€‹

ILeaf.isBranch

Defined in โ€‹

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


isBranchLeaf โ€‹

โ€ข Optional Readonly isBranchLeaf: boolean

Inherited from โ€‹

ILeaf.isBranchLeaf

Defined in โ€‹

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


isOutside โ€‹

โ€ข Optional Readonly isOutside: boolean

Inherited from โ€‹

ILeaf.isOutside

Defined in โ€‹

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


__ โ€‹

โ€ข __: ILeafData

Inherited from โ€‹

ILeaf.__

Defined in โ€‹

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


proxyData โ€‹

โ€ข Optional proxyData: ILeafInputData

Inherited from โ€‹

ILeaf.proxyData

Defined in โ€‹

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


__proxyData โ€‹

โ€ข Optional __proxyData: ILeafInputData

Inherited from โ€‹

ILeaf.__proxyData

Defined in โ€‹

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


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Inherited from โ€‹

ILeaf.syncEventer

Defined in โ€‹

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


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Inherited from โ€‹

ILeaf.lockNormalStyle

Defined in โ€‹

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


__layout โ€‹

โ€ข __layout: ILeafLayout

Inherited from โ€‹

ILeaf.__layout

Defined in โ€‹

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


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeaf.__world

Defined in โ€‹

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


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Inherited from โ€‹

ILeaf.__local

Defined in โ€‹

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


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeaf.__nowWorld

Defined in โ€‹

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


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeaf.__cameraWorld

Defined in โ€‹

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


__localMatrix โ€‹

โ€ข Readonly __localMatrix: IMatrixData

Inherited from โ€‹

ILeaf.__localMatrix

Defined in โ€‹

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


__localBoxBounds โ€‹

โ€ข Readonly __localBoxBounds: IBoundsData

Inherited from โ€‹

ILeaf.__localBoxBounds

Defined in โ€‹

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


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Inherited from โ€‹

ILeaf.__worldOpacity

Defined in โ€‹

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


worldTransform โ€‹

โ€ข Readonly worldTransform: IMatrixWithScaleData

Inherited from โ€‹

ILeaf.worldTransform

Defined in โ€‹

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


localTransform โ€‹

โ€ข Readonly localTransform: IMatrixData

Inherited from โ€‹

ILeaf.localTransform

Defined in โ€‹

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


boxBounds โ€‹

โ€ข Readonly boxBounds: IBoundsData

Inherited from โ€‹

ILeaf.boxBounds

Defined in โ€‹

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


renderBounds โ€‹

โ€ข Readonly renderBounds: IBoundsData

Inherited from โ€‹

ILeaf.renderBounds

Defined in โ€‹

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


worldBoxBounds โ€‹

โ€ข Readonly worldBoxBounds: IBoundsData

Inherited from โ€‹

ILeaf.worldBoxBounds

Defined in โ€‹

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


worldStrokeBounds โ€‹

โ€ข Readonly worldStrokeBounds: IBoundsData

Inherited from โ€‹

ILeaf.worldStrokeBounds

Defined in โ€‹

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


worldRenderBounds โ€‹

โ€ข Readonly worldRenderBounds: IBoundsData

Inherited from โ€‹

ILeaf.worldRenderBounds

Defined in โ€‹

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


worldOpacity โ€‹

โ€ข Readonly worldOpacity: number

Inherited from โ€‹

ILeaf.worldOpacity

Defined in โ€‹

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


__level โ€‹

โ€ข __level: number

Inherited from โ€‹

ILeaf.__level

Defined in โ€‹

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


__tempNumber โ€‹

โ€ข Optional __tempNumber: number

Inherited from โ€‹

ILeaf.__tempNumber

Defined in โ€‹

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


__worldFlipped โ€‹

โ€ข Readonly __worldFlipped: boolean

Inherited from โ€‹

ILeaf.__worldFlipped

Defined in โ€‹

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


animation โ€‹

โ€ข Optional animation: IObject

Inherited from โ€‹

ILeaf.animation

Defined in โ€‹

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


animationOut โ€‹

โ€ข Optional animationOut: IObject

Inherited from โ€‹

ILeaf.animationOut

Defined in โ€‹

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


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Inherited from โ€‹

ILeaf.__hasAutoLayout

Defined in โ€‹

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


__hasMotionPath โ€‹

โ€ข Optional __hasMotionPath: boolean

Inherited from โ€‹

ILeaf.__hasMotionPath

Defined in โ€‹

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


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Inherited from โ€‹

ILeaf.__hasMask

Defined in โ€‹

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


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Inherited from โ€‹

ILeaf.__hasEraser

Defined in โ€‹

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


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Inherited from โ€‹

ILeaf.__hitCanvas

Defined in โ€‹

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


__flowBounds โ€‹

โ€ข Optional __flowBounds: IBoundsData

Inherited from โ€‹

ILeaf.__flowBounds

Defined in โ€‹

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


__widthGrow โ€‹

โ€ข Optional __widthGrow: number

Inherited from โ€‹

ILeaf.__widthGrow

Defined in โ€‹

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


__heightGrow โ€‹

โ€ข Optional __heightGrow: number

Inherited from โ€‹

ILeaf.__heightGrow

Defined in โ€‹

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


__hasGrow โ€‹

โ€ข Optional __hasGrow: boolean

Inherited from โ€‹

ILeaf.__hasGrow

Defined in โ€‹

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


__onlyHitMask โ€‹

โ€ข Readonly __onlyHitMask: boolean

Inherited from โ€‹

ILeaf.__onlyHitMask

Defined in โ€‹

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


__ignoreHitWorld โ€‹

โ€ข Readonly __ignoreHitWorld: boolean

Inherited from โ€‹

ILeaf.__ignoreHitWorld

Defined in โ€‹

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


__inLazyBounds โ€‹

โ€ข Readonly __inLazyBounds: boolean

Inherited from โ€‹

ILeaf.__inLazyBounds

Defined in โ€‹

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


pathInputed โ€‹

โ€ข Readonly pathInputed: boolean

Inherited from โ€‹

ILeaf.pathInputed

Defined in โ€‹

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


destroyed โ€‹

โ€ข destroyed: boolean

Inherited from โ€‹

ILeaf.destroyed

Defined in โ€‹

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


innerId โ€‹

โ€ข Readonly innerId: number

Inherited from โ€‹

ILeaf.innerId

Defined in โ€‹

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


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Inherited from โ€‹

ILeaf.__captureMap

Defined in โ€‹

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


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Inherited from โ€‹

ILeaf.__bubbleMap

Defined in โ€‹

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

Methods โ€‹

__renderBranch โ€‹

โ–ธ __renderBranch(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/IBranch.ts:7


addMany โ€‹

โ–ธ addMany(...children): void

Parameters โ€‹

NameType
...childrenILeaf[] | ILeafInputData[]

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/IBranch.ts:8


removeAll โ€‹

โ–ธ removeAll(destroy?): void

Parameters โ€‹

NameType
destroy?boolean

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/IBranch.ts:9


clear โ€‹

โ–ธ clear(): void

Returns โ€‹

void

Defined in โ€‹

leafer/packages/interface/src/display/IBranch.ts:10


reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?ILeafInputData

Returns โ€‹

void

Inherited from โ€‹

ILeaf.reset

Defined in โ€‹

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


resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.resetCustom

Defined in โ€‹

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


waitParent โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

ILeaf.waitParent

Defined in โ€‹

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


waitLeafer โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

ILeaf.waitLeafer

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

Inherited from โ€‹

ILeaf.nextRender

Defined in โ€‹

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


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Inherited from โ€‹

ILeaf.removeNextRender

Defined in โ€‹

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


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__bindLeafer

Defined in โ€‹

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


set โ€‹

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

Parameters โ€‹

NameType
dataIObject
isTemp?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.set

Defined in โ€‹

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


get โ€‹

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

Parameters โ€‹

NameType
name?string | string[] | IObject

Returns โ€‹

IValue | ILeafInputData

Inherited from โ€‹

ILeaf.get

Defined in โ€‹

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


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

ILeaf.setAttr

Defined in โ€‹

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


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

ILeaf.getAttr

Defined in โ€‹

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


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

ILeaf.getComputedAttr

Defined in โ€‹

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


toJSON โ€‹

โ–ธ toJSON(options?): IObject

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IObject

Inherited from โ€‹

ILeaf.toJSON

Defined in โ€‹

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


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Inherited from โ€‹

ILeaf.toString

Defined in โ€‹

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


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Inherited from โ€‹

ILeaf.toSVG

Defined in โ€‹

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


__SVG โ€‹

โ–ธ __SVG(data): void

Parameters โ€‹

NameType
dataIObject

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__SVG

Defined in โ€‹

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


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Inherited from โ€‹

ILeaf.toHTML

Defined in โ€‹

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


__setAttr โ€‹

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

Parameters โ€‹

NameType
attrNamestring
newValueIValue
checkFiniteNumber?boolean

Returns โ€‹

boolean

Inherited from โ€‹

ILeaf.__setAttr

Defined in โ€‹

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


__getAttr โ€‹

โ–ธ __getAttr(attrName): IValue

Parameters โ€‹

NameType
attrNamestring

Returns โ€‹

IValue

Inherited from โ€‹

ILeaf.__getAttr

Defined in โ€‹

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


setProxyAttr โ€‹

โ–ธ setProxyAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

ILeaf.setProxyAttr

Defined in โ€‹

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


getProxyAttr โ€‹

โ–ธ getProxyAttr(name): IValue

Parameters โ€‹

NameType
namestring

Returns โ€‹

IValue

Inherited from โ€‹

ILeaf.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[]

Inherited from โ€‹

ILeaf.find

Defined in โ€‹

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


findTag โ€‹

โ–ธ findTag(tag): ILeaf[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

ILeaf[]

Inherited from โ€‹

ILeaf.findTag

Defined in โ€‹

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


findOne โ€‹

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

Parameters โ€‹

NameType
conditionstring | number | IFindMethod
options?any

Returns โ€‹

ILeaf

Inherited from โ€‹

ILeaf.findOne

Defined in โ€‹

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


findId โ€‹

โ–ธ findId(id): ILeaf

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

ILeaf

Inherited from โ€‹

ILeaf.findId

Defined in โ€‹

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


focus โ€‹

โ–ธ focus(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.focus

Defined in โ€‹

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


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.updateState

Defined in โ€‹

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


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.updateLayout

Defined in โ€‹

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


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Inherited from โ€‹

ILeaf.forceUpdate

Defined in โ€‹

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


forceRender โ€‹

โ–ธ forceRender(_bounds?): void

Parameters โ€‹

NameType
_bounds?IBoundsData

Returns โ€‹

void

Inherited from โ€‹

ILeaf.forceRender

Defined in โ€‹

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


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateWorldMatrix

Defined in โ€‹

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


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateLocalMatrix

Defined in โ€‹

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


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateWorldBounds

Defined in โ€‹

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


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateLocalBounds

Defined in โ€‹

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


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateLocalBoxBounds

Defined in โ€‹

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


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateLocalStrokeBounds

Defined in โ€‹

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


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateLocalRenderBounds

Defined in โ€‹

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


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateContentBounds

Defined in โ€‹

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


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(secondLayout?): void

Parameters โ€‹

NameType
secondLayout?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateBoxBounds

Defined in โ€‹

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


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateStrokeBounds

Defined in โ€‹

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


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateRenderBounds

Defined in โ€‹

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


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateAutoLayout

Defined in โ€‹

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


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateFlowLayout

Defined in โ€‹

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


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateNaturalSize

Defined in โ€‹

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


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Inherited from โ€‹

ILeaf.__updateStrokeSpread

Defined in โ€‹

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


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Inherited from โ€‹

ILeaf.__updateRenderSpread

Defined in โ€‹

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


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__onUpdateSize

Defined in โ€‹

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


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateEraser

Defined in โ€‹

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


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateMask

Defined in โ€‹

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


__renderMask โ€‹

โ–ธ __renderMask(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__renderMask

Defined in โ€‹

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


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__renderEraser

Defined in โ€‹

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


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeaf.__getNowWorld

Defined in โ€‹

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


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Inherited from โ€‹

ILeaf.getTransform

Defined in โ€‹

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


getBounds โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IBoundsData

Inherited from โ€‹

ILeaf.getBounds

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

Inherited from โ€‹

ILeaf.getLayoutBounds

Defined in โ€‹

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


getLayoutPoints โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IPointData[]

Inherited from โ€‹

ILeaf.getLayoutPoints

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

Inherited from โ€‹

ILeaf.getWorldBounds

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

Inherited from โ€‹

ILeaf.worldToLocal

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

Inherited from โ€‹

ILeaf.localToWorld

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

Inherited from โ€‹

ILeaf.worldToInner

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

Inherited from โ€‹

ILeaf.innerToWorld

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

Inherited from โ€‹

ILeaf.getBoxPoint

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

Inherited from โ€‹

ILeaf.getBoxPointByInner

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

Inherited from โ€‹

ILeaf.getInnerPoint

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

Inherited from โ€‹

ILeaf.getInnerPointByBox

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

Inherited from โ€‹

ILeaf.getInnerPointByLocal

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

Inherited from โ€‹

ILeaf.getLocalPoint

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

Inherited from โ€‹

ILeaf.getLocalPointByInner

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

Inherited from โ€‹

ILeaf.getPagePoint

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

Inherited from โ€‹

ILeaf.getWorldPoint

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

Inherited from โ€‹

ILeaf.getWorldPointByBox

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

Inherited from โ€‹

ILeaf.getWorldPointByLocal

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

Inherited from โ€‹

ILeaf.getWorldPointByPage

Defined in โ€‹

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


setTransform โ€‹

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

Parameters โ€‹

NameType
transform?IMatrixData
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.setTransform

Defined in โ€‹

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


transform โ€‹

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

Parameters โ€‹

NameType
transform?IMatrixData
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.transform

Defined in โ€‹

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


move โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Inherited from โ€‹

ILeaf.move

Defined in โ€‹

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


moveInner โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Inherited from โ€‹

ILeaf.moveInner

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

Inherited from โ€‹

ILeaf.scaleOf

Defined in โ€‹

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


rotateOf โ€‹

โ–ธ rotateOf(origin, rotation): void

Parameters โ€‹

NameType
originIPointData | IDirection
rotationnumber

Returns โ€‹

void

Inherited from โ€‹

ILeaf.rotateOf

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

Inherited from โ€‹

ILeaf.skewOf

Defined in โ€‹

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


transformWorld โ€‹

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

Parameters โ€‹

NameType
worldTransform?IMatrixData
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.transformWorld

Defined in โ€‹

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


moveWorld โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Inherited from โ€‹

ILeaf.moveWorld

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

Inherited from โ€‹

ILeaf.scaleOfWorld

Defined in โ€‹

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


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Inherited from โ€‹

ILeaf.rotateOfWorld

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

Inherited from โ€‹

ILeaf.skewOfWorld

Defined in โ€‹

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


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Inherited from โ€‹

ILeaf.flip

Defined in โ€‹

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


scaleResize โ€‹

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

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber
noResize?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeaf.scaleResize

Defined in โ€‹

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


__scaleResize โ€‹

โ–ธ __scaleResize(scaleX, scaleY): void

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__scaleResize

Defined in โ€‹

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


resizeWidth โ€‹

โ–ธ resizeWidth(width): void

Parameters โ€‹

NameType
widthnumber

Returns โ€‹

void

Inherited from โ€‹

ILeaf.resizeWidth

Defined in โ€‹

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


resizeHeight โ€‹

โ–ธ resizeHeight(height): void

Parameters โ€‹

NameType
heightnumber

Returns โ€‹

void

Inherited from โ€‹

ILeaf.resizeHeight

Defined in โ€‹

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


__hitWorld โ€‹

โ–ธ __hitWorld(point): boolean

Parameters โ€‹

NameType
pointIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeaf.__hitWorld

Defined in โ€‹

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


__hit โ€‹

โ–ธ __hit(local): boolean

Parameters โ€‹

NameType
localIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeaf.__hit

Defined in โ€‹

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


__hitFill โ€‹

โ–ธ __hitFill(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeaf.__hitFill

Defined in โ€‹

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


__hitStroke โ€‹

โ–ธ __hitStroke(inner, strokeWidth): boolean

Parameters โ€‹

NameType
innerIRadiusPointData
strokeWidthnumber

Returns โ€‹

boolean

Inherited from โ€‹

ILeaf.__hitStroke

Defined in โ€‹

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


__hitPixel โ€‹

โ–ธ __hitPixel(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeaf.__hitPixel

Defined in โ€‹

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


__drawHitPath โ€‹

โ–ธ __drawHitPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__drawHitPath

Defined in โ€‹

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


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateHitCanvas

Defined in โ€‹

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


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__render

Defined in โ€‹

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


__drawFast โ€‹

โ–ธ __drawFast(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__drawFast

Defined in โ€‹

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


__draw โ€‹

โ–ธ __draw(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__draw

Defined in โ€‹

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


__clip โ€‹

โ–ธ __clip(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__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

Inherited from โ€‹

ILeaf.__renderShape

Defined in โ€‹

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


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateWorldOpacity

Defined in โ€‹

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


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateChange

Defined in โ€‹

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


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__drawPath

Defined in โ€‹

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


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__drawRenderPath

Defined in โ€‹

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


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updatePath

Defined in โ€‹

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


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateRenderPath

Defined in โ€‹

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


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Inherited from โ€‹

ILeaf.getMotionPathData

Defined in โ€‹

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


getMotionPoint โ€‹

โ–ธ getMotionPoint(motionDistance): IRotationPointData

Parameters โ€‹

NameType
motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Inherited from โ€‹

ILeaf.getMotionPoint

Defined in โ€‹

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


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Inherited from โ€‹

ILeaf.getMotionTotal

Defined in โ€‹

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


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateMotionPath

Defined in โ€‹

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


__runAnimation โ€‹

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

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__runAnimation

Defined in โ€‹

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


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__emitLifeEvent

Defined in โ€‹

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


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__updateSortChildren

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

Inherited from โ€‹

ILeaf.add

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

Inherited from โ€‹

ILeaf.remove

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

Inherited from โ€‹

ILeaf.dropTo

Defined in โ€‹

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


__realSetAttr โ€‹

โ–ธ __realSetAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

ILeaf.__realSetAttr

Defined in โ€‹

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


destroyEventer โ€‹

โ–ธ destroyEventer(): void

Returns โ€‹

void

Inherited from โ€‹

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

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

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

ILeaf.on_

Defined in โ€‹

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


off_ โ€‹

โ–ธ off_(id): void

Parameters โ€‹

NameType
idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Inherited from โ€‹

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

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

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

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

ILeaf.hasEvent

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

ILeaf.destroy

Defined in โ€‹

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

Released under the MIT License.