Skip to content

Interface: IApp โ€‹

Hierarchy โ€‹

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

running โ€‹

โ€ข running: boolean

Inherited from โ€‹

ILeafer.running

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:30


created โ€‹

โ€ข created: boolean

Inherited from โ€‹

ILeafer.created

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:31


ready โ€‹

โ€ข ready: boolean

Inherited from โ€‹

ILeafer.ready

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:32


viewReady โ€‹

โ€ข viewReady: boolean

Inherited from โ€‹

ILeafer.viewReady

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:33


imageReady โ€‹

โ€ข imageReady: boolean

Inherited from โ€‹

ILeafer.imageReady

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:34


viewCompleted โ€‹

โ€ข viewCompleted: boolean

Inherited from โ€‹

ILeafer.viewCompleted

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:35


layoutLocked โ€‹

โ€ข layoutLocked: boolean

Inherited from โ€‹

ILeafer.layoutLocked

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:36


transforming โ€‹

โ€ข transforming: boolean

Inherited from โ€‹

ILeafer.transforming

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:38


view โ€‹

โ€ข view: unknown

Inherited from โ€‹

ILeafer.view

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:40


canvas โ€‹

โ€ข canvas: ILeaferCanvas

Inherited from โ€‹

ILeafer.canvas

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:42


renderer โ€‹

โ€ข renderer: IRenderer

Inherited from โ€‹

ILeafer.renderer

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:43


watcher โ€‹

โ€ข watcher: IWatcher

Inherited from โ€‹

ILeafer.watcher

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:45


layouter โ€‹

โ€ข layouter: ILayouter

Inherited from โ€‹

ILeafer.layouter

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:46


selector โ€‹

โ€ข Optional selector: ISelector

Inherited from โ€‹

ILeafer.selector

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:48


interaction โ€‹

โ€ข Optional interaction: IInteraction

Inherited from โ€‹

ILeafer.interaction

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:49


canvasManager โ€‹

โ€ข canvasManager: ICanvasManager

Inherited from โ€‹

ILeafer.canvasManager

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:51


hitCanvasManager โ€‹

โ€ข Optional hitCanvasManager: IHitCanvasManager

Inherited from โ€‹

ILeafer.hitCanvasManager

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:52


autoLayout โ€‹

โ€ข Optional autoLayout: IAutoBounds

Inherited from โ€‹

ILeafer.autoLayout

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:54


lazyBounds โ€‹

โ€ข lazyBounds: IBounds

Inherited from โ€‹

ILeafer.lazyBounds

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:55


config โ€‹

โ€ข config: ILeaferConfig

Inherited from โ€‹

ILeafer.config

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:57


cursorPoint โ€‹

โ€ข Readonly cursorPoint: IPointData

Inherited from โ€‹

ILeafer.cursorPoint

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:59


clientBounds โ€‹

โ€ข Readonly clientBounds: IBoundsData

Inherited from โ€‹

ILeafer.clientBounds

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:60


leafs โ€‹

โ€ข leafs: number

Inherited from โ€‹

ILeafer.leafs

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:61


__eventIds โ€‹

โ€ข __eventIds: IEventListenerId[]

Inherited from โ€‹

ILeafer.__eventIds

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:63


__nextRenderWait โ€‹

โ€ข __nextRenderWait: IFunction[]

Inherited from โ€‹

ILeafer.__nextRenderWait

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:64


id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

ILeafer.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

ILeafer.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

ILeafer.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

ILeafer.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

ILeafer.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

ILeafer.visible

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

ILeafer.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

ILeafer.disabled

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

ILeafer.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

ILeafer.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

ILeafer.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

ILeafer.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

ILeafer.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

ILeafer.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

ILeafer.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

ILeafer.height

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

ILeafer.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

ILeafer.scaleY

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

ILeafer.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

ILeafer.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

ILeafer.skewY

Defined in โ€‹

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


scale โ€‹

โ€ข Optional scale: number | IPointData

Inherited from โ€‹

ILeafer.scale

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

ILeafer.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

ILeafer.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

ILeafer.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

ILeafer.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

ILeafer.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

ILeafer.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

ILeafer.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

ILeafer.pixelRatio

Defined in โ€‹

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


path โ€‹

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

Inherited from โ€‹

ILeafer.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

ILeafer.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

ILeafer.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

ILeafer.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

ILeafer.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

ILeafer.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

ILeafer.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

ILeafer.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

ILeafer.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

ILeafer.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

ILeafer.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

ILeafer.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

ILeafer.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

ILeafer.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

ILeafer.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

ILeafer.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

ILeafer.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

ILeafer.dragBounds

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

ILeafer.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

ILeafer.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

ILeafer.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

ILeafer.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

ILeafer.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

ILeafer.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

ILeafer.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

ILeafer.hitRadius

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

ILeafer.button

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

ILeafer.cursor

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

ILeafer.motionPath

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

ILeafer.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

ILeafer.motionRotation

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

ILeafer.normalStyle

Defined in โ€‹

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


event โ€‹

โ€ข Optional event: IEventMap

Inherited from โ€‹

ILeafer.event

Defined in โ€‹

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


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

ILeafer.data

Defined in โ€‹

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


noBounds โ€‹

โ€ข Optional noBounds: boolean

Inherited from โ€‹

ILeafer.noBounds

Defined in โ€‹

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


tag โ€‹

โ€ข tag: string

Inherited from โ€‹

ILeafer.tag

Defined in โ€‹

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


__tag โ€‹

โ€ข Readonly __tag: string

Inherited from โ€‹

ILeafer.__tag

Defined in โ€‹

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


innerName โ€‹

โ€ข Readonly innerName: string

Inherited from โ€‹

ILeafer.innerName

Defined in โ€‹

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


__DataProcessor โ€‹

โ€ข Readonly __DataProcessor: IObject

Inherited from โ€‹

ILeafer.__DataProcessor

Defined in โ€‹

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


__LayoutProcessor โ€‹

โ€ข Readonly __LayoutProcessor: IObject

Inherited from โ€‹

ILeafer.__LayoutProcessor

Defined in โ€‹

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


leaferIsCreated โ€‹

โ€ข Readonly leaferIsCreated: boolean

Inherited from โ€‹

ILeafer.leaferIsCreated

Defined in โ€‹

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


leaferIsReady โ€‹

โ€ข Readonly leaferIsReady: boolean

Inherited from โ€‹

ILeafer.leaferIsReady

Defined in โ€‹

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


isLeafer โ€‹

โ€ข Optional Readonly isLeafer: boolean

Inherited from โ€‹

ILeafer.isLeafer

Defined in โ€‹

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


isBranch โ€‹

โ€ข Optional Readonly isBranch: boolean

Inherited from โ€‹

ILeafer.isBranch

Defined in โ€‹

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


isBranchLeaf โ€‹

โ€ข Optional Readonly isBranchLeaf: boolean

Inherited from โ€‹

ILeafer.isBranchLeaf

Defined in โ€‹

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


isOutside โ€‹

โ€ข Optional Readonly isOutside: boolean

Inherited from โ€‹

ILeafer.isOutside

Defined in โ€‹

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


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Inherited from โ€‹

ILeafer.syncEventer

Defined in โ€‹

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


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Inherited from โ€‹

ILeafer.lockNormalStyle

Defined in โ€‹

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


__layout โ€‹

โ€ข __layout: ILeafLayout

Inherited from โ€‹

ILeafer.__layout

Defined in โ€‹

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


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeafer.__world

Defined in โ€‹

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


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Inherited from โ€‹

ILeafer.__local

Defined in โ€‹

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


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeafer.__nowWorld

Defined in โ€‹

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


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeafer.__cameraWorld

Defined in โ€‹

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


__localMatrix โ€‹

โ€ข Readonly __localMatrix: IMatrixData

Inherited from โ€‹

ILeafer.__localMatrix

Defined in โ€‹

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


__localBoxBounds โ€‹

โ€ข Readonly __localBoxBounds: IBoundsData

Inherited from โ€‹

ILeafer.__localBoxBounds

Defined in โ€‹

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


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Inherited from โ€‹

ILeafer.__worldOpacity

Defined in โ€‹

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


worldTransform โ€‹

โ€ข Readonly worldTransform: IMatrixWithScaleData

Inherited from โ€‹

ILeafer.worldTransform

Defined in โ€‹

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


localTransform โ€‹

โ€ข Readonly localTransform: IMatrixData

Inherited from โ€‹

ILeafer.localTransform

Defined in โ€‹

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


boxBounds โ€‹

โ€ข Readonly boxBounds: IBoundsData

Inherited from โ€‹

ILeafer.boxBounds

Defined in โ€‹

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


renderBounds โ€‹

โ€ข Readonly renderBounds: IBoundsData

Inherited from โ€‹

ILeafer.renderBounds

Defined in โ€‹

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


worldBoxBounds โ€‹

โ€ข Readonly worldBoxBounds: IBoundsData

Inherited from โ€‹

ILeafer.worldBoxBounds

Defined in โ€‹

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


worldStrokeBounds โ€‹

โ€ข Readonly worldStrokeBounds: IBoundsData

Inherited from โ€‹

ILeafer.worldStrokeBounds

Defined in โ€‹

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


worldRenderBounds โ€‹

โ€ข Readonly worldRenderBounds: IBoundsData

Inherited from โ€‹

ILeafer.worldRenderBounds

Defined in โ€‹

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


worldOpacity โ€‹

โ€ข Readonly worldOpacity: number

Inherited from โ€‹

ILeafer.worldOpacity

Defined in โ€‹

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


__level โ€‹

โ€ข __level: number

Inherited from โ€‹

ILeafer.__level

Defined in โ€‹

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


__tempNumber โ€‹

โ€ข Optional __tempNumber: number

Inherited from โ€‹

ILeafer.__tempNumber

Defined in โ€‹

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


__worldFlipped โ€‹

โ€ข Readonly __worldFlipped: boolean

Inherited from โ€‹

ILeafer.__worldFlipped

Defined in โ€‹

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


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Inherited from โ€‹

ILeafer.__hasAutoLayout

Defined in โ€‹

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


__hasMotionPath โ€‹

โ€ข Optional __hasMotionPath: boolean

Inherited from โ€‹

ILeafer.__hasMotionPath

Defined in โ€‹

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


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Inherited from โ€‹

ILeafer.__hasMask

Defined in โ€‹

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


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Inherited from โ€‹

ILeafer.__hasEraser

Defined in โ€‹

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


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Inherited from โ€‹

ILeafer.__hitCanvas

Defined in โ€‹

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


__flowBounds โ€‹

โ€ข Optional __flowBounds: IBoundsData

Inherited from โ€‹

ILeafer.__flowBounds

Defined in โ€‹

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


__widthGrow โ€‹

โ€ข Optional __widthGrow: number

Inherited from โ€‹

ILeafer.__widthGrow

Defined in โ€‹

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


__heightGrow โ€‹

โ€ข Optional __heightGrow: number

Inherited from โ€‹

ILeafer.__heightGrow

Defined in โ€‹

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


__hasGrow โ€‹

โ€ข Optional __hasGrow: boolean

Inherited from โ€‹

ILeafer.__hasGrow

Defined in โ€‹

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


__onlyHitMask โ€‹

โ€ข Readonly __onlyHitMask: boolean

Inherited from โ€‹

ILeafer.__onlyHitMask

Defined in โ€‹

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


__ignoreHitWorld โ€‹

โ€ข Readonly __ignoreHitWorld: boolean

Inherited from โ€‹

ILeafer.__ignoreHitWorld

Defined in โ€‹

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


__inLazyBounds โ€‹

โ€ข Readonly __inLazyBounds: boolean

Inherited from โ€‹

ILeafer.__inLazyBounds

Defined in โ€‹

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


pathInputed โ€‹

โ€ข Readonly pathInputed: boolean

Inherited from โ€‹

ILeafer.pathInputed

Defined in โ€‹

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


destroyed โ€‹

โ€ข destroyed: boolean

Inherited from โ€‹

ILeafer.destroyed

Defined in โ€‹

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


innerId โ€‹

โ€ข Readonly innerId: number

Inherited from โ€‹

ILeafer.innerId

Defined in โ€‹

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


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Inherited from โ€‹

ILeafer.__captureMap

Defined in โ€‹

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


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Inherited from โ€‹

ILeafer.__bubbleMap

Defined in โ€‹

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


cornerRadius โ€‹

โ€ข Optional cornerRadius: string | IFourNumber

Inherited from โ€‹

ILeafer.cornerRadius

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:9


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Inherited from โ€‹

ILeafer.cornerSmoothing

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:10


fill โ€‹

โ€ข Optional fill: IFill

Inherited from โ€‹

ILeafer.fill

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:23


stroke โ€‹

โ€ข Optional stroke: IStroke

Inherited from โ€‹

ILeafer.stroke

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:40


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Inherited from โ€‹

ILeafer.strokeAlign

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:42


strokeWidth โ€‹

โ€ข Optional strokeWidth: string | IFourNumber

Inherited from โ€‹

ILeafer.strokeWidth

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:43


strokeWidthFixed โ€‹

โ€ข Optional strokeWidthFixed: boolean

Inherited from โ€‹

ILeafer.strokeWidthFixed

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:44


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Inherited from โ€‹

ILeafer.strokeCap

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:45


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Inherited from โ€‹

ILeafer.strokeJoin

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:46


dashPattern โ€‹

โ€ข Optional dashPattern: string | number[]

Inherited from โ€‹

ILeafer.dashPattern

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:47


dashOffset โ€‹

โ€ข Optional dashOffset: number

Inherited from โ€‹

ILeafer.dashOffset

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:48


miterLimit โ€‹

โ€ข Optional miterLimit: number

Inherited from โ€‹

ILeafer.miterLimit

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:49


startArrow โ€‹

โ€ข Optional startArrow: IArrowType

Inherited from โ€‹

ILeafer.startArrow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:51


endArrow โ€‹

โ€ข Optional endArrow: IArrowType

Inherited from โ€‹

ILeafer.endArrow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:52


shadow โ€‹

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

Inherited from โ€‹

ILeafer.shadow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:150


innerShadow โ€‹

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

Inherited from โ€‹

ILeafer.innerShadow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:151


blur โ€‹

โ€ข Optional blur: number | IBlurEffect

Inherited from โ€‹

ILeafer.blur

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:152


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number | IBlurEffect

Inherited from โ€‹

ILeafer.backgroundBlur

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:153


grayscale โ€‹

โ€ข Optional grayscale: number | IGrayscaleEffect

Inherited from โ€‹

ILeafer.grayscale

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:154


__ โ€‹

โ€ข __: IGroupData

Inherited from โ€‹

ILeafer.__

Defined in โ€‹

ui/packages/interface/src/IUI.ts:346


leafer โ€‹

โ€ข Optional leafer: ILeafer

Inherited from โ€‹

ILeafer.leafer

Defined in โ€‹

ui/packages/interface/src/IUI.ts:366


isFrame โ€‹

โ€ข Optional Readonly isFrame: boolean

Inherited from โ€‹

ILeafer.isFrame

Defined in โ€‹

ui/packages/interface/src/IUI.ts:369


isOverflow โ€‹

โ€ข Optional isOverflow: boolean

Inherited from โ€‹

ILeafer.isOverflow

Defined in โ€‹

ui/packages/interface/src/IUI.ts:370


proxyData โ€‹

โ€ข Optional proxyData: IUIInputData

Inherited from โ€‹

ILeafer.proxyData

Defined in โ€‹

ui/packages/interface/src/IUI.ts:372


__proxyData โ€‹

โ€ข Optional __proxyData: IUIInputData

Inherited from โ€‹

ILeafer.__proxyData

Defined in โ€‹

ui/packages/interface/src/IUI.ts:373


animation โ€‹

โ€ข Optional animation: IAnimation

Inherited from โ€‹

ILeafer.animation

Defined in โ€‹

ui/packages/interface/src/IUI.ts:375


animationOut โ€‹

โ€ข Optional animationOut: IAnimation

Inherited from โ€‹

ILeafer.animationOut

Defined in โ€‹

ui/packages/interface/src/IUI.ts:376


editConfig โ€‹

โ€ข Optional editConfig: IEditorConfig

Inherited from โ€‹

ILeafer.editConfig

Defined in โ€‹

ui/packages/interface/src/IUI.ts:378


editOuter โ€‹

โ€ข editOuter: string

Inherited from โ€‹

ILeafer.editOuter

Defined in โ€‹

ui/packages/interface/src/IUI.ts:379


editInner โ€‹

โ€ข editInner: string

Inherited from โ€‹

ILeafer.editInner

Defined in โ€‹

ui/packages/interface/src/IUI.ts:380


__animate โ€‹

โ€ข Optional __animate: IAnimate

Inherited from โ€‹

ILeafer.__animate

Defined in โ€‹

ui/packages/interface/src/IUI.ts:384


pen โ€‹

โ€ข Readonly pen: IPathCreator

Inherited from โ€‹

ILeafer.pen

Defined in โ€‹

ui/packages/interface/src/IUI.ts:386


transition โ€‹

โ€ข Optional transition: ITransition

Inherited from โ€‹

ILeafer.transition

Defined in โ€‹

ui/packages/interface/src/IUI.ts:436


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Inherited from โ€‹

ILeafer.transitionOut

Defined in โ€‹

ui/packages/interface/src/IUI.ts:437


states โ€‹

โ€ข Optional states: IStates

Inherited from โ€‹

ILeafer.states

Defined in โ€‹

ui/packages/interface/src/IUI.ts:439


state โ€‹

โ€ข Optional state: string

Inherited from โ€‹

ILeafer.state

Defined in โ€‹

ui/packages/interface/src/IUI.ts:440


hoverStyle โ€‹

โ€ข Optional hoverStyle: IStateStyle

Inherited from โ€‹

ILeafer.hoverStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:442


pressStyle โ€‹

โ€ข Optional pressStyle: IStateStyle

Inherited from โ€‹

ILeafer.pressStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:443


focusStyle โ€‹

โ€ข Optional focusStyle: IStateStyle

Inherited from โ€‹

ILeafer.focusStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:444


selectedStyle โ€‹

โ€ข Optional selectedStyle: IStateStyle

Inherited from โ€‹

ILeafer.selectedStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:445


disabledStyle โ€‹

โ€ข Optional disabledStyle: IStateStyle

Inherited from โ€‹

ILeafer.disabledStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:446


children โ€‹

โ€ข children: ILeafer[]

Overrides โ€‹

ILeafer.children

Defined in โ€‹

ui/packages/interface/src/app/IApp.ts:7


realCanvas โ€‹

โ€ข realCanvas: boolean

Defined in โ€‹

ui/packages/interface/src/app/IApp.ts:8


isApp โ€‹

โ€ข Readonly isApp: boolean

Inherited from โ€‹

ILeafer.isApp

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:7


app โ€‹

โ€ข Readonly app: ILeafer

Inherited from โ€‹

ILeafer.app

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:8


parent โ€‹

โ€ข Optional parent: IApp

Inherited from โ€‹

ILeafer.parent

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:9


zoomLayer โ€‹

โ€ข zoomLayer: IGroup

Inherited from โ€‹

ILeafer.zoomLayer

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:10


editor โ€‹

โ€ข editor: IEditorBase

Inherited from โ€‹

ILeafer.editor

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:11


ground โ€‹

โ€ข Optional ground: ILeafer

Inherited from โ€‹

ILeafer.ground

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:13


tree โ€‹

โ€ข Optional tree: ILeafer

Inherited from โ€‹

ILeafer.tree

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:14


sky โ€‹

โ€ข Optional sky: ILeafer

Inherited from โ€‹

ILeafer.sky

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:15


userConfig โ€‹

โ€ข Optional userConfig: ILeaferConfig

Inherited from โ€‹

ILeafer.userConfig

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:17

Methods โ€‹

init โ€‹

โ–ธ init(userConfig?, parentApp?): void

Parameters โ€‹

NameType
userConfig?ILeaferConfig
parentApp?IAppBase

Returns โ€‹

void

Inherited from โ€‹

ILeafer.init

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:66


start โ€‹

โ–ธ start(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.start

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:68


stop โ€‹

โ–ธ stop(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.stop

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:69


unlockLayout โ€‹

โ–ธ unlockLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.unlockLayout

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:71


lockLayout โ€‹

โ–ธ lockLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.lockLayout

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:72


updateCursor โ€‹

โ–ธ updateCursor(cursor?): void

Parameters โ€‹

NameType
cursor?ICursorType

Returns โ€‹

void

Inherited from โ€‹

ILeafer.updateCursor

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:74


resize โ€‹

โ–ธ resize(size): void

Parameters โ€‹

NameType
sizeIScreenSizeData

Returns โ€‹

void

Inherited from โ€‹

ILeafer.resize

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:75


waitReady โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

ILeafer.waitReady

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:77


waitViewReady โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

ILeafer.waitViewReady

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:78


waitViewCompleted โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

ILeafer.waitViewCompleted

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:79


zoom โ€‹

โ–ธ zoom(zoomType, padding?, fixedScale?): IBoundsData

Parameters โ€‹

NameType
zoomTypeIZoomType
padding?IFourNumber
fixedScale?boolean

Returns โ€‹

IBoundsData

Inherited from โ€‹

ILeafer.zoom

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:81


getValidMove โ€‹

โ–ธ getValidMove(moveX, moveY): IPointData

Parameters โ€‹

NameType
moveXnumber
moveYnumber

Returns โ€‹

IPointData

Inherited from โ€‹

ILeafer.getValidMove

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:82


getValidScale โ€‹

โ–ธ getValidScale(changeScale): number

Parameters โ€‹

NameType
changeScalenumber

Returns โ€‹

number

Inherited from โ€‹

ILeafer.getValidScale

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:83


getWorldPointByClient โ€‹

โ–ธ getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters โ€‹

NameType
clientPointIClientPointData
updateClient?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

ILeafer.getWorldPointByClient

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:85


getPagePointByClient โ€‹

โ–ธ getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters โ€‹

NameType
clientPointIClientPointData
updateClient?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

ILeafer.getPagePointByClient

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:86


updateClientBounds โ€‹

โ–ธ updateClientBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.updateClientBounds

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:87


receiveEvent โ€‹

โ–ธ receiveEvent(event): void

Parameters โ€‹

NameType
eventany

Returns โ€‹

void

Inherited from โ€‹

ILeafer.receiveEvent

Defined in โ€‹

leafer/packages/interface/src/app/ILeafer.ts:89


resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Inherited from โ€‹

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

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

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

ILeafer.nextRender

Defined in โ€‹

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


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Inherited from โ€‹

ILeafer.removeNextRender

Defined in โ€‹

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


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__bindLeafer

Defined in โ€‹

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


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

ILeafer.setAttr

Defined in โ€‹

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


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

ILeafer.getAttr

Defined in โ€‹

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


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

ILeafer.getComputedAttr

Defined in โ€‹

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


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Inherited from โ€‹

ILeafer.toString

Defined in โ€‹

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


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Inherited from โ€‹

ILeafer.toSVG

Defined in โ€‹

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


__SVG โ€‹

โ–ธ __SVG(data): void

Parameters โ€‹

NameType
dataIObject

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__SVG

Defined in โ€‹

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


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Inherited from โ€‹

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

ILeafer.__setAttr

Defined in โ€‹

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


__getAttr โ€‹

โ–ธ __getAttr(attrName): IValue

Parameters โ€‹

NameType
attrNamestring

Returns โ€‹

IValue

Inherited from โ€‹

ILeafer.__getAttr

Defined in โ€‹

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


setProxyAttr โ€‹

โ–ธ setProxyAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

ILeafer.setProxyAttr

Defined in โ€‹

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


getProxyAttr โ€‹

โ–ธ getProxyAttr(name): IValue

Parameters โ€‹

NameType
namestring

Returns โ€‹

IValue

Inherited from โ€‹

ILeafer.getProxyAttr

Defined in โ€‹

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


focus โ€‹

โ–ธ focus(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.focus

Defined in โ€‹

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


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.updateState

Defined in โ€‹

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


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.updateLayout

Defined in โ€‹

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


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Inherited from โ€‹

ILeafer.forceUpdate

Defined in โ€‹

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


forceRender โ€‹

โ–ธ forceRender(_bounds?): void

Parameters โ€‹

NameType
_bounds?IBoundsData

Returns โ€‹

void

Inherited from โ€‹

ILeafer.forceRender

Defined in โ€‹

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


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateWorldMatrix

Defined in โ€‹

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


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateLocalMatrix

Defined in โ€‹

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


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateWorldBounds

Defined in โ€‹

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


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateLocalBounds

Defined in โ€‹

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


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateLocalBoxBounds

Defined in โ€‹

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


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateLocalStrokeBounds

Defined in โ€‹

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


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateLocalRenderBounds

Defined in โ€‹

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


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateContentBounds

Defined in โ€‹

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


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(secondLayout?): void

Parameters โ€‹

NameType
secondLayout?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateBoxBounds

Defined in โ€‹

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


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateStrokeBounds

Defined in โ€‹

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


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateRenderBounds

Defined in โ€‹

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


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateAutoLayout

Defined in โ€‹

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


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateFlowLayout

Defined in โ€‹

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


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateNaturalSize

Defined in โ€‹

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


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Inherited from โ€‹

ILeafer.__updateStrokeSpread

Defined in โ€‹

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


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Inherited from โ€‹

ILeafer.__updateRenderSpread

Defined in โ€‹

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


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__onUpdateSize

Defined in โ€‹

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


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateEraser

Defined in โ€‹

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


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateMask

Defined in โ€‹

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


__renderMask โ€‹

โ–ธ __renderMask(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__renderMask

Defined in โ€‹

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


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__renderEraser

Defined in โ€‹

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


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Inherited from โ€‹

ILeafer.__getNowWorld

Defined in โ€‹

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


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Inherited from โ€‹

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ILeafer.scaleOfWorld

Defined in โ€‹

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


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Inherited from โ€‹

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

ILeafer.skewOfWorld

Defined in โ€‹

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


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Inherited from โ€‹

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

ILeafer.scaleResize

Defined in โ€‹

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


__scaleResize โ€‹

โ–ธ __scaleResize(scaleX, scaleY): void

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__scaleResize

Defined in โ€‹

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


resizeWidth โ€‹

โ–ธ resizeWidth(width): void

Parameters โ€‹

NameType
widthnumber

Returns โ€‹

void

Inherited from โ€‹

ILeafer.resizeWidth

Defined in โ€‹

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


resizeHeight โ€‹

โ–ธ resizeHeight(height): void

Parameters โ€‹

NameType
heightnumber

Returns โ€‹

void

Inherited from โ€‹

ILeafer.resizeHeight

Defined in โ€‹

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


__hitWorld โ€‹

โ–ธ __hitWorld(point): boolean

Parameters โ€‹

NameType
pointIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeafer.__hitWorld

Defined in โ€‹

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


__hit โ€‹

โ–ธ __hit(local): boolean

Parameters โ€‹

NameType
localIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeafer.__hit

Defined in โ€‹

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


__hitFill โ€‹

โ–ธ __hitFill(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeafer.__hitFill

Defined in โ€‹

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


__hitStroke โ€‹

โ–ธ __hitStroke(inner, strokeWidth): boolean

Parameters โ€‹

NameType
innerIRadiusPointData
strokeWidthnumber

Returns โ€‹

boolean

Inherited from โ€‹

ILeafer.__hitStroke

Defined in โ€‹

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


__hitPixel โ€‹

โ–ธ __hitPixel(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

ILeafer.__hitPixel

Defined in โ€‹

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


__drawHitPath โ€‹

โ–ธ __drawHitPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawHitPath

Defined in โ€‹

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


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateHitCanvas

Defined in โ€‹

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


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__render

Defined in โ€‹

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


__drawFast โ€‹

โ–ธ __drawFast(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawFast

Defined in โ€‹

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


__draw โ€‹

โ–ธ __draw(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__draw

Defined in โ€‹

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


__clip โ€‹

โ–ธ __clip(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

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

ILeafer.__renderShape

Defined in โ€‹

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


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateWorldOpacity

Defined in โ€‹

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


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateChange

Defined in โ€‹

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


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawPath

Defined in โ€‹

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


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawRenderPath

Defined in โ€‹

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


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updatePath

Defined in โ€‹

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


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateRenderPath

Defined in โ€‹

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


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Inherited from โ€‹

ILeafer.getMotionPathData

Defined in โ€‹

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


getMotionPoint โ€‹

โ–ธ getMotionPoint(motionDistance): IRotationPointData

Parameters โ€‹

NameType
motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Inherited from โ€‹

ILeafer.getMotionPoint

Defined in โ€‹

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


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Inherited from โ€‹

ILeafer.getMotionTotal

Defined in โ€‹

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


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Inherited from โ€‹

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

ILeafer.__runAnimation

Defined in โ€‹

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


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__emitLifeEvent

Defined in โ€‹

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


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__updateSortChildren

Defined in โ€‹

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


dropTo โ€‹

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

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.dropTo

Defined in โ€‹

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


__realSetAttr โ€‹

โ–ธ __realSetAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__realSetAttr

Defined in โ€‹

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


destroyEventer โ€‹

โ–ธ destroyEventer(): void

Returns โ€‹

void

Inherited from โ€‹

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

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

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

ILeafer.on_

Defined in โ€‹

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


off_ โ€‹

โ–ธ off_(id): void

Parameters โ€‹

NameType
idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Inherited from โ€‹

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

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

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

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

ILeafer.hasEvent

Defined in โ€‹

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


pick โ€‹

โ–ธ pick(hitPoint, options?): IPickResult

Parameters โ€‹

NameType
hitPointIPointData
options?IPickOptions

Returns โ€‹

IPickResult

Inherited from โ€‹

ILeafer.pick

Defined in โ€‹

ui/packages/interface/src/IUI.ts:348


add โ€‹

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

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
index?number

Returns โ€‹

void

Inherited from โ€‹

ILeafer.add

Defined in โ€‹

ui/packages/interface/src/IUI.ts:349


addAt โ€‹

โ–ธ addAt(child, index): void

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
indexnumber

Returns โ€‹

void

Inherited from โ€‹

ILeafer.addAt

Defined in โ€‹

ui/packages/interface/src/IUI.ts:350


addAfter โ€‹

โ–ธ addAfter(child, after): void

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
afterIUI

Returns โ€‹

void

Inherited from โ€‹

ILeafer.addAfter

Defined in โ€‹

ui/packages/interface/src/IUI.ts:351


addBefore โ€‹

โ–ธ addBefore(child, before): void

Parameters โ€‹

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
beforeIUI

Returns โ€‹

void

Inherited from โ€‹

ILeafer.addBefore

Defined in โ€‹

ui/packages/interface/src/IUI.ts:352


addMany โ€‹

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

Parameters โ€‹

NameType
...childrenILeaf[] | IUIInputData[]

Returns โ€‹

void

Inherited from โ€‹

ILeafer.addMany

Defined in โ€‹

ui/packages/interface/src/IUI.ts:353


remove โ€‹

โ–ธ remove(child?): void

Parameters โ€‹

NameType
child?string | number | IFindCondition | IUI | IFindUIMethod

Returns โ€‹

void

Inherited from โ€‹

ILeafer.remove

Defined in โ€‹

ui/packages/interface/src/IUI.ts:354


removeAll โ€‹

โ–ธ removeAll(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.removeAll

Defined in โ€‹

ui/packages/interface/src/IUI.ts:355


clear โ€‹

โ–ธ clear(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.clear

Defined in โ€‹

ui/packages/interface/src/IUI.ts:356


reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

void

Inherited from โ€‹

ILeafer.reset

Defined in โ€‹

ui/packages/interface/src/IUI.ts:388


set โ€‹

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

Parameters โ€‹

NameType
dataIUIInputData
isTemp?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.set

Defined in โ€‹

ui/packages/interface/src/IUI.ts:390


toJSON โ€‹

โ–ธ toJSON(options?): IUIJSONData

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IUIJSONData

Inherited from โ€‹

ILeafer.toJSON

Defined in โ€‹

ui/packages/interface/src/IUI.ts:391


get โ€‹

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

Parameters โ€‹

NameType
name?string | string[] | IUIInputData

Returns โ€‹

IValue | IUIInputData

Inherited from โ€‹

ILeafer.get

Defined in โ€‹

ui/packages/interface/src/IUI.ts:393


createProxyData โ€‹

โ–ธ createProxyData(): IUIInputData

Returns โ€‹

IUIInputData

Inherited from โ€‹

ILeafer.createProxyData

Defined in โ€‹

ui/packages/interface/src/IUI.ts:394


find โ€‹

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

Parameters โ€‹

NameType
conditionstring | number | IFindCondition | IFindUIMethod
options?any

Returns โ€‹

IUI[]

Inherited from โ€‹

ILeafer.find

Defined in โ€‹

ui/packages/interface/src/IUI.ts:396


findTag โ€‹

โ–ธ findTag(tag): IUI[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

IUI[]

Inherited from โ€‹

ILeafer.findTag

Defined in โ€‹

ui/packages/interface/src/IUI.ts:397


findOne โ€‹

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

Parameters โ€‹

NameType
conditionstring | number | IFindCondition | IFindUIMethod
options?any

Returns โ€‹

IUI

Inherited from โ€‹

ILeafer.findOne

Defined in โ€‹

ui/packages/interface/src/IUI.ts:398


findId โ€‹

โ–ธ findId(id): IUI

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

IUI

Inherited from โ€‹

ILeafer.findId

Defined in โ€‹

ui/packages/interface/src/IUI.ts:399


getPath โ€‹

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

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

IPathCommandData

Inherited from โ€‹

ILeafer.getPath

Defined in โ€‹

ui/packages/interface/src/IUI.ts:401


getPathString โ€‹

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

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

string

Inherited from โ€‹

ILeafer.getPathString

Defined in โ€‹

ui/packages/interface/src/IUI.ts:402


load โ€‹

โ–ธ load(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.load

Defined in โ€‹

ui/packages/interface/src/IUI.ts:404


__drawPathByData โ€‹

โ–ธ __drawPathByData(drawer, data): void

Parameters โ€‹

NameType
drawerIPathDrawer
dataIPathCommandData

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawPathByData

Defined in โ€‹

ui/packages/interface/src/IUI.ts:406


__drawPathByBox โ€‹

โ–ธ __drawPathByBox(drawer): void

Parameters โ€‹

NameType
drawerIPathDrawer

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawPathByBox

Defined in โ€‹

ui/packages/interface/src/IUI.ts:407


__drawAfterFill โ€‹

โ–ธ __drawAfterFill(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawAfterFill

Defined in โ€‹

ui/packages/interface/src/IUI.ts:408


__drawContent โ€‹

โ–ธ __drawContent(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

ILeafer.__drawContent

Defined in โ€‹

ui/packages/interface/src/IUI.ts:409


animate โ€‹

โ–ธ animate(keyframe?, options?, type?, isTemp?): IAnimate

Parameters โ€‹

NameType
keyframe?IAnimation | IUIInputData | IKeyframe[]
options?ITransition
type?IAnimateType
isTemp?boolean

Returns โ€‹

IAnimate

Inherited from โ€‹

ILeafer.animate

Defined in โ€‹

ui/packages/interface/src/IUI.ts:411


killAnimate โ€‹

โ–ธ killAnimate(type?): void

Parameters โ€‹

NameType
type?IAnimateType

Returns โ€‹

void

Inherited from โ€‹

ILeafer.killAnimate

Defined in โ€‹

ui/packages/interface/src/IUI.ts:412


export โ€‹

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

Parameters โ€‹

NameType
filenamestring
options?number | boolean | IExportOptions

Returns โ€‹

Promise<IExportResult>

Inherited from โ€‹

ILeafer.export

Defined in โ€‹

ui/packages/interface/src/IUI.ts:414


clone โ€‹

โ–ธ clone(data?): IUI

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

IUI

Inherited from โ€‹

ILeafer.clone

Defined in โ€‹

ui/packages/interface/src/IUI.ts:415


onInit โ€‹

โ–ธ onInit(): void

Returns โ€‹

void

Inherited from โ€‹

ILeafer.onInit

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:19


initType โ€‹

โ–ธ initType(type): void

Parameters โ€‹

NameType
typeILeaferType

Returns โ€‹

void

Inherited from โ€‹

ILeafer.initType

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:20


destroy โ€‹

โ–ธ destroy(sync?): void

Parameters โ€‹

NameType
sync?boolean

Returns โ€‹

void

Inherited from โ€‹

ILeafer.destroy

Defined in โ€‹

ui/packages/interface/src/app/ILeafer.ts:21

Released under the MIT License.