Skip to content

Interface: IAppBase ​

Hierarchy ​

Table of contents ​

Properties ​

Methods ​

Properties ​

children ​

â€ĸ children: ILeaferBase[]

Overrides ​

ILeaferBase.children

Defined in ​

leafer/packages/interface/src/app/IApp.ts:4


realCanvas ​

â€ĸ realCanvas: boolean

Defined in ​

leafer/packages/interface/src/app/IApp.ts:5


running ​

â€ĸ running: boolean

Inherited from ​

ILeaferBase.running

Defined in ​

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


created ​

â€ĸ created: boolean

Inherited from ​

ILeaferBase.created

Defined in ​

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


ready ​

â€ĸ ready: boolean

Inherited from ​

ILeaferBase.ready

Defined in ​

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


viewReady ​

â€ĸ viewReady: boolean

Inherited from ​

ILeaferBase.viewReady

Defined in ​

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


imageReady ​

â€ĸ imageReady: boolean

Inherited from ​

ILeaferBase.imageReady

Defined in ​

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


viewCompleted ​

â€ĸ viewCompleted: boolean

Inherited from ​

ILeaferBase.viewCompleted

Defined in ​

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


layoutLocked ​

â€ĸ layoutLocked: boolean

Inherited from ​

ILeaferBase.layoutLocked

Defined in ​

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


transforming ​

â€ĸ transforming: boolean

Inherited from ​

ILeaferBase.transforming

Defined in ​

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


view ​

â€ĸ view: unknown

Inherited from ​

ILeaferBase.view

Defined in ​

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


canvas ​

â€ĸ canvas: ILeaferCanvas

Inherited from ​

ILeaferBase.canvas

Defined in ​

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


renderer ​

â€ĸ renderer: IRenderer

Inherited from ​

ILeaferBase.renderer

Defined in ​

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


watcher ​

â€ĸ watcher: IWatcher

Inherited from ​

ILeaferBase.watcher

Defined in ​

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


layouter ​

â€ĸ layouter: ILayouter

Inherited from ​

ILeaferBase.layouter

Defined in ​

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


selector ​

â€ĸ Optional selector: ISelector

Inherited from ​

ILeaferBase.selector

Defined in ​

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


interaction ​

â€ĸ Optional interaction: IInteraction

Inherited from ​

ILeaferBase.interaction

Defined in ​

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


canvasManager ​

â€ĸ canvasManager: ICanvasManager

Inherited from ​

ILeaferBase.canvasManager

Defined in ​

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


hitCanvasManager ​

â€ĸ Optional hitCanvasManager: IHitCanvasManager

Inherited from ​

ILeaferBase.hitCanvasManager

Defined in ​

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


autoLayout ​

â€ĸ Optional autoLayout: IAutoBounds

Inherited from ​

ILeaferBase.autoLayout

Defined in ​

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


lazyBounds ​

â€ĸ lazyBounds: IBounds

Inherited from ​

ILeaferBase.lazyBounds

Defined in ​

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


config ​

â€ĸ config: ILeaferConfig

Inherited from ​

ILeaferBase.config

Defined in ​

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


userConfig ​

â€ĸ Optional userConfig: ILeaferConfig

Inherited from ​

ILeaferBase.userConfig

Defined in ​

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


cursorPoint ​

â€ĸ Readonly cursorPoint: IPointData

Inherited from ​

ILeaferBase.cursorPoint

Defined in ​

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


clientBounds ​

â€ĸ Readonly clientBounds: IBoundsData

Inherited from ​

ILeaferBase.clientBounds

Defined in ​

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


leafs ​

â€ĸ leafs: number

Inherited from ​

ILeaferBase.leafs

Defined in ​

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


__eventIds ​

â€ĸ __eventIds: IEventListenerId[]

Inherited from ​

ILeaferBase.__eventIds

Defined in ​

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


__nextRenderWait ​

â€ĸ __nextRenderWait: IFunction[]

Inherited from ​

ILeaferBase.__nextRenderWait

Defined in ​

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


isApp ​

â€ĸ Readonly isApp: boolean

Inherited from ​

ILeaferBase.isApp

Defined in ​

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


app ​

â€ĸ Readonly app: ILeaferBase

Inherited from ​

ILeaferBase.app

Defined in ​

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


parentApp ​

â€ĸ Optional parentApp: IAppBase

Inherited from ​

ILeaferBase.parentApp

Defined in ​

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


parent ​

â€ĸ Optional parent: IAppBase

Inherited from ​

ILeaferBase.parent

Defined in ​

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


id ​

â€ĸ Optional id: string

Inherited from ​

ILeaferBase.id

Defined in ​

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


name ​

â€ĸ Optional name: string

Inherited from ​

ILeaferBase.name

Defined in ​

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


className ​

â€ĸ Optional className: string

Inherited from ​

ILeaferBase.className

Defined in ​

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


blendMode ​

â€ĸ Optional blendMode: IBlendMode

Inherited from ​

ILeaferBase.blendMode

Defined in ​

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


opacity ​

â€ĸ Optional opacity: number

Inherited from ​

ILeaferBase.opacity

Defined in ​

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


visible ​

â€ĸ Optional visible: boolean | 0

Inherited from ​

ILeaferBase.visible

Defined in ​

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


selected ​

â€ĸ Optional selected: boolean

Inherited from ​

ILeaferBase.selected

Defined in ​

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


disabled ​

â€ĸ Optional disabled: boolean

Inherited from ​

ILeaferBase.disabled

Defined in ​

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


locked ​

â€ĸ Optional locked: boolean

Inherited from ​

ILeaferBase.locked

Defined in ​

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


zIndex ​

â€ĸ Optional zIndex: number

Inherited from ​

ILeaferBase.zIndex

Defined in ​

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


mask ​

â€ĸ Optional mask: boolean | IMaskType

Inherited from ​

ILeaferBase.mask

Defined in ​

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


eraser ​

â€ĸ Optional eraser: boolean | IEraserType

Inherited from ​

ILeaferBase.eraser

Defined in ​

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


x ​

â€ĸ Optional x: number

Inherited from ​

ILeaferBase.x

Defined in ​

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


y ​

â€ĸ Optional y: number

Inherited from ​

ILeaferBase.y

Defined in ​

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


width ​

â€ĸ Optional width: number

Inherited from ​

ILeaferBase.width

Defined in ​

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


height ​

â€ĸ Optional height: number

Inherited from ​

ILeaferBase.height

Defined in ​

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


scaleX ​

â€ĸ Optional scaleX: number

Inherited from ​

ILeaferBase.scaleX

Defined in ​

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


scaleY ​

â€ĸ Optional scaleY: number

Inherited from ​

ILeaferBase.scaleY

Defined in ​

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


rotation ​

â€ĸ Optional rotation: number

Inherited from ​

ILeaferBase.rotation

Defined in ​

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


skewX ​

â€ĸ Optional skewX: number

Inherited from ​

ILeaferBase.skewX

Defined in ​

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


skewY ​

â€ĸ Optional skewY: number

Inherited from ​

ILeaferBase.skewY

Defined in ​

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


scale ​

â€ĸ Optional scale: number | IPointData

Inherited from ​

ILeaferBase.scale

Defined in ​

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


offsetX ​

â€ĸ Optional offsetX: number

Inherited from ​

ILeaferBase.offsetX

Defined in ​

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


offsetY ​

â€ĸ Optional offsetY: number

Inherited from ​

ILeaferBase.offsetY

Defined in ​

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


scrollX ​

â€ĸ Optional scrollX: number

Inherited from ​

ILeaferBase.scrollX

Defined in ​

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


scrollY ​

â€ĸ Optional scrollY: number

Inherited from ​

ILeaferBase.scrollY

Defined in ​

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


origin ​

â€ĸ Optional origin: IUnitPointData | IDirection

Inherited from ​

ILeaferBase.origin

Defined in ​

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


around ​

â€ĸ Optional around: IUnitPointData | IDirection

Inherited from ​

ILeaferBase.around

Defined in ​

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


lazy ​

â€ĸ Optional lazy: boolean

Inherited from ​

ILeaferBase.lazy

Defined in ​

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


pixelRatio ​

â€ĸ Optional pixelRatio: number

Inherited from ​

ILeaferBase.pixelRatio

Defined in ​

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


path ​

â€ĸ Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from ​

ILeaferBase.path

Defined in ​

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


windingRule ​

â€ĸ Optional windingRule: IWindingRule

Inherited from ​

ILeaferBase.windingRule

Defined in ​

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


closed ​

â€ĸ Optional closed: boolean

Inherited from ​

ILeaferBase.closed

Defined in ​

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


flow ​

â€ĸ Optional flow: IFlowType

Inherited from ​

ILeaferBase.flow

Defined in ​

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


padding ​

â€ĸ Optional padding: IFourNumber

Inherited from ​

ILeaferBase.padding

Defined in ​

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


gap ​

â€ĸ Optional gap: IGap | IPointGap

Inherited from ​

ILeaferBase.gap

Defined in ​

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


flowAlign ​

â€ĸ Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from ​

ILeaferBase.flowAlign

Defined in ​

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


flowWrap ​

â€ĸ Optional flowWrap: IFlowWrap

Inherited from ​

ILeaferBase.flowWrap

Defined in ​

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


itemBox ​

â€ĸ Optional itemBox: IFlowBoxType

Inherited from ​

ILeaferBase.itemBox

Defined in ​

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


inFlow ​

â€ĸ Optional inFlow: boolean

Inherited from ​

ILeaferBase.inFlow

Defined in ​

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


autoWidth ​

â€ĸ Optional autoWidth: IAutoSize

Inherited from ​

ILeaferBase.autoWidth

Defined in ​

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


autoHeight ​

â€ĸ Optional autoHeight: IAutoSize

Inherited from ​

ILeaferBase.autoHeight

Defined in ​

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


lockRatio ​

â€ĸ Optional lockRatio: boolean

Inherited from ​

ILeaferBase.lockRatio

Defined in ​

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


autoBox ​

â€ĸ Optional autoBox: IAutoBoxData | IConstraint

Inherited from ​

ILeaferBase.autoBox

Defined in ​

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


widthRange ​

â€ĸ Optional widthRange: IRangeSize

Inherited from ​

ILeaferBase.widthRange

Defined in ​

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


heightRange ​

â€ĸ Optional heightRange: IRangeSize

Inherited from ​

ILeaferBase.heightRange

Defined in ​

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


draggable ​

â€ĸ Optional draggable: boolean | IAxis

Inherited from ​

ILeaferBase.draggable

Defined in ​

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


dragBounds ​

â€ĸ Optional dragBounds: "parent" | IBoundsData

Inherited from ​

ILeaferBase.dragBounds

Defined in ​

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


editable ​

â€ĸ Optional editable: boolean

Inherited from ​

ILeaferBase.editable

Defined in ​

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


hittable ​

â€ĸ Optional hittable: boolean

Inherited from ​

ILeaferBase.hittable

Defined in ​

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


hitFill ​

â€ĸ Optional hitFill: IHitType

Inherited from ​

ILeaferBase.hitFill

Defined in ​

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


hitStroke ​

â€ĸ Optional hitStroke: IHitType

Inherited from ​

ILeaferBase.hitStroke

Defined in ​

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


hitBox ​

â€ĸ Optional hitBox: boolean

Inherited from ​

ILeaferBase.hitBox

Defined in ​

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


hitChildren ​

â€ĸ Optional hitChildren: boolean

Inherited from ​

ILeaferBase.hitChildren

Defined in ​

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


hitSelf ​

â€ĸ Optional hitSelf: boolean

Inherited from ​

ILeaferBase.hitSelf

Defined in ​

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


hitRadius ​

â€ĸ Optional hitRadius: number

Inherited from ​

ILeaferBase.hitRadius

Defined in ​

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


button ​

â€ĸ Optional button: boolean

Inherited from ​

ILeaferBase.button

Defined in ​

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


cursor ​

â€ĸ Optional cursor: ICursorType | ICursorType[]

Inherited from ​

ILeaferBase.cursor

Defined in ​

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


motionPath ​

â€ĸ Optional motionPath: boolean

Inherited from ​

ILeaferBase.motionPath

Defined in ​

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


motionPrecision ​

â€ĸ Optional motionPrecision: number

Inherited from ​

ILeaferBase.motionPrecision

Defined in ​

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


motion ​

â€ĸ Optional motion: number | IUnitData

Inherited from ​

ILeaferBase.motion

Defined in ​

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


motionRotation ​

â€ĸ Optional motionRotation: number | boolean

Inherited from ​

ILeaferBase.motionRotation

Defined in ​

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


normalStyle ​

â€ĸ Optional normalStyle: IObject

Inherited from ​

ILeaferBase.normalStyle

Defined in ​

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


event ​

â€ĸ Optional event: IEventMap

Inherited from ​

ILeaferBase.event

Defined in ​

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


data ​

â€ĸ Optional data: IObject

Inherited from ​

ILeaferBase.data

Defined in ​

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


noBounds ​

â€ĸ Optional noBounds: boolean

Inherited from ​

ILeaferBase.noBounds

Defined in ​

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


tag ​

â€ĸ tag: string

Inherited from ​

ILeaferBase.tag

Defined in ​

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


__tag ​

â€ĸ Readonly __tag: string

Inherited from ​

ILeaferBase.__tag

Defined in ​

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


innerName ​

â€ĸ Readonly innerName: string

Inherited from ​

ILeaferBase.innerName

Defined in ​

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


__DataProcessor ​

â€ĸ Readonly __DataProcessor: IObject

Inherited from ​

ILeaferBase.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

â€ĸ Readonly __LayoutProcessor: IObject

Inherited from ​

ILeaferBase.__LayoutProcessor

Defined in ​

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


leafer ​

â€ĸ Optional leafer: ILeaferBase

Inherited from ​

ILeaferBase.leafer

Defined in ​

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


zoomLayer ​

â€ĸ Optional zoomLayer: ILeaf

Inherited from ​

ILeaferBase.zoomLayer

Defined in ​

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


leaferIsCreated ​

â€ĸ Readonly leaferIsCreated: boolean

Inherited from ​

ILeaferBase.leaferIsCreated

Defined in ​

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


leaferIsReady ​

â€ĸ Readonly leaferIsReady: boolean

Inherited from ​

ILeaferBase.leaferIsReady

Defined in ​

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


isLeafer ​

â€ĸ Optional Readonly isLeafer: boolean

Inherited from ​

ILeaferBase.isLeafer

Defined in ​

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


isBranch ​

â€ĸ Optional Readonly isBranch: boolean

Inherited from ​

ILeaferBase.isBranch

Defined in ​

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


isBranchLeaf ​

â€ĸ Optional Readonly isBranchLeaf: boolean

Inherited from ​

ILeaferBase.isBranchLeaf

Defined in ​

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


isOutside ​

â€ĸ Optional Readonly isOutside: boolean

Inherited from ​

ILeaferBase.isOutside

Defined in ​

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


__ ​

â€ĸ __: ILeafData

Inherited from ​

ILeaferBase.__

Defined in ​

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


proxyData ​

â€ĸ Optional proxyData: ILeafInputData

Inherited from ​

ILeaferBase.proxyData

Defined in ​

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


__proxyData ​

â€ĸ Optional __proxyData: ILeafInputData

Inherited from ​

ILeaferBase.__proxyData

Defined in ​

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


syncEventer ​

â€ĸ Optional syncEventer: ILeaf

Inherited from ​

ILeaferBase.syncEventer

Defined in ​

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


lockNormalStyle ​

â€ĸ Optional lockNormalStyle: boolean

Inherited from ​

ILeaferBase.lockNormalStyle

Defined in ​

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


__layout ​

â€ĸ __layout: ILeafLayout

Inherited from ​

ILeaferBase.__layout

Defined in ​

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


__world ​

â€ĸ __world: IMatrixWithBoundsScaleData

Inherited from ​

ILeaferBase.__world

Defined in ​

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


__local ​

â€ĸ Optional __local: IMatrixWithBoundsData

Inherited from ​

ILeaferBase.__local

Defined in ​

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


__nowWorld ​

â€ĸ Optional __nowWorld: IMatrixWithBoundsScaleData

Inherited from ​

ILeaferBase.__nowWorld

Defined in ​

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


__cameraWorld ​

â€ĸ Optional __cameraWorld: IMatrixWithBoundsScaleData

Inherited from ​

ILeaferBase.__cameraWorld

Defined in ​

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


__localMatrix ​

â€ĸ Readonly __localMatrix: IMatrixData

Inherited from ​

ILeaferBase.__localMatrix

Defined in ​

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


__localBoxBounds ​

â€ĸ Readonly __localBoxBounds: IBoundsData

Inherited from ​

ILeaferBase.__localBoxBounds

Defined in ​

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


__worldOpacity ​

â€ĸ __worldOpacity: number

Inherited from ​

ILeaferBase.__worldOpacity

Defined in ​

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


worldTransform ​

â€ĸ Readonly worldTransform: IMatrixWithScaleData

Inherited from ​

ILeaferBase.worldTransform

Defined in ​

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


localTransform ​

â€ĸ Readonly localTransform: IMatrixData

Inherited from ​

ILeaferBase.localTransform

Defined in ​

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


boxBounds ​

â€ĸ Readonly boxBounds: IBoundsData

Inherited from ​

ILeaferBase.boxBounds

Defined in ​

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


renderBounds ​

â€ĸ Readonly renderBounds: IBoundsData

Inherited from ​

ILeaferBase.renderBounds

Defined in ​

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


worldBoxBounds ​

â€ĸ Readonly worldBoxBounds: IBoundsData

Inherited from ​

ILeaferBase.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

â€ĸ Readonly worldStrokeBounds: IBoundsData

Inherited from ​

ILeaferBase.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

â€ĸ Readonly worldRenderBounds: IBoundsData

Inherited from ​

ILeaferBase.worldRenderBounds

Defined in ​

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


worldOpacity ​

â€ĸ Readonly worldOpacity: number

Inherited from ​

ILeaferBase.worldOpacity

Defined in ​

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


__level ​

â€ĸ __level: number

Inherited from ​

ILeaferBase.__level

Defined in ​

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


__tempNumber ​

â€ĸ Optional __tempNumber: number

Inherited from ​

ILeaferBase.__tempNumber

Defined in ​

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


__worldFlipped ​

â€ĸ Readonly __worldFlipped: boolean

Inherited from ​

ILeaferBase.__worldFlipped

Defined in ​

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


animation ​

â€ĸ Optional animation: IObject

Inherited from ​

ILeaferBase.animation

Defined in ​

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


animationOut ​

â€ĸ Optional animationOut: IObject

Inherited from ​

ILeaferBase.animationOut

Defined in ​

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


__hasAutoLayout ​

â€ĸ Optional __hasAutoLayout: boolean

Inherited from ​

ILeaferBase.__hasAutoLayout

Defined in ​

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


__hasMotionPath ​

â€ĸ Optional __hasMotionPath: boolean

Inherited from ​

ILeaferBase.__hasMotionPath

Defined in ​

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


__hasMask ​

â€ĸ Optional __hasMask: boolean

Inherited from ​

ILeaferBase.__hasMask

Defined in ​

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


__hasEraser ​

â€ĸ Optional __hasEraser: boolean

Inherited from ​

ILeaferBase.__hasEraser

Defined in ​

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


__hitCanvas ​

â€ĸ Optional __hitCanvas: IHitCanvas

Inherited from ​

ILeaferBase.__hitCanvas

Defined in ​

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


__flowBounds ​

â€ĸ Optional __flowBounds: IBoundsData

Inherited from ​

ILeaferBase.__flowBounds

Defined in ​

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


__widthGrow ​

â€ĸ Optional __widthGrow: number

Inherited from ​

ILeaferBase.__widthGrow

Defined in ​

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


__heightGrow ​

â€ĸ Optional __heightGrow: number

Inherited from ​

ILeaferBase.__heightGrow

Defined in ​

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


__hasGrow ​

â€ĸ Optional __hasGrow: boolean

Inherited from ​

ILeaferBase.__hasGrow

Defined in ​

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


__onlyHitMask ​

â€ĸ Readonly __onlyHitMask: boolean

Inherited from ​

ILeaferBase.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

â€ĸ Readonly __ignoreHitWorld: boolean

Inherited from ​

ILeaferBase.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

â€ĸ Readonly __inLazyBounds: boolean

Inherited from ​

ILeaferBase.__inLazyBounds

Defined in ​

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


pathInputed ​

â€ĸ Readonly pathInputed: boolean

Inherited from ​

ILeaferBase.pathInputed

Defined in ​

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


destroyed ​

â€ĸ destroyed: boolean

Inherited from ​

ILeaferBase.destroyed

Defined in ​

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


innerId ​

â€ĸ Readonly innerId: number

Inherited from ​

ILeaferBase.innerId

Defined in ​

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


__captureMap ​

â€ĸ Optional __captureMap: IEventListenerMap

Inherited from ​

ILeaferBase.__captureMap

Defined in ​

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


__bubbleMap ​

â€ĸ Optional __bubbleMap: IEventListenerMap

Inherited from ​

ILeaferBase.__bubbleMap

Defined in ​

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

Methods ​

init ​

▸ init(userConfig?, parentApp?): void

Parameters ​

NameType
userConfig?ILeaferConfig
parentApp?IAppBase

Returns ​

void

Inherited from ​

ILeaferBase.init

Defined in ​

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


unlockLayout ​

▸ unlockLayout(): void

Returns ​

void

Inherited from ​

ILeaferBase.unlockLayout

Defined in ​

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


lockLayout ​

▸ lockLayout(): void

Returns ​

void

Inherited from ​

ILeaferBase.lockLayout

Defined in ​

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


requestRender ​

▸ requestRender(change): void

Parameters ​

NameType
changeboolean

Returns ​

void

Inherited from ​

ILeaferBase.requestRender

Defined in ​

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


updateCursor ​

▸ updateCursor(cursor?): void

Parameters ​

NameType
cursor?ICursorType

Returns ​

void

Inherited from ​

ILeaferBase.updateCursor

Defined in ​

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


resize ​

▸ resize(size): void

Parameters ​

NameType
sizeIScreenSizeData

Returns ​

void

Inherited from ​

ILeaferBase.resize

Defined in ​

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


waitReady ​

▸ waitReady(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

ILeaferBase.waitReady

Defined in ​

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


waitViewReady ​

▸ waitViewReady(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

ILeaferBase.waitViewReady

Defined in ​

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


waitViewCompleted ​

▸ waitViewCompleted(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

ILeaferBase.waitViewCompleted

Defined in ​

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


zoom ​

▸ zoom(zoomType, padding?, fixedScale?): IBoundsData

Parameters ​

NameType
zoomTypeIZoomType
padding?IFourNumber
fixedScale?boolean

Returns ​

IBoundsData

Inherited from ​

ILeaferBase.zoom

Defined in ​

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


getValidMove ​

▸ getValidMove(moveX, moveY): IPointData

Parameters ​

NameType
moveXnumber
moveYnumber

Returns ​

IPointData

Inherited from ​

ILeaferBase.getValidMove

Defined in ​

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


getValidScale ​

▸ getValidScale(changeScale): number

Parameters ​

NameType
changeScalenumber

Returns ​

number

Inherited from ​

ILeaferBase.getValidScale

Defined in ​

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


getWorldPointByClient ​

▸ getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getWorldPointByClient

Defined in ​

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


getPagePointByClient ​

▸ getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getPagePointByClient

Defined in ​

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


updateClientBounds ​

▸ updateClientBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.updateClientBounds

Defined in ​

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


receiveEvent ​

▸ receiveEvent(event): void

Parameters ​

NameType
eventany

Returns ​

void

Inherited from ​

ILeaferBase.receiveEvent

Defined in ​

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


start ​

▸ start(): void

Returns ​

void

Inherited from ​

ILeaferBase.start

Defined in ​

leafer/packages/interface/src/control/IControl.ts:2


stop ​

▸ stop(): void

Returns ​

void

Inherited from ​

ILeaferBase.stop

Defined in ​

leafer/packages/interface/src/control/IControl.ts:3


__renderBranch ​

▸ __renderBranch(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__renderBranch

Defined in ​

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


addMany ​

▸ addMany(...children): void

Parameters ​

NameType
...childrenILeaf[] | ILeafInputData[]

Returns ​

void

Inherited from ​

ILeaferBase.addMany

Defined in ​

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


removeAll ​

▸ removeAll(destroy?): void

Parameters ​

NameType
destroy?boolean

Returns ​

void

Inherited from ​

ILeaferBase.removeAll

Defined in ​

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


clear ​

▸ clear(): void

Returns ​

void

Inherited from ​

ILeaferBase.clear

Defined in ​

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


reset ​

▸ reset(data?): void

Parameters ​

NameType
data?ILeafInputData

Returns ​

void

Inherited from ​

ILeaferBase.reset

Defined in ​

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


resetCustom ​

▸ resetCustom(): void

Returns ​

void

Inherited from ​

ILeaferBase.resetCustom

Defined in ​

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


waitParent ​

▸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

ILeaferBase.waitParent

Defined in ​

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


waitLeafer ​

▸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

ILeaferBase.waitLeafer

Defined in ​

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


nextRender ​

▸ nextRender(item, bind?, off?): void

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Inherited from ​

ILeaferBase.nextRender

Defined in ​

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


removeNextRender ​

▸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Inherited from ​

ILeaferBase.removeNextRender

Defined in ​

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


__bindLeafer ​

▸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Inherited from ​

ILeaferBase.__bindLeafer

Defined in ​

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


set ​

▸ set(data, transition?): void

Parameters ​

NameType
dataIObject
transition?any

Returns ​

void

Inherited from ​

ILeaferBase.set

Defined in ​

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


get ​

▸ get(name?): IValue | ILeafInputData

Parameters ​

NameType
name?string | string[] | IObject

Returns ​

IValue | ILeafInputData

Inherited from ​

ILeaferBase.get

Defined in ​

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


setAttr ​

▸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Inherited from ​

ILeaferBase.setAttr

Defined in ​

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


getAttr ​

▸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Inherited from ​

ILeaferBase.getAttr

Defined in ​

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


getComputedAttr ​

▸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Inherited from ​

ILeaferBase.getComputedAttr

Defined in ​

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


toJSON ​

▸ toJSON(options?): IObject

Parameters ​

NameType
options?IJSONOptions

Returns ​

IObject

Inherited from ​

ILeaferBase.toJSON

Defined in ​

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


toString ​

▸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Inherited from ​

ILeaferBase.toString

Defined in ​

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


toSVG ​

▸ toSVG(): string

Returns ​

string

Inherited from ​

ILeaferBase.toSVG

Defined in ​

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


__SVG ​

▸ __SVG(data): void

Parameters ​

NameType
dataIObject

Returns ​

void

Inherited from ​

ILeaferBase.__SVG

Defined in ​

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


toHTML ​

▸ toHTML(): string

Returns ​

string

Inherited from ​

ILeaferBase.toHTML

Defined in ​

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


clone ​

▸ clone(data?): ILeaf

Parameters ​

NameType
data?ILeafInputData

Returns ​

ILeaf

Inherited from ​

ILeaferBase.clone

Defined in ​

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


animate ​

▸ animate(_keyframe?, _options?, _type?, _isTemp?): any

Parameters ​

NameType
_keyframe?any
_options?any
_type?any
_isTemp?boolean

Returns ​

any

Inherited from ​

ILeaferBase.animate

Defined in ​

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


__setAttr ​

▸ __setAttr(attrName, newValue, checkFiniteNumber?): boolean

Parameters ​

NameType
attrNamestring
newValueIValue
checkFiniteNumber?boolean

Returns ​

boolean

Inherited from ​

ILeaferBase.__setAttr

Defined in ​

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


__getAttr ​

▸ __getAttr(attrName): IValue

Parameters ​

NameType
attrNamestring

Returns ​

IValue

Inherited from ​

ILeaferBase.__getAttr

Defined in ​

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


setProxyAttr ​

▸ setProxyAttr(name, newValue): void

Parameters ​

NameType
namestring
newValueIValue

Returns ​

void

Inherited from ​

ILeaferBase.setProxyAttr

Defined in ​

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


getProxyAttr ​

▸ getProxyAttr(name): IValue

Parameters ​

NameType
namestring

Returns ​

IValue

Inherited from ​

ILeaferBase.getProxyAttr

Defined in ​

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


find ​

▸ find(condition, options?): ILeaf[]

Parameters ​

NameType
conditionstring | number | IFindMethod
options?any

Returns ​

ILeaf[]

Inherited from ​

ILeaferBase.find

Defined in ​

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


findTag ​

▸ findTag(tag): ILeaf[]

Parameters ​

NameType
tagstring | string[]

Returns ​

ILeaf[]

Inherited from ​

ILeaferBase.findTag

Defined in ​

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


findOne ​

▸ findOne(condition, options?): ILeaf

Parameters ​

NameType
conditionstring | number | IFindMethod
options?any

Returns ​

ILeaf

Inherited from ​

ILeaferBase.findOne

Defined in ​

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


findId ​

▸ findId(id): ILeaf

Parameters ​

NameType
idstring | number

Returns ​

ILeaf

Inherited from ​

ILeaferBase.findId

Defined in ​

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


focus ​

▸ focus(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Inherited from ​

ILeaferBase.focus

Defined in ​

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


updateState ​

▸ updateState(): void

Returns ​

void

Inherited from ​

ILeaferBase.updateState

Defined in ​

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


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Inherited from ​

ILeaferBase.updateLayout

Defined in ​

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


forceUpdate ​

▸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Inherited from ​

ILeaferBase.forceUpdate

Defined in ​

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


forceRender ​

▸ forceRender(bounds?, sync?): void

Parameters ​

NameType
bounds?IBoundsData
sync?boolean

Returns ​

void

Inherited from ​

ILeaferBase.forceRender

Defined in ​

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


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateLocalRenderBounds

Defined in ​

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


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateContentBounds

Defined in ​

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


__updateBoxBounds ​

▸ __updateBoxBounds(secondLayout?): void

Parameters ​

NameType
secondLayout?boolean

Returns ​

void

Inherited from ​

ILeaferBase.__updateBoxBounds

Defined in ​

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


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Inherited from ​

ILeaferBase.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Inherited from ​

ILeaferBase.__updateRenderSpread

Defined in ​

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


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Inherited from ​

ILeaferBase.__onUpdateSize

Defined in ​

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


__updateEraser ​

▸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Inherited from ​

ILeaferBase.__updateEraser

Defined in ​

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


__updateMask ​

▸ __updateMask(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Inherited from ​

ILeaferBase.__updateMask

Defined in ​

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


__renderMask ​

▸ __renderMask(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__renderMask

Defined in ​

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


__renderEraser ​

▸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__renderEraser

Defined in ​

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


__getNowWorld ​

▸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Inherited from ​

ILeaferBase.__getNowWorld

Defined in ​

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


getTransform ​

▸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Inherited from ​

ILeaferBase.getTransform

Defined in ​

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


getBounds ​

▸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Inherited from ​

ILeaferBase.getBounds

Defined in ​

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


getLayoutBounds ​

▸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters ​

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

Returns ​

ILayoutBoundsData

Inherited from ​

ILeaferBase.getLayoutBounds

Defined in ​

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


getLayoutPoints ​

▸ getLayoutPoints(type?, relative?): IPointData[]

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Inherited from ​

ILeaferBase.getLayoutPoints

Defined in ​

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


getWorldBounds ​

▸ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Inherited from ​

ILeaferBase.getWorldBounds

Defined in ​

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


worldToLocal ​

▸ worldToLocal(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

ILeaferBase.worldToLocal

Defined in ​

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


localToWorld ​

▸ localToWorld(local, to?, distance?, relative?): void

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

ILeaferBase.localToWorld

Defined in ​

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


worldToInner ​

▸ worldToInner(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

ILeaferBase.worldToInner

Defined in ​

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


innerToWorld ​

▸ innerToWorld(inner, to?, distance?, relative?): void

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

ILeaferBase.innerToWorld

Defined in ​

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


getBoxPoint ​

▸ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getBoxPoint

Defined in ​

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


getBoxPointByInner ​

▸ getBoxPointByInner(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getBoxPointByInner

Defined in ​

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


getInnerPoint ​

▸ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getInnerPoint

Defined in ​

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


getInnerPointByBox ​

▸ getInnerPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getInnerPointByBox

Defined in ​

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


getInnerPointByLocal ​

▸ getInnerPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getInnerPointByLocal

Defined in ​

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


getLocalPoint ​

▸ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getLocalPoint

Defined in ​

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


getLocalPointByInner ​

▸ getLocalPointByInner(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getLocalPointByInner

Defined in ​

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


getPagePoint ​

▸ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getPagePoint

Defined in ​

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


getWorldPoint ​

▸ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getWorldPoint

Defined in ​

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


getWorldPointByBox ​

▸ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getWorldPointByBox

Defined in ​

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


getWorldPointByLocal ​

▸ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getWorldPointByLocal

Defined in ​

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


getWorldPointByPage ​

▸ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

ILeaferBase.getWorldPointByPage

Defined in ​

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


setTransform ​

▸ setTransform(transform?, resize?): void

Parameters ​

NameType
transform?IMatrixData
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.setTransform

Defined in ​

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


transform ​

▸ transform(transform?, resize?): void

Parameters ​

NameType
transform?IMatrixData
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.transform

Defined in ​

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


move ​

▸ move(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Inherited from ​

ILeaferBase.move

Defined in ​

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


moveInner ​

▸ moveInner(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Inherited from ​

ILeaferBase.moveInner

Defined in ​

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


scaleOf ​

▸ scaleOf(origin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.scaleOf

Defined in ​

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


rotateOf ​

▸ rotateOf(origin, rotation): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber

Returns ​

void

Inherited from ​

ILeaferBase.rotateOf

Defined in ​

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


skewOf ​

▸ skewOf(origin, skewX, skewY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.skewOf

Defined in ​

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


transformWorld ​

▸ transformWorld(worldTransform?, resize?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.transformWorld

Defined in ​

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


moveWorld ​

▸ moveWorld(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Inherited from ​

ILeaferBase.moveWorld

Defined in ​

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


scaleOfWorld ​

▸ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.scaleOfWorld

Defined in ​

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


rotateOfWorld ​

▸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Inherited from ​

ILeaferBase.rotateOfWorld

Defined in ​

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


skewOfWorld ​

▸ skewOfWorld(worldOrigin, skewX, skewY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.skewOfWorld

Defined in ​

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


flip ​

▸ flip(axis): void

Parameters ​

NameType
axisIAxis

Returns ​

void

Inherited from ​

ILeaferBase.flip

Defined in ​

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


scaleResize ​

▸ scaleResize(scaleX, scaleY, noResize?): void

Parameters ​

NameType
scaleXnumber
scaleYnumber
noResize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.scaleResize

Defined in ​

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


__scaleResize ​

▸ __scaleResize(scaleX, scaleY): void

Parameters ​

NameType
scaleXnumber
scaleYnumber

Returns ​

void

Inherited from ​

ILeaferBase.__scaleResize

Defined in ​

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


resizeWidth ​

▸ resizeWidth(width): void

Parameters ​

NameType
widthnumber

Returns ​

void

Inherited from ​

ILeaferBase.resizeWidth

Defined in ​

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


resizeHeight ​

▸ resizeHeight(height): void

Parameters ​

NameType
heightnumber

Returns ​

void

Inherited from ​

ILeaferBase.resizeHeight

Defined in ​

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


__hitWorld ​

▸ __hitWorld(point): boolean

Parameters ​

NameType
pointIRadiusPointData

Returns ​

boolean

Inherited from ​

ILeaferBase.__hitWorld

Defined in ​

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


__hit ​

▸ __hit(local): boolean

Parameters ​

NameType
localIRadiusPointData

Returns ​

boolean

Inherited from ​

ILeaferBase.__hit

Defined in ​

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


__hitFill ​

▸ __hitFill(inner): boolean

Parameters ​

NameType
innerIRadiusPointData

Returns ​

boolean

Inherited from ​

ILeaferBase.__hitFill

Defined in ​

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


__hitStroke ​

▸ __hitStroke(inner, strokeWidth): boolean

Parameters ​

NameType
innerIRadiusPointData
strokeWidthnumber

Returns ​

boolean

Inherited from ​

ILeaferBase.__hitStroke

Defined in ​

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


__hitPixel ​

▸ __hitPixel(inner): boolean

Parameters ​

NameType
innerIRadiusPointData

Returns ​

boolean

Inherited from ​

ILeaferBase.__hitPixel

Defined in ​

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


__drawHitPath ​

▸ __drawHitPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Inherited from ​

ILeaferBase.__drawHitPath

Defined in ​

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


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateHitCanvas

Defined in ​

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


__render ​

▸ __render(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__render

Defined in ​

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


__drawFast ​

▸ __drawFast(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__drawFast

Defined in ​

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


__draw ​

▸ __draw(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__draw

Defined in ​

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


__clip ​

▸ __clip(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

ILeaferBase.__clip

Defined in ​

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


__renderShape ​

▸ __renderShape(canvas, options, ignoreFill?, ignoreStroke?): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions
ignoreFill?boolean
ignoreStroke?boolean

Returns ​

void

Inherited from ​

ILeaferBase.__renderShape

Defined in ​

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


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateWorldOpacity

Defined in ​

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


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateChange

Defined in ​

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


__drawPath ​

▸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Inherited from ​

ILeaferBase.__drawPath

Defined in ​

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


__drawRenderPath ​

▸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Inherited from ​

ILeaferBase.__drawRenderPath

Defined in ​

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


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updatePath

Defined in ​

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


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateRenderPath

Defined in ​

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


getMotionPathData ​

▸ getMotionPathData(): IMotionPathData

Returns ​

IMotionPathData

Inherited from ​

ILeaferBase.getMotionPathData

Defined in ​

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


getMotionPoint ​

▸ getMotionPoint(motionDistance): IRotationPointData

Parameters ​

NameType
motionDistancenumber | IUnitData

Returns ​

IRotationPointData

Inherited from ​

ILeaferBase.getMotionPoint

Defined in ​

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


getMotionTotal ​

▸ getMotionTotal(): number

Returns ​

number

Inherited from ​

ILeaferBase.getMotionTotal

Defined in ​

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


__updateMotionPath ​

▸ __updateMotionPath(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateMotionPath

Defined in ​

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


__runAnimation ​

▸ __runAnimation(type, complete?): void

Parameters ​

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

Returns ​

void

Inherited from ​

ILeaferBase.__runAnimation

Defined in ​

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


__emitLifeEvent ​

▸ __emitLifeEvent(type): void

Parameters ​

NameType
typestring

Returns ​

void

Inherited from ​

ILeaferBase.__emitLifeEvent

Defined in ​

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


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Inherited from ​

ILeaferBase.__updateSortChildren

Defined in ​

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


add ​

▸ add(child, index?): void

Parameters ​

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

Returns ​

void

Inherited from ​

ILeaferBase.add

Defined in ​

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


remove ​

▸ remove(child?, destroy?): void

Parameters ​

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

Returns ​

void

Inherited from ​

ILeaferBase.remove

Defined in ​

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


dropTo ​

▸ dropTo(parent, index?, resize?): void

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Inherited from ​

ILeaferBase.dropTo

Defined in ​

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


__realSetAttr ​

▸ __realSetAttr(name, newValue): void

Parameters ​

NameType
namestring
newValueIValue

Returns ​

void

Inherited from ​

ILeaferBase.__realSetAttr

Defined in ​

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


destroyEventer ​

▸ destroyEventer(): void

Returns ​

void

Inherited from ​

ILeaferBase.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 ​

ILeaferBase.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 ​

ILeaferBase.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 ​

ILeaferBase.on_

Defined in ​

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


off_ ​

▸ off_(id): void

Parameters ​

NameType
idIEventListenerId | IEventListenerId[]

Returns ​

void

Inherited from ​

ILeaferBase.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 ​

ILeaferBase.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 ​

ILeaferBase.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 ​

ILeaferBase.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 ​

ILeaferBase.hasEvent

Defined in ​

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


destroy ​

▸ destroy(): void

Returns ​

void

Inherited from ​

ILeaferBase.destroy

Defined in ​

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

Released under the MIT License.