Skip to content

Class: Leafer ​

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

â€ĸ new Leafer(userConfig?, data?): Leafer

Parameters ​

NameType
userConfig?ILeaferConfig
data?ILeaferInputData

Returns ​

Leafer

Overrides ​

Group.constructor

Defined in ​

ui/packages/display/src/Leafer.ts:88

Properties ​

innerId ​

â€ĸ Readonly innerId: number

Implementation of ​

ILeafer.innerId

Inherited from ​

Group.innerId

Defined in ​

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


syncEventer ​

â€ĸ Optional syncEventer: ILeaf

Implementation of ​

ILeafer.syncEventer

Inherited from ​

Group.syncEventer

Defined in ​

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


lockNormalStyle ​

â€ĸ Optional lockNormalStyle: boolean

Implementation of ​

ILeafer.lockNormalStyle

Inherited from ​

Group.lockNormalStyle

Defined in ​

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


__layout ​

â€ĸ __layout: ILeafLayout

Implementation of ​

ILeafer.__layout

Inherited from ​

Group.__layout

Defined in ​

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


__world ​

â€ĸ __world: IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__world

Inherited from ​

Group.__world

Defined in ​

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


__local ​

â€ĸ Optional __local: IMatrixWithBoundsData

Implementation of ​

ILeafer.__local

Inherited from ​

Group.__local

Defined in ​

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


__nowWorld ​

â€ĸ Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__nowWorld

Inherited from ​

Group.__nowWorld

Defined in ​

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


__cameraWorld ​

â€ĸ Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__cameraWorld

Inherited from ​

Group.__cameraWorld

Defined in ​

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


__worldOpacity ​

â€ĸ __worldOpacity: number

Implementation of ​

ILeafer.__worldOpacity

Inherited from ​

Group.__worldOpacity

Defined in ​

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


__level ​

â€ĸ __level: number

Implementation of ​

ILeafer.__level

Inherited from ​

Group.__level

Defined in ​

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


__tempNumber ​

â€ĸ __tempNumber: number

Implementation of ​

ILeafer.__tempNumber

Inherited from ​

Group.__tempNumber

Defined in ​

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


__hasAutoLayout ​

â€ĸ Optional __hasAutoLayout: boolean

Implementation of ​

ILeafer.__hasAutoLayout

Inherited from ​

Group.__hasAutoLayout

Defined in ​

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


__hasMask ​

â€ĸ Optional __hasMask: boolean

Implementation of ​

ILeafer.__hasMask

Inherited from ​

Group.__hasMask

Defined in ​

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


__hasEraser ​

â€ĸ Optional __hasEraser: boolean

Implementation of ​

ILeafer.__hasEraser

Inherited from ​

Group.__hasEraser

Defined in ​

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


__hitCanvas ​

â€ĸ Optional __hitCanvas: IHitCanvas

Implementation of ​

ILeafer.__hitCanvas

Inherited from ​

Group.__hitCanvas

Defined in ​

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


__captureMap ​

â€ĸ Optional __captureMap: IEventListenerMap

Implementation of ​

ILeafer.__captureMap

Inherited from ​

Group.__captureMap

Defined in ​

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


__bubbleMap ​

â€ĸ Optional __bubbleMap: IEventListenerMap

Implementation of ​

ILeafer.__bubbleMap

Inherited from ​

Group.__bubbleMap

Defined in ​

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


noBounds ​

â€ĸ Optional noBounds: boolean

Implementation of ​

ILeafer.noBounds

Inherited from ​

Group.noBounds

Defined in ​

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


destroyed ​

â€ĸ destroyed: boolean

Implementation of ​

ILeafer.destroyed

Inherited from ​

Group.destroyed

Defined in ​

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


children ​

â€ĸ children: IUI[]

Implementation of ​

ILeafer.children

Inherited from ​

Group.children

Defined in ​

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


list ​

â–Ē Static list: LeafList

Defined in ​

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


__ ​

â€ĸ __: ILeaferData

Implementation of ​

ILeafer.__

Overrides ​

Group.__

Defined in ​

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


pixelRatio ​

â€ĸ Optional pixelRatio: number

Implementation of ​

ILeafer.pixelRatio

Overrides ​

Group.pixelRatio

Defined in ​

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


parentApp ​

â€ĸ Optional parentApp: IApp

Implementation of ​

ILeafer.parentApp

Defined in ​

ui/packages/display/src/Leafer.ts:31


parent ​

â€ĸ Optional parent: IApp

Implementation of ​

ILeafer.parent

Overrides ​

Group.parent

Defined in ​

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


running ​

â€ĸ running: boolean

Implementation of ​

ILeafer.running

Defined in ​

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


created ​

â€ĸ created: boolean

Implementation of ​

ILeafer.created

Defined in ​

ui/packages/display/src/Leafer.ts:35


ready ​

â€ĸ ready: boolean

Implementation of ​

ILeafer.ready

Defined in ​

ui/packages/display/src/Leafer.ts:36


viewReady ​

â€ĸ viewReady: boolean

Implementation of ​

ILeafer.viewReady

Defined in ​

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


viewCompleted ​

â€ĸ viewCompleted: boolean

Implementation of ​

ILeafer.viewCompleted

Defined in ​

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


transforming ​

â€ĸ transforming: boolean

Implementation of ​

ILeafer.transforming

Defined in ​

ui/packages/display/src/Leafer.ts:42


view ​

â€ĸ view: unknown

Implementation of ​

ILeafer.view

Defined in ​

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


canvas ​

â€ĸ canvas: ILeaferCanvas

Implementation of ​

ILeafer.canvas

Defined in ​

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


renderer ​

â€ĸ renderer: IRenderer

Implementation of ​

ILeafer.renderer

Defined in ​

ui/packages/display/src/Leafer.ts:48


watcher ​

â€ĸ watcher: IWatcher

Implementation of ​

ILeafer.watcher

Defined in ​

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


layouter ​

â€ĸ layouter: ILayouter

Implementation of ​

ILeafer.layouter

Defined in ​

ui/packages/display/src/Leafer.ts:51


selector ​

â€ĸ Optional selector: ISelector

Implementation of ​

ILeafer.selector

Defined in ​

ui/packages/display/src/Leafer.ts:53


interaction ​

â€ĸ Optional interaction: IInteraction

Implementation of ​

ILeafer.interaction

Defined in ​

ui/packages/display/src/Leafer.ts:54


canvasManager ​

â€ĸ canvasManager: ICanvasManager

Implementation of ​

ILeafer.canvasManager

Defined in ​

ui/packages/display/src/Leafer.ts:56


hitCanvasManager ​

â€ĸ Optional hitCanvasManager: IHitCanvasManager

Implementation of ​

ILeafer.hitCanvasManager

Defined in ​

ui/packages/display/src/Leafer.ts:57


editor ​

â€ĸ editor: IEditorBase

Implementation of ​

ILeafer.editor

Defined in ​

ui/packages/display/src/Leafer.ts:60


userConfig ​

â€ĸ userConfig: ILeaferConfig

Implementation of ​

ILeafer.userConfig

Defined in ​

ui/packages/display/src/Leafer.ts:62


config ​

â€ĸ config: ILeaferConfig

Implementation of ​

ILeafer.config

Defined in ​

ui/packages/display/src/Leafer.ts:63


autoLayout ​

â€ĸ Optional autoLayout: IAutoBounds

Implementation of ​

ILeafer.autoLayout

Defined in ​

ui/packages/display/src/Leafer.ts:70


lazyBounds ​

â€ĸ lazyBounds: IBounds

Implementation of ​

ILeafer.lazyBounds

Defined in ​

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


leafs ​

â€ĸ leafs: number = 0

Implementation of ​

ILeafer.leafs

Defined in ​

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


__eventIds ​

â€ĸ __eventIds: IEventListenerId[] = []

Implementation of ​

ILeafer.__eventIds

Defined in ​

ui/packages/display/src/Leafer.ts:78


__startTimer ​

â€ĸ Protected __startTimer: any

Defined in ​

ui/packages/display/src/Leafer.ts:79


__controllers ​

â€ĸ Protected __controllers: IControl[] = []

Defined in ​

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


__initWait ​

â€ĸ Protected __initWait: IFunction[]

Defined in ​

ui/packages/display/src/Leafer.ts:82


__readyWait ​

â€ĸ Protected __readyWait: IFunction[] = []

Defined in ​

ui/packages/display/src/Leafer.ts:83


__viewReadyWait ​

â€ĸ Protected __viewReadyWait: IFunction[] = []

Defined in ​

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


__viewCompletedWait ​

â€ĸ Protected __viewCompletedWait: IFunction[] = []

Defined in ​

ui/packages/display/src/Leafer.ts:85


__nextRenderWait ​

â€ĸ __nextRenderWait: IFunction[] = []

Implementation of ​

ILeafer.__nextRenderWait

Defined in ​

ui/packages/display/src/Leafer.ts:86


proxyData ​

â€ĸ Optional proxyData: IUIInputData

Implementation of ​

ILeafer.proxyData

Inherited from ​

Group.proxyData

Defined in ​

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


__proxyData ​

â€ĸ Optional __proxyData: IUIInputData

Implementation of ​

ILeafer.__proxyData

Inherited from ​

Group.__proxyData

Defined in ​

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


leafer ​

â€ĸ Optional leafer: ILeafer

Implementation of ​

ILeafer.leafer

Inherited from ​

Group.leafer

Defined in ​

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


zoomLayer ​

â€ĸ zoomLayer: IGroup

Implementation of ​

ILeafer.zoomLayer

Inherited from ​

Group.zoomLayer

Defined in ​

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


id ​

â€ĸ Optional id: string

Implementation of ​

ILeafer.id

Inherited from ​

Group.id

Defined in ​

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


name ​

â€ĸ Optional name: string

Implementation of ​

ILeafer.name

Inherited from ​

Group.name

Defined in ​

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


className ​

â€ĸ Optional className: string

Implementation of ​

ILeafer.className

Inherited from ​

Group.className

Defined in ​

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


blendMode ​

â€ĸ Optional blendMode: IBlendMode

Implementation of ​

ILeafer.blendMode

Inherited from ​

Group.blendMode

Defined in ​

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


opacity ​

â€ĸ Optional opacity: number

Implementation of ​

ILeafer.opacity

Inherited from ​

Group.opacity

Defined in ​

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


visible ​

â€ĸ Optional visible: boolean | 0

Implementation of ​

ILeafer.visible

Inherited from ​

Group.visible

Defined in ​

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


locked ​

â€ĸ Optional locked: boolean

Implementation of ​

ILeafer.locked

Inherited from ​

Group.locked

Defined in ​

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


zIndex ​

â€ĸ Optional zIndex: number

Implementation of ​

ILeafer.zIndex

Inherited from ​

Group.zIndex

Defined in ​

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


mask ​

â€ĸ Optional mask: boolean | IMaskType

Implementation of ​

ILeafer.mask

Inherited from ​

Group.mask

Defined in ​

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


eraser ​

â€ĸ Optional eraser: boolean | IEraserType

Implementation of ​

ILeafer.eraser

Inherited from ​

Group.eraser

Defined in ​

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


x ​

â€ĸ Optional x: number

Implementation of ​

ILeafer.x

Inherited from ​

Group.x

Defined in ​

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


y ​

â€ĸ Optional y: number

Implementation of ​

ILeafer.y

Inherited from ​

Group.y

Defined in ​

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


width ​

â€ĸ Optional width: number

Implementation of ​

ILeafer.width

Inherited from ​

Group.width

Defined in ​

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


height ​

â€ĸ Optional height: number

Implementation of ​

ILeafer.height

Inherited from ​

Group.height

Defined in ​

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


scaleX ​

â€ĸ Optional scaleX: number

Implementation of ​

ILeafer.scaleX

Inherited from ​

Group.scaleX

Defined in ​

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


scaleY ​

â€ĸ Optional scaleY: number

Implementation of ​

ILeafer.scaleY

Inherited from ​

Group.scaleY

Defined in ​

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


rotation ​

â€ĸ Optional rotation: number

Implementation of ​

ILeafer.rotation

Inherited from ​

Group.rotation

Defined in ​

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


skewX ​

â€ĸ Optional skewX: number

Implementation of ​

ILeafer.skewX

Inherited from ​

Group.skewX

Defined in ​

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


skewY ​

â€ĸ Optional skewY: number

Implementation of ​

ILeafer.skewY

Inherited from ​

Group.skewY

Defined in ​

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


offsetX ​

â€ĸ Optional offsetX: number

Implementation of ​

ILeafer.offsetX

Inherited from ​

Group.offsetX

Defined in ​

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


offsetY ​

â€ĸ Optional offsetY: number

Implementation of ​

ILeafer.offsetY

Inherited from ​

Group.offsetY

Defined in ​

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


scrollX ​

â€ĸ Optional scrollX: number

Implementation of ​

ILeafer.scrollX

Inherited from ​

Group.scrollX

Defined in ​

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


scrollY ​

â€ĸ Optional scrollY: number

Implementation of ​

ILeafer.scrollY

Inherited from ​

Group.scrollY

Defined in ​

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


origin ​

â€ĸ Optional origin: IUnitPointData | IDirection

Implementation of ​

ILeafer.origin

Inherited from ​

Group.origin

Defined in ​

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


around ​

â€ĸ Optional around: IUnitPointData | IDirection

Implementation of ​

ILeafer.around

Inherited from ​

Group.around

Defined in ​

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


lazy ​

â€ĸ Optional lazy: boolean

Implementation of ​

ILeafer.lazy

Inherited from ​

Group.lazy

Defined in ​

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


path ​

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

Implementation of ​

ILeafer.path

Inherited from ​

Group.path

Defined in ​

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


windingRule ​

â€ĸ Optional windingRule: IWindingRule

Implementation of ​

ILeafer.windingRule

Inherited from ​

Group.windingRule

Defined in ​

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


closed ​

â€ĸ Optional closed: boolean

Implementation of ​

ILeafer.closed

Inherited from ​

Group.closed

Defined in ​

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


flow ​

â€ĸ Optional flow: IFlowType

Implementation of ​

ILeafer.flow

Inherited from ​

Group.flow

Defined in ​

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


padding ​

â€ĸ Optional padding: IFourNumber

Implementation of ​

ILeafer.padding

Inherited from ​

Group.padding

Defined in ​

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


gap ​

â€ĸ Optional gap: IGap | IPointGap

Implementation of ​

ILeafer.gap

Inherited from ​

Group.gap

Defined in ​

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


flowAlign ​

â€ĸ Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of ​

ILeafer.flowAlign

Inherited from ​

Group.flowAlign

Defined in ​

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


flowWrap ​

â€ĸ Optional flowWrap: IFlowWrap

Implementation of ​

ILeafer.flowWrap

Inherited from ​

Group.flowWrap

Defined in ​

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


itemBox ​

â€ĸ Optional itemBox: IFlowBoxType

Implementation of ​

ILeafer.itemBox

Inherited from ​

Group.itemBox

Defined in ​

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


inFlow ​

â€ĸ Optional inFlow: boolean

Implementation of ​

ILeafer.inFlow

Inherited from ​

Group.inFlow

Defined in ​

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


autoWidth ​

â€ĸ Optional autoWidth: IAutoSize

Implementation of ​

ILeafer.autoWidth

Inherited from ​

Group.autoWidth

Defined in ​

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


autoHeight ​

â€ĸ Optional autoHeight: IAutoSize

Implementation of ​

ILeafer.autoHeight

Inherited from ​

Group.autoHeight

Defined in ​

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


lockRatio ​

â€ĸ Optional lockRatio: boolean

Implementation of ​

ILeafer.lockRatio

Inherited from ​

Group.lockRatio

Defined in ​

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


autoBox ​

â€ĸ Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

ILeafer.autoBox

Inherited from ​

Group.autoBox

Defined in ​

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


widthRange ​

â€ĸ Optional widthRange: IRangeSize

Implementation of ​

ILeafer.widthRange

Inherited from ​

Group.widthRange

Defined in ​

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


heightRange ​

â€ĸ Optional heightRange: IRangeSize

Implementation of ​

ILeafer.heightRange

Inherited from ​

Group.heightRange

Defined in ​

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


draggable ​

â€ĸ Optional draggable: boolean | IAxis

Implementation of ​

ILeafer.draggable

Inherited from ​

Group.draggable

Defined in ​

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


dragBounds ​

â€ĸ Optional dragBounds: "parent" | IBoundsData

Implementation of ​

ILeafer.dragBounds

Inherited from ​

Group.dragBounds

Defined in ​

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


editable ​

â€ĸ Optional editable: boolean

Implementation of ​

ILeafer.editable

Inherited from ​

Group.editable

Defined in ​

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


hittable ​

â€ĸ Optional hittable: boolean

Implementation of ​

ILeafer.hittable

Inherited from ​

Group.hittable

Defined in ​

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


hitFill ​

â€ĸ Optional hitFill: IHitType

Implementation of ​

ILeafer.hitFill

Inherited from ​

Group.hitFill

Defined in ​

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


hitStroke ​

â€ĸ Optional hitStroke: IHitType

Implementation of ​

ILeafer.hitStroke

Inherited from ​

Group.hitStroke

Defined in ​

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


hitBox ​

â€ĸ Optional hitBox: boolean

Implementation of ​

ILeafer.hitBox

Inherited from ​

Group.hitBox

Defined in ​

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


hitChildren ​

â€ĸ Optional hitChildren: boolean

Implementation of ​

ILeafer.hitChildren

Inherited from ​

Group.hitChildren

Defined in ​

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


hitSelf ​

â€ĸ Optional hitSelf: boolean

Implementation of ​

ILeafer.hitSelf

Inherited from ​

Group.hitSelf

Defined in ​

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


hitRadius ​

â€ĸ Optional hitRadius: number

Implementation of ​

ILeafer.hitRadius

Inherited from ​

Group.hitRadius

Defined in ​

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


cursor ​

â€ĸ Optional cursor: ICursorType | ICursorType[]

Implementation of ​

ILeafer.cursor

Inherited from ​

Group.cursor

Defined in ​

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


fill ​

â€ĸ Optional fill: IFill

Implementation of ​

ILeafer.fill

Inherited from ​

Group.fill

Defined in ​

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


stroke ​

â€ĸ Optional stroke: IStroke

Implementation of ​

ILeafer.stroke

Inherited from ​

Group.stroke

Defined in ​

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


strokeAlign ​

â€ĸ Optional strokeAlign: IStrokeAlign

Implementation of ​

ILeafer.strokeAlign

Inherited from ​

Group.strokeAlign

Defined in ​

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


strokeWidth ​

â€ĸ Optional strokeWidth: string | IFourNumber

Implementation of ​

ILeafer.strokeWidth

Inherited from ​

Group.strokeWidth

Defined in ​

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


strokeWidthFixed ​

â€ĸ Optional strokeWidthFixed: boolean

Implementation of ​

ILeafer.strokeWidthFixed

Inherited from ​

Group.strokeWidthFixed

Defined in ​

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


strokeCap ​

â€ĸ Optional strokeCap: IStrokeCap

Implementation of ​

ILeafer.strokeCap

Inherited from ​

Group.strokeCap

Defined in ​

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


strokeJoin ​

â€ĸ Optional strokeJoin: IStrokeJoin

Implementation of ​

ILeafer.strokeJoin

Inherited from ​

Group.strokeJoin

Defined in ​

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


dashPattern ​

â€ĸ Optional dashPattern: string | number[]

Implementation of ​

ILeafer.dashPattern

Inherited from ​

Group.dashPattern

Defined in ​

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


dashOffset ​

â€ĸ Optional dashOffset: number

Implementation of ​

ILeafer.dashOffset

Inherited from ​

Group.dashOffset

Defined in ​

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


miterLimit ​

â€ĸ Optional miterLimit: number

Implementation of ​

ILeafer.miterLimit

Inherited from ​

Group.miterLimit

Defined in ​

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


startArrow ​

â€ĸ Optional startArrow: IArrowType

Implementation of ​

ILeafer.startArrow

Inherited from ​

Group.startArrow

Defined in ​

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


endArrow ​

â€ĸ Optional endArrow: IArrowType

Implementation of ​

ILeafer.endArrow

Inherited from ​

Group.endArrow

Defined in ​

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


cornerRadius ​

â€ĸ Optional cornerRadius: string | IFourNumber

Implementation of ​

ILeafer.cornerRadius

Inherited from ​

Group.cornerRadius

Defined in ​

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


cornerSmoothing ​

â€ĸ Optional cornerSmoothing: number

Implementation of ​

ILeafer.cornerSmoothing

Inherited from ​

Group.cornerSmoothing

Defined in ​

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


shadow ​

â€ĸ Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

ILeafer.shadow

Inherited from ​

Group.shadow

Defined in ​

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


innerShadow ​

â€ĸ Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

ILeafer.innerShadow

Inherited from ​

Group.innerShadow

Defined in ​

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


blur ​

â€ĸ Optional blur: number | IBlurEffect

Implementation of ​

ILeafer.blur

Inherited from ​

Group.blur

Defined in ​

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


backgroundBlur ​

â€ĸ Optional backgroundBlur: number | IBlurEffect

Implementation of ​

ILeafer.backgroundBlur

Inherited from ​

Group.backgroundBlur

Defined in ​

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


grayscale ​

â€ĸ Optional grayscale: number | IGrayscaleEffect

Implementation of ​

ILeafer.grayscale

Inherited from ​

Group.grayscale

Defined in ​

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


filter ​

â€ĸ Optional filter: IObject | IObject[]

Inherited from ​

Group.filter

Defined in ​

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


animation ​

â€ĸ Optional animation: IAnimation

Implementation of ​

ILeafer.animation

Inherited from ​

Group.animation

Defined in ​

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


animationOut ​

â€ĸ Optional animationOut: IAnimation

Implementation of ​

ILeafer.animationOut

Inherited from ​

Group.animationOut

Defined in ​

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


transition ​

â€ĸ Optional transition: ITransition

Implementation of ​

ILeafer.transition

Inherited from ​

Group.transition

Defined in ​

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


transitionOut ​

â€ĸ Optional transitionOut: ITransition

Implementation of ​

ILeafer.transitionOut

Inherited from ​

Group.transitionOut

Defined in ​

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


motionPath ​

â€ĸ Optional motionPath: boolean

Implementation of ​

ILeafer.motionPath

Inherited from ​

Group.motionPath

Defined in ​

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


motionPrecision ​

â€ĸ Optional motionPrecision: number

Implementation of ​

ILeafer.motionPrecision

Inherited from ​

Group.motionPrecision

Defined in ​

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


motion ​

â€ĸ Optional motion: number | IUnitData

Implementation of ​

ILeafer.motion

Inherited from ​

Group.motion

Defined in ​

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


motionRotation ​

â€ĸ Optional motionRotation: number | boolean

Implementation of ​

ILeafer.motionRotation

Inherited from ​

Group.motionRotation

Defined in ​

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


states ​

â€ĸ Optional states: IStates

Implementation of ​

ILeafer.states

Inherited from ​

Group.states

Defined in ​

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


state ​

â€ĸ Optional state: string

Implementation of ​

ILeafer.state

Inherited from ​

Group.state

Defined in ​

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


selected ​

â€ĸ Optional selected: boolean

Implementation of ​

ILeafer.selected

Inherited from ​

Group.selected

Defined in ​

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


disabled ​

â€ĸ Optional disabled: boolean

Implementation of ​

ILeafer.disabled

Inherited from ​

Group.disabled

Defined in ​

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


normalStyle ​

â€ĸ Optional normalStyle: IUIInputData

Implementation of ​

ILeafer.normalStyle

Inherited from ​

Group.normalStyle

Defined in ​

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


hoverStyle ​

â€ĸ Optional hoverStyle: IUIInputData

Implementation of ​

ILeafer.hoverStyle

Inherited from ​

Group.hoverStyle

Defined in ​

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


pressStyle ​

â€ĸ Optional pressStyle: IUIInputData

Implementation of ​

ILeafer.pressStyle

Inherited from ​

Group.pressStyle

Defined in ​

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


focusStyle ​

â€ĸ Optional focusStyle: IUIInputData

Implementation of ​

ILeafer.focusStyle

Inherited from ​

Group.focusStyle

Defined in ​

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


selectedStyle ​

â€ĸ Optional selectedStyle: IUIInputData

Implementation of ​

ILeafer.selectedStyle

Inherited from ​

Group.selectedStyle

Defined in ​

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


disabledStyle ​

â€ĸ Optional disabledStyle: IUIInputData

Implementation of ​

ILeafer.disabledStyle

Inherited from ​

Group.disabledStyle

Defined in ​

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


button ​

â€ĸ Optional button: boolean

Implementation of ​

ILeafer.button

Inherited from ​

Group.button

Defined in ​

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


data ​

â€ĸ data: IObject

Implementation of ​

ILeafer.data

Inherited from ​

Group.data

Defined in ​

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


__animate ​

â€ĸ Optional __animate: IAnimate

Implementation of ​

ILeafer.__animate

Inherited from ​

Group.__animate

Defined in ​

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

Accessors ​

tag ​

â€ĸ get tag(): string

Returns ​

string

Implementation of ​

ILeafer.tag

Inherited from ​

Group.tag

Defined in ​

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

â€ĸ set tag(_value): void

Parameters ​

NameType
_valuestring

Returns ​

void

Implementation of ​

ILeafer.tag

Inherited from ​

Group.tag

Defined in ​

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


innerName ​

â€ĸ get innerName(): string

Returns ​

string

Implementation of ​

ILeafer.innerName

Inherited from ​

Group.innerName

Defined in ​

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


__DataProcessor ​

â€ĸ get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

ILeafer.__DataProcessor

Inherited from ​

Group.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

â€ĸ get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

ILeafer.__LayoutProcessor

Inherited from ​

Group.__LayoutProcessor

Defined in ​

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


leaferIsCreated ​

â€ĸ get leaferIsCreated(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.leaferIsCreated

Inherited from ​

Group.leaferIsCreated

Defined in ​

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


leaferIsReady ​

â€ĸ get leaferIsReady(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.leaferIsReady

Inherited from ​

Group.leaferIsReady

Defined in ​

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


isBranchLeaf ​

â€ĸ get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isBranchLeaf

Inherited from ​

Group.isBranchLeaf

Defined in ​

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


__localMatrix ​

â€ĸ get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

ILeafer.__localMatrix

Inherited from ​

Group.__localMatrix

Defined in ​

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


__localBoxBounds ​

â€ĸ get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.__localBoxBounds

Inherited from ​

Group.__localBoxBounds

Defined in ​

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


worldTransform ​

â€ĸ get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

ILeafer.worldTransform

Inherited from ​

Group.worldTransform

Defined in ​

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


localTransform ​

â€ĸ get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

ILeafer.localTransform

Inherited from ​

Group.localTransform

Defined in ​

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


boxBounds ​

â€ĸ get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.boxBounds

Inherited from ​

Group.boxBounds

Defined in ​

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


renderBounds ​

â€ĸ get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.renderBounds

Inherited from ​

Group.renderBounds

Defined in ​

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


worldBoxBounds ​

â€ĸ get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.worldBoxBounds

Inherited from ​

Group.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

â€ĸ get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.worldStrokeBounds

Inherited from ​

Group.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

â€ĸ get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.worldRenderBounds

Inherited from ​

Group.worldRenderBounds

Defined in ​

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


worldOpacity ​

â€ĸ get worldOpacity(): number

Returns ​

number

Implementation of ​

ILeafer.worldOpacity

Inherited from ​

Group.worldOpacity

Defined in ​

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


__worldFlipped ​

â€ĸ get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__worldFlipped

Inherited from ​

Group.__worldFlipped

Defined in ​

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


__onlyHitMask ​

â€ĸ get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__onlyHitMask

Inherited from ​

Group.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

â€ĸ get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__ignoreHitWorld

Inherited from ​

Group.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

â€ĸ get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__inLazyBounds

Inherited from ​

Group.__inLazyBounds

Defined in ​

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


pathInputed ​

â€ĸ get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.pathInputed

Inherited from ​

Group.pathInputed

Defined in ​

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


event ​

â€ĸ set event(map): void

Parameters ​

NameType
mapIEventMap

Returns ​

void

Implementation of ​

ILeafer.event

Inherited from ​

Group.event

Defined in ​

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


isBranch ​

â€ĸ get isBranch(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isBranch

Inherited from ​

Group.isBranch

Defined in ​

ui/packages/display/src/Group.ts:16


__tag ​

â€ĸ get __tag(): string

Returns ​

string

Implementation of ​

ILeafer.__tag

Overrides ​

Group.__tag

Defined in ​

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


isApp ​

â€ĸ get isApp(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isApp

Defined in ​

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


app ​

â€ĸ get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

ILeafer.app

Overrides ​

Group.app

Defined in ​

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


isLeafer ​

â€ĸ get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isLeafer

Overrides ​

Group.isLeafer

Defined in ​

ui/packages/display/src/Leafer.ts:29


imageReady ​

â€ĸ get imageReady(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.imageReady

Defined in ​

ui/packages/display/src/Leafer.ts:39


layoutLocked ​

â€ĸ get layoutLocked(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.layoutLocked

Defined in ​

ui/packages/display/src/Leafer.ts:40


FPS ​

â€ĸ get FPS(): number

Returns ​

number

Defined in ​

ui/packages/display/src/Leafer.ts:73


cursorPoint ​

â€ĸ get cursorPoint(): IPointData

Returns ​

IPointData

Implementation of ​

ILeafer.cursorPoint

Defined in ​

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


clientBounds ​

â€ĸ get clientBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.clientBounds

Defined in ​

ui/packages/display/src/Leafer.ts:75


isFrame ​

â€ĸ get isFrame(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isFrame

Inherited from ​

Group.isFrame

Defined in ​

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


scale ​

â€ĸ get scale(): number | IPointData

Returns ​

number | IPointData

Implementation of ​

ILeafer.scale

Inherited from ​

Group.scale

Defined in ​

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

â€ĸ set scale(value): void

Parameters ​

NameType
valuenumber | IPointData

Returns ​

void

Implementation of ​

ILeafer.scale

Inherited from ​

Group.scale

Defined in ​

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


pen ​

â€ĸ get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

ILeafer.pen

Inherited from ​

Group.pen

Defined in ​

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


editConfig ​

â€ĸ get editConfig(): IEditorConfig

Returns ​

IEditorConfig

Implementation of ​

ILeafer.editConfig

Inherited from ​

Group.editConfig

Defined in ​

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


editOuter ​

â€ĸ get editOuter(): string

Returns ​

string

Implementation of ​

ILeafer.editOuter

Inherited from ​

Group.editOuter

Defined in ​

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


editInner ​

â€ĸ get editInner(): string

Returns ​

string

Implementation of ​

ILeafer.editInner

Inherited from ​

Group.editInner

Defined in ​

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

Methods ​

resetCustom ​

▸ resetCustom(): void

Returns ​

void

Implementation of ​

ILeafer.resetCustom

Inherited from ​

Group.resetCustom

Defined in ​

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


waitParent ​

▸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitParent

Inherited from ​

Group.waitParent

Defined in ​

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


waitLeafer ​

▸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitLeafer

Inherited from ​

Group.waitLeafer

Defined in ​

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


removeNextRender ​

▸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Implementation of ​

ILeafer.removeNextRender

Inherited from ​

Group.removeNextRender

Defined in ​

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


__bindLeafer ​

▸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Implementation of ​

ILeafer.__bindLeafer

Inherited from ​

Group.__bindLeafer

Defined in ​

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


setAttr ​

▸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Implementation of ​

ILeafer.setAttr

Inherited from ​

Group.setAttr

Defined in ​

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


getAttr ​

▸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

ILeafer.getAttr

Inherited from ​

Group.getAttr

Defined in ​

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


getComputedAttr ​

▸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

ILeafer.getComputedAttr

Inherited from ​

Group.getComputedAttr

Defined in ​

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


toString ​

▸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Implementation of ​

ILeafer.toString

Inherited from ​

Group.toString

Defined in ​

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


toSVG ​

▸ toSVG(): string

Returns ​

string

Implementation of ​

ILeafer.toSVG

Inherited from ​

Group.toSVG

Defined in ​

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


__SVG ​

▸ __SVG(_data): void

Parameters ​

NameType
_dataIObject

Returns ​

void

Implementation of ​

ILeafer.__SVG

Inherited from ​

Group.__SVG

Defined in ​

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


toHTML ​

▸ toHTML(): string

Returns ​

string

Implementation of ​

ILeafer.toHTML

Inherited from ​

Group.toHTML

Defined in ​

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


setProxyAttr ​

▸ setProxyAttr(_attrName, _newValue): void

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

void

Implementation of ​

ILeafer.setProxyAttr

Inherited from ​

Group.setProxyAttr

Defined in ​

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


getProxyAttr ​

▸ getProxyAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

ILeafer.getProxyAttr

Inherited from ​

Group.getProxyAttr

Defined in ​

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


focus ​

▸ focus(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

ILeafer.focus

Inherited from ​

Group.focus

Defined in ​

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


updateState ​

▸ updateState(): void

Returns ​

void

Implementation of ​

ILeafer.updateState

Inherited from ​

Group.updateState

Defined in ​

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


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Implementation of ​

ILeafer.updateLayout

Inherited from ​

Group.updateLayout

Defined in ​

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


forceUpdate ​

▸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Implementation of ​

ILeafer.forceUpdate

Inherited from ​

Group.forceUpdate

Defined in ​

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


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

ILeafer.__updateWorldMatrix

Inherited from ​

Group.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalMatrix

Inherited from ​

Group.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateWorldBounds

Inherited from ​

Group.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalBounds

Inherited from ​

Group.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalBoxBounds

Inherited from ​

Group.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalStrokeBounds

Inherited from ​

Group.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalRenderBounds

Inherited from ​

Group.__updateLocalRenderBounds

Defined in ​

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


__updateBoxBounds ​

▸ __updateBoxBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateBoxBounds

Inherited from ​

Group.__updateBoxBounds

Defined in ​

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


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateContentBounds

Inherited from ​

Group.__updateContentBounds

Defined in ​

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


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateStrokeBounds

Inherited from ​

Group.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateRenderBounds

Inherited from ​

Group.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

ILeafer.__updateAutoLayout

Inherited from ​

Group.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

ILeafer.__updateFlowLayout

Inherited from ​

Group.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

ILeafer.__updateNaturalSize

Inherited from ​

Group.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Implementation of ​

ILeafer.__updateStrokeSpread

Inherited from ​

Group.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Implementation of ​

ILeafer.__updateRenderSpread

Inherited from ​

Group.__updateRenderSpread

Defined in ​

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


__updateEraser ​

▸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

ILeafer.__updateEraser

Inherited from ​

Group.__updateEraser

Defined in ​

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


__renderEraser ​

▸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Implementation of ​

ILeafer.__renderEraser

Inherited from ​

Group.__renderEraser

Defined in ​

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


__updateMask ​

▸ __updateMask(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

ILeafer.__updateMask

Inherited from ​

Group.__updateMask

Defined in ​

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


__renderMask ​

▸ __renderMask(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

ILeafer.__renderMask

Inherited from ​

Group.__renderMask

Defined in ​

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


__getNowWorld ​

▸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__getNowWorld

Inherited from ​

Group.__getNowWorld

Defined in ​

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


getTransform ​

▸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Implementation of ​

ILeafer.getTransform

Inherited from ​

Group.getTransform

Defined in ​

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


getBounds ​

▸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Implementation of ​

ILeafer.getBounds

Inherited from ​

Group.getBounds

Defined in ​

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


getLayoutBounds ​

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

Parameters ​

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

Returns ​

ILayoutBoundsData

Implementation of ​

ILeafer.getLayoutBounds

Inherited from ​

Group.getLayoutBounds

Defined in ​

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


getLayoutPoints ​

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

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Implementation of ​

ILeafer.getLayoutPoints

Inherited from ​

Group.getLayoutPoints

Defined in ​

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


getWorldBounds ​

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

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Implementation of ​

ILeafer.getWorldBounds

Inherited from ​

Group.getWorldBounds

Defined in ​

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


worldToLocal ​

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

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

ILeafer.worldToLocal

Inherited from ​

Group.worldToLocal

Defined in ​

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


localToWorld ​

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

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

ILeafer.localToWorld

Inherited from ​

Group.localToWorld

Defined in ​

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


worldToInner ​

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

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

ILeafer.worldToInner

Inherited from ​

Group.worldToInner

Defined in ​

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


innerToWorld ​

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

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

ILeafer.innerToWorld

Inherited from ​

Group.innerToWorld

Defined in ​

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


getBoxPoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getBoxPoint

Inherited from ​

Group.getBoxPoint

Defined in ​

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


getBoxPointByInner ​

▸ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getBoxPointByInner

Inherited from ​

Group.getBoxPointByInner

Defined in ​

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


getInnerPoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getInnerPoint

Inherited from ​

Group.getInnerPoint

Defined in ​

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


getInnerPointByBox ​

▸ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getInnerPointByBox

Inherited from ​

Group.getInnerPointByBox

Defined in ​

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


getInnerPointByLocal ​

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

Parameters ​

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getInnerPointByLocal

Inherited from ​

Group.getInnerPointByLocal

Defined in ​

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


getLocalPoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getLocalPoint

Inherited from ​

Group.getLocalPoint

Defined in ​

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


getLocalPointByInner ​

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

Parameters ​

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getLocalPointByInner

Inherited from ​

Group.getLocalPointByInner

Defined in ​

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


getPagePoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getPagePoint

Inherited from ​

Group.getPagePoint

Defined in ​

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


getWorldPoint ​

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

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getWorldPoint

Inherited from ​

Group.getWorldPoint

Defined in ​

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


getWorldPointByBox ​

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

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getWorldPointByBox

Inherited from ​

Group.getWorldPointByBox

Defined in ​

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


getWorldPointByLocal ​

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

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getWorldPointByLocal

Inherited from ​

Group.getWorldPointByLocal

Defined in ​

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


getWorldPointByPage ​

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

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getWorldPointByPage

Inherited from ​

Group.getWorldPointByPage

Defined in ​

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


setTransform ​

▸ setTransform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.setTransform

Inherited from ​

Group.setTransform

Defined in ​

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


transform ​

▸ transform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.transform

Inherited from ​

Group.transform

Defined in ​

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


move ​

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

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Implementation of ​

ILeafer.move

Inherited from ​

Group.move

Defined in ​

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


moveInner ​

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

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Implementation of ​

ILeafer.moveInner

Inherited from ​

Group.moveInner

Defined in ​

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


scaleOf ​

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

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.scaleOf

Inherited from ​

Group.scaleOf

Defined in ​

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


rotateOf ​

▸ rotateOf(origin, rotation): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber

Returns ​

void

Implementation of ​

ILeafer.rotateOf

Inherited from ​

Group.rotateOf

Defined in ​

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


skewOf ​

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

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.skewOf

Inherited from ​

Group.skewOf

Defined in ​

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


transformWorld ​

▸ transformWorld(worldTransform?, resize?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.transformWorld

Inherited from ​

Group.transformWorld

Defined in ​

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


moveWorld ​

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

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Implementation of ​

ILeafer.moveWorld

Inherited from ​

Group.moveWorld

Defined in ​

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


scaleOfWorld ​

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

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.scaleOfWorld

Inherited from ​

Group.scaleOfWorld

Defined in ​

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


rotateOfWorld ​

▸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Implementation of ​

ILeafer.rotateOfWorld

Inherited from ​

Group.rotateOfWorld

Defined in ​

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


skewOfWorld ​

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

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.skewOfWorld

Inherited from ​

Group.skewOfWorld

Defined in ​

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


flip ​

▸ flip(axis): void

Parameters ​

NameType
axisIAxis

Returns ​

void

Implementation of ​

ILeafer.flip

Inherited from ​

Group.flip

Defined in ​

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


scaleResize ​

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

Parameters ​

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns ​

void

Implementation of ​

ILeafer.scaleResize

Inherited from ​

Group.scaleResize

Defined in ​

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


__scaleResize ​

▸ __scaleResize(_scaleX, _scaleY): void

Parameters ​

NameType
_scaleXnumber
_scaleYnumber

Returns ​

void

Implementation of ​

ILeafer.__scaleResize

Inherited from ​

Group.__scaleResize

Defined in ​

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


resizeWidth ​

▸ resizeWidth(_width): void

Parameters ​

NameType
_widthnumber

Returns ​

void

Implementation of ​

ILeafer.resizeWidth

Inherited from ​

Group.resizeWidth

Defined in ​

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


resizeHeight ​

▸ resizeHeight(_height): void

Parameters ​

NameType
_heightnumber

Returns ​

void

Implementation of ​

ILeafer.resizeHeight

Inherited from ​

Group.resizeHeight

Defined in ​

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


__hitWorld ​

▸ __hitWorld(_point): boolean

Parameters ​

NameType
_pointIRadiusPointData

Returns ​

boolean

Implementation of ​

ILeafer.__hitWorld

Inherited from ​

Group.__hitWorld

Defined in ​

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


__hit ​

▸ __hit(_local): boolean

Parameters ​

NameType
_localIRadiusPointData

Returns ​

boolean

Implementation of ​

ILeafer.__hit

Inherited from ​

Group.__hit

Defined in ​

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


__hitFill ​

▸ __hitFill(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

ILeafer.__hitFill

Inherited from ​

Group.__hitFill

Defined in ​

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


__hitStroke ​

▸ __hitStroke(_inner, _strokeWidth): boolean

Parameters ​

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns ​

boolean

Implementation of ​

ILeafer.__hitStroke

Inherited from ​

Group.__hitStroke

Defined in ​

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


__hitPixel ​

▸ __hitPixel(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

ILeafer.__hitPixel

Inherited from ​

Group.__hitPixel

Defined in ​

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


__drawHitPath ​

▸ __drawHitPath(_canvas): void

Parameters ​

NameType
_canvasILeaferCanvas

Returns ​

void

Implementation of ​

ILeafer.__drawHitPath

Inherited from ​

Group.__drawHitPath

Defined in ​

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


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

ILeafer.__updateHitCanvas

Inherited from ​

Group.__updateHitCanvas

Defined in ​

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


__render ​

▸ __render(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

ILeafer.__render

Inherited from ​

Group.__render

Defined in ​

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


__drawFast ​

▸ __drawFast(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

ILeafer.__drawFast

Inherited from ​

Group.__drawFast

Defined in ​

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


__draw ​

▸ __draw(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

ILeafer.__draw

Inherited from ​

Group.__draw

Defined in ​

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


__clip ​

▸ __clip(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

ILeafer.__clip

Inherited from ​

Group.__clip

Defined in ​

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


__renderShape ​

▸ __renderShape(_canvas, _options, _ignoreFill?, _ignoreStroke?): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_ignoreFill?boolean
_ignoreStroke?boolean

Returns ​

void

Implementation of ​

ILeafer.__renderShape

Inherited from ​

Group.__renderShape

Defined in ​

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


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

ILeafer.__updateWorldOpacity

Inherited from ​

Group.__updateWorldOpacity

Defined in ​

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


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Implementation of ​

ILeafer.__updateChange

Inherited from ​

Group.__updateChange

Defined in ​

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


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Implementation of ​

ILeafer.__updatePath

Inherited from ​

Group.__updatePath

Defined in ​

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


getMotionPathData ​

▸ getMotionPathData(): IMotionPathData

Returns ​

IMotionPathData

Implementation of ​

ILeafer.getMotionPathData

Inherited from ​

Group.getMotionPathData

Defined in ​

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


getMotionPoint ​

▸ getMotionPoint(_motionDistance): IRotationPointData

Parameters ​

NameType
_motionDistancenumber | IUnitData

Returns ​

IRotationPointData

Implementation of ​

ILeafer.getMotionPoint

Inherited from ​

Group.getMotionPoint

Defined in ​

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


getMotionTotal ​

▸ getMotionTotal(): number

Returns ​

number

Implementation of ​

ILeafer.getMotionTotal

Inherited from ​

Group.getMotionTotal

Defined in ​

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


__updateMotionPath ​

▸ __updateMotionPath(): void

Returns ​

void

Implementation of ​

ILeafer.__updateMotionPath

Inherited from ​

Group.__updateMotionPath

Defined in ​

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


__runAnimation ​

▸ __runAnimation(_type, _complete?): void

Parameters ​

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

Returns ​

void

Implementation of ​

ILeafer.__runAnimation

Inherited from ​

Group.__runAnimation

Defined in ​

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


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

ILeafer.__updateSortChildren

Inherited from ​

Group.__updateSortChildren

Defined in ​

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


dropTo ​

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

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Implementation of ​

ILeafer.dropTo

Inherited from ​

Group.dropTo

Defined in ​

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


on ​

▸ on(_type, _listener?, _options?): void

Parameters ​

NameType
_typestring | string[] | IEventMap
_listener?IFunction
_options?IEventOption

Returns ​

void

Implementation of ​

ILeafer.on

Inherited from ​

Group.on

Defined in ​

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


off ​

▸ off(_type?, _listener?, _options?): void

Parameters ​

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

Returns ​

void

Implementation of ​

ILeafer.off

Inherited from ​

Group.off

Defined in ​

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


on_ ​

▸ on_(_type, _listener, _bind?, _options?): IEventListenerId

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_bind?IObject
_options?IEventOption

Returns ​

IEventListenerId

Implementation of ​

ILeafer.on_

Inherited from ​

Group.on_

Defined in ​

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


off_ ​

▸ off_(_id): void

Parameters ​

NameType
_idIEventListenerId | IEventListenerId[]

Returns ​

void

Implementation of ​

ILeafer.off_

Inherited from ​

Group.off_

Defined in ​

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


once ​

▸ once(_type, _listener, _capture?): void

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns ​

void

Implementation of ​

ILeafer.once

Inherited from ​

Group.once

Defined in ​

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


emit ​

▸ emit(_type, _event?, _capture?): void

Parameters ​

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns ​

void

Implementation of ​

ILeafer.emit

Inherited from ​

Group.emit

Defined in ​

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


emitEvent ​

▸ emitEvent(_event?, _capture?): void

Parameters ​

NameType
_event?IEvent
_capture?boolean

Returns ​

void

Implementation of ​

ILeafer.emitEvent

Inherited from ​

Group.emitEvent

Defined in ​

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


hasEvent ​

▸ hasEvent(_type, _capture?): boolean

Parameters ​

NameType
_typestring
_capture?boolean

Returns ​

boolean

Implementation of ​

ILeafer.hasEvent

Inherited from ​

Group.hasEvent

Defined in ​

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


changeAttr ​

▸ changeAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Group.changeAttr

Defined in ​

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


addAttr ​

▸ addAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Group.addAttr

Defined in ​

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


__emitLifeEvent ​

▸ __emitLifeEvent(type): void

Parameters ​

NameType
typestring

Returns ​

void

Implementation of ​

ILeafer.__emitLifeEvent

Inherited from ​

Group.__emitLifeEvent

Defined in ​

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


reset ​

▸ reset(data?): void

Parameters ​

NameType
data?IGroupInputData

Returns ​

void

Implementation of ​

ILeafer.reset

Inherited from ​

Group.reset

Defined in ​

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


__setBranch ​

▸ __setBranch(): void

Returns ​

void

Inherited from ​

Group.__setBranch

Defined in ​

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


toJSON ​

▸ toJSON(options?): IUIJSONData

Parameters ​

NameType
options?IJSONOptions

Returns ​

IUIJSONData

Implementation of ​

ILeafer.toJSON

Inherited from ​

Group.toJSON

Defined in ​

ui/packages/display/src/Group.ts:54


pick ​

▸ pick(_hitPoint, _options?): IPickResult

Parameters ​

NameType
_hitPointIPointData
_options?IPickOptions

Returns ​

IPickResult

Implementation of ​

ILeafer.pick

Inherited from ​

Group.pick

Defined in ​

ui/packages/display/src/Group.ts:63


addAt ​

▸ addAt(child, index): void

Parameters ​

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

Returns ​

void

Implementation of ​

ILeafer.addAt

Inherited from ​

Group.addAt

Defined in ​

ui/packages/display/src/Group.ts:68


addAfter ​

▸ addAfter(child, after): void

Parameters ​

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

Returns ​

void

Implementation of ​

ILeafer.addAfter

Inherited from ​

Group.addAfter

Defined in ​

ui/packages/display/src/Group.ts:72


addBefore ​

▸ addBefore(child, before): void

Parameters ​

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

Returns ​

void

Implementation of ​

ILeafer.addBefore

Inherited from ​

Group.addBefore

Defined in ​

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


add ​

▸ add(_child, _index?): void

Parameters ​

NameType
_childIUIInputData | IUI | IUI[] | IUIInputData[]
_index?number

Returns ​

void

Implementation of ​

ILeafer.add

Inherited from ​

Group.add

Defined in ​

ui/packages/display/src/Group.ts:82


addMany ​

▸ addMany(..._children): void

Parameters ​

NameType
..._childrenIUI[] | IUIInputData[]

Returns ​

void

Implementation of ​

ILeafer.addMany

Inherited from ​

Group.addMany

Defined in ​

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


remove ​

▸ remove(_child?, _destroy?): void

Parameters ​

NameType
_child?string | number | IFindCondition | IUI | IFindUIMethod
_destroy?boolean

Returns ​

void

Implementation of ​

ILeafer.remove

Inherited from ​

Group.remove

Defined in ​

ui/packages/display/src/Group.ts:86


removeAll ​

▸ removeAll(_destroy?): void

Parameters ​

NameType
_destroy?boolean

Returns ​

void

Implementation of ​

ILeafer.removeAll

Inherited from ​

Group.removeAll

Defined in ​

ui/packages/display/src/Group.ts:88


clear ​

▸ clear(): void

Returns ​

void

Implementation of ​

ILeafer.clear

Inherited from ​

Group.clear

Defined in ​

ui/packages/display/src/Group.ts:90


init ​

▸ init(userConfig?, parentApp?): void

Parameters ​

NameType
userConfig?ILeaferConfig
parentApp?IApp

Returns ​

void

Implementation of ​

ILeafer.init

Defined in ​

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


onInit ​

▸ onInit(): void

Returns ​

void

Implementation of ​

ILeafer.onInit

Defined in ​

ui/packages/display/src/Leafer.ts:156


initType ​

▸ initType(_type): void

Parameters ​

NameType
_typeILeaferType

Returns ​

void

Implementation of ​

ILeafer.initType

Defined in ​

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


set ​

▸ set(data, transition?): void

Parameters ​

NameType
dataIUIInputData
transition?ITransition | "temp"

Returns ​

void

Implementation of ​

ILeafer.set

Overrides ​

Group.set

Defined in ​

ui/packages/display/src/Leafer.ts:160


start ​

▸ start(): void

Returns ​

void

Implementation of ​

ILeafer.start

Defined in ​

ui/packages/display/src/Leafer.ts:164


stop ​

▸ stop(): void

Returns ​

void

Implementation of ​

ILeafer.stop

Defined in ​

ui/packages/display/src/Leafer.ts:174


unlockLayout ​

▸ unlockLayout(): void

Returns ​

void

Implementation of ​

ILeafer.unlockLayout

Defined in ​

ui/packages/display/src/Leafer.ts:183


lockLayout ​

▸ lockLayout(): void

Returns ​

void

Implementation of ​

ILeafer.lockLayout

Defined in ​

ui/packages/display/src/Leafer.ts:188


resize ​

▸ resize(size): void

Parameters ​

NameType
sizeIScreenSizeData

Returns ​

void

Implementation of ​

ILeafer.resize

Defined in ​

ui/packages/display/src/Leafer.ts:193


forceRender ​

▸ forceRender(bounds?, sync?): void

Parameters ​

NameType
bounds?IBoundsData
sync?boolean

Returns ​

void

Implementation of ​

ILeafer.forceRender

Overrides ​

Group.forceRender

Defined in ​

ui/packages/display/src/Leafer.ts:198


requestRender ​

▸ requestRender(change?): void

Parameters ​

NameTypeDefault value
changebooleanfalse

Returns ​

void

Implementation of ​

ILeafer.requestRender

Defined in ​

ui/packages/display/src/Leafer.ts:206


updateCursor ​

▸ updateCursor(cursor?): void

Parameters ​

NameType
cursor?ICursorType

Returns ​

void

Implementation of ​

ILeafer.updateCursor

Defined in ​

ui/packages/display/src/Leafer.ts:210


updateLazyBounds ​

▸ updateLazyBounds(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:215


__doResize ​

▸ __doResize(size): void

Parameters ​

NameType
sizeIScreenSizeData

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:219


__onResize ​

▸ __onResize(event): void

Parameters ​

NameType
eventIResizeEvent

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:228


__setApp ​

▸ __setApp(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:234


__bindApp ​

▸ __bindApp(app): void

Parameters ​

NameType
appIApp

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:236


__setLeafer ​

▸ __setLeafer(leafer): void

Parameters ​

NameType
leaferILeafer

Returns ​

void

Defined in ​

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


__checkAutoLayout ​

▸ __checkAutoLayout(config, parentApp?): void

Parameters ​

NameType
configILeaferConfig
parentApp?IApp

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:249


__setAttr ​

▸ __setAttr(attrName, newValue): boolean

Parameters ​

NameType
attrNamestring
newValueIValue

Returns ​

boolean

Implementation of ​

ILeafer.__setAttr

Overrides ​

Group.__setAttr

Defined in ​

ui/packages/display/src/Leafer.ts:256


__getAttr ​

▸ __getAttr(attrName): IValue

Parameters ​

NameType
attrNamestring

Returns ​

IValue

Implementation of ​

ILeafer.__getAttr

Overrides ​

Group.__getAttr

Defined in ​

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


__changeCanvasSize ​

▸ __changeCanvasSize(attrName, newValue): void

Parameters ​

NameType
attrNamestring
newValuenumber

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:278


__changeFill ​

▸ __changeFill(newValue): void

Parameters ​

NameType
newValuestring

Returns ​

void

Defined in ​

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


__onCreated ​

▸ __onCreated(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:291


__onReady ​

▸ __onReady(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:295


__onViewReady ​

▸ __onViewReady(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:304


__onNextRender ​

▸ __onNextRender(): void

Returns ​

void

Defined in ​

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


__checkViewCompleted ​

▸ __checkViewCompleted(emit?): void

Parameters ​

NameTypeDefault value
emitbooleantrue

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:324


__onWatchData ​

▸ __onWatchData(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:334


waitInit ​

▸ waitInit(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:340


waitReady ​

▸ waitReady(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitReady

Defined in ​

ui/packages/display/src/Leafer.ts:346


waitViewReady ​

▸ waitViewReady(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitViewReady

Defined in ​

ui/packages/display/src/Leafer.ts:351


waitViewCompleted ​

▸ waitViewCompleted(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitViewCompleted

Defined in ​

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


nextRender ​

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

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Implementation of ​

ILeafer.nextRender

Overrides ​

Group.nextRender

Defined in ​

ui/packages/display/src/Leafer.ts:363


zoom ​

▸ zoom(_zoomType, _padding?, _fixedScale?): IBoundsData

Parameters ​

NameType
_zoomTypeIZoomType
_padding?IFourNumber
_fixedScale?boolean

Returns ​

IBoundsData

Implementation of ​

ILeafer.zoom

Defined in ​

ui/packages/display/src/Leafer.ts:375


getValidMove ​

▸ getValidMove(moveX, moveY): IPointData

Parameters ​

NameType
moveXnumber
moveYnumber

Returns ​

IPointData

Implementation of ​

ILeafer.getValidMove

Defined in ​

ui/packages/display/src/Leafer.ts:381


getValidScale ​

▸ getValidScale(changeScale): number

Parameters ​

NameType
changeScalenumber

Returns ​

number

Implementation of ​

ILeafer.getValidScale

Defined in ​

ui/packages/display/src/Leafer.ts:382


getWorldPointByClient ​

▸ getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getWorldPointByClient

Defined in ​

ui/packages/display/src/Leafer.ts:385


getPagePointByClient ​

▸ getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getPagePointByClient

Defined in ​

ui/packages/display/src/Leafer.ts:389


updateClientBounds ​

▸ updateClientBounds(): void

Returns ​

void

Implementation of ​

ILeafer.updateClientBounds

Defined in ​

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


receiveEvent ​

▸ receiveEvent(_event): void

Parameters ​

NameType
_eventany

Returns ​

void

Implementation of ​

ILeafer.receiveEvent

Defined in ​

ui/packages/display/src/Leafer.ts:398


__checkUpdateLayout ​

▸ __checkUpdateLayout(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:401


emitLeafer ​

▸ emitLeafer(type): void

Parameters ​

NameType
typestring

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:405


__listenEvents ​

▸ __listenEvents(): void

Returns ​

void

Defined in ​

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


__removeListenEvents ​

▸ __removeListenEvents(): void

Returns ​

void

Defined in ​

ui/packages/display/src/Leafer.ts:423


destroy ​

▸ destroy(sync?): void

Parameters ​

NameType
sync?boolean

Returns ​

void

Implementation of ​

ILeafer.destroy

Overrides ​

Group.destroy

Defined in ​

ui/packages/display/src/Leafer.ts:428


get ​

▸ get(name?): IValue | IUIInputData

Parameters ​

NameType
name?string | string[] | IUIInputData

Returns ​

IValue | IUIInputData

Implementation of ​

ILeafer.get

Inherited from ​

Group.get

Defined in ​

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


createProxyData ​

▸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

ILeafer.createProxyData

Inherited from ​

Group.createProxyData

Defined in ​

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


find ​

▸ find(_condition, _options?): IUI[]

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI[]

Implementation of ​

ILeafer.find

Inherited from ​

Group.find

Defined in ​

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


findTag ​

▸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Implementation of ​

ILeafer.findTag

Inherited from ​

Group.findTag

Defined in ​

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


findOne ​

▸ findOne(_condition, _options?): IUI

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI

Implementation of ​

ILeafer.findOne

Inherited from ​

Group.findOne

Defined in ​

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


findId ​

▸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Implementation of ​

ILeafer.findId

Inherited from ​

Group.findId

Defined in ​

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


getPath ​

▸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Implementation of ​

ILeafer.getPath

Inherited from ​

Group.getPath

Defined in ​

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


getPathString ​

▸ getPathString(curve?, pathForRender?, floatLength?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns ​

string

Implementation of ​

ILeafer.getPathString

Inherited from ​

Group.getPathString

Defined in ​

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


load ​

▸ load(): void

Returns ​

void

Implementation of ​

ILeafer.load

Inherited from ​

Group.load

Defined in ​

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


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

ILeafer.__onUpdateSize

Inherited from ​

Group.__onUpdateSize

Defined in ​

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


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Implementation of ​

ILeafer.__updateRenderPath

Inherited from ​

Group.__updateRenderPath

Defined in ​

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


__drawRenderPath ​

▸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

ILeafer.__drawRenderPath

Inherited from ​

Group.__drawRenderPath

Defined in ​

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


__drawPath ​

▸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

ILeafer.__drawPath

Inherited from ​

Group.__drawPath

Defined in ​

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


__drawPathByData ​

▸ __drawPathByData(drawer, data): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData

Returns ​

void

Implementation of ​

ILeafer.__drawPathByData

Inherited from ​

Group.__drawPathByData

Defined in ​

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


__drawPathByBox ​

▸ __drawPathByBox(drawer): void

Parameters ​

NameType
drawerIPathDrawer

Returns ​

void

Implementation of ​

ILeafer.__drawPathByBox

Inherited from ​

Group.__drawPathByBox

Defined in ​

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


animate ​

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

Parameters ​

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

Returns ​

IAnimate

Implementation of ​

ILeafer.animate

Inherited from ​

Group.animate

Defined in ​

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


killAnimate ​

▸ killAnimate(_type?): void

Parameters ​

NameType
_type?IAnimateType

Returns ​

void

Implementation of ​

ILeafer.killAnimate

Inherited from ​

Group.killAnimate

Defined in ​

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


export ​

▸ export(filename, options?): Promise<IExportResult>

Parameters ​

NameType
filenamestring
options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Implementation of ​

ILeafer.export

Inherited from ​

Group.export

Defined in ​

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


clone ​

▸ clone(data?): IUI

Parameters ​

NameType
data?IUIInputData

Returns ​

IUI

Implementation of ​

ILeafer.clone

Inherited from ​

Group.clone

Defined in ​

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


one ​

▸ one(data, x?, y?, width?, height?): IUI

Parameters ​

NameType
dataIUIInputData
x?number
y?number
width?number
height?number

Returns ​

IUI

Inherited from ​

Group.one

Defined in ​

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


registerUI ​

▸ registerUI(): void

Returns ​

void

Inherited from ​

Group.registerUI

Defined in ​

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


registerData ​

▸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

Group.registerData

Defined in ​

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


setEditConfig ​

▸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

Group.setEditConfig

Defined in ​

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


setEditOuter ​

▸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditOuter

Defined in ​

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


setEditInner ​

▸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditInner

Defined in ​

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

Released under the MIT License.