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:96

Properties ​

innerId ​

• Readonly innerId: number

Implementation of ​

ILeafer.innerId

Inherited from ​

Group.innerId

Defined in ​

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


__layout ​

• __layout: ILeafLayout

Implementation of ​

ILeafer.__layout

Inherited from ​

Group.__layout

Defined in ​

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


__world ​

• __world: IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__world

Inherited from ​

Group.__world

Defined in ​

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


__local ​

• Optional __local: IMatrixWithBoundsData

Implementation of ​

ILeafer.__local

Inherited from ​

Group.__local

Defined in ​

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


__nowWorld ​

• Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__nowWorld

Inherited from ​

Group.__nowWorld

Defined in ​

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


__cameraWorld ​

• Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

ILeafer.__cameraWorld

Inherited from ​

Group.__cameraWorld

Defined in ​

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


__worldOpacity ​

• __worldOpacity: number

Implementation of ​

ILeafer.__worldOpacity

Inherited from ​

Group.__worldOpacity

Defined in ​

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


__level ​

• __level: number

Implementation of ​

ILeafer.__level

Inherited from ​

Group.__level

Defined in ​

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


__tempNumber ​

• __tempNumber: number

Implementation of ​

ILeafer.__tempNumber

Inherited from ​

Group.__tempNumber

Defined in ​

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


__hasAutoLayout ​

• Optional __hasAutoLayout: boolean

Implementation of ​

ILeafer.__hasAutoLayout

Inherited from ​

Group.__hasAutoLayout

Defined in ​

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


__hasMask ​

• Optional __hasMask: boolean

Implementation of ​

ILeafer.__hasMask

Inherited from ​

Group.__hasMask

Defined in ​

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


__hasEraser ​

• Optional __hasEraser: boolean

Implementation of ​

ILeafer.__hasEraser

Inherited from ​

Group.__hasEraser

Defined in ​

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


__hitCanvas ​

• Optional __hitCanvas: IHitCanvas

Implementation of ​

ILeafer.__hitCanvas

Inherited from ​

Group.__hitCanvas

Defined in ​

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


__captureMap ​

• Optional __captureMap: IEventListenerMap

Implementation of ​

ILeafer.__captureMap

Inherited from ​

Group.__captureMap

Defined in ​

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


__bubbleMap ​

• Optional __bubbleMap: IEventListenerMap

Implementation of ​

ILeafer.__bubbleMap

Inherited from ​

Group.__bubbleMap

Defined in ​

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


__parentWait ​

• Optional __parentWait: IFunction[]

Implementation of ​

ILeafer.__parentWait

Inherited from ​

Group.__parentWait

Defined in ​

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


__leaferWait ​

• Optional __leaferWait: IFunction[]

Implementation of ​

ILeafer.__leaferWait

Inherited from ​

Group.__leaferWait

Defined in ​

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


noBounds ​

• Optional noBounds: boolean

Implementation of ​

ILeafer.noBounds

Inherited from ​

Group.noBounds

Defined in ​

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


destroyed ​

• destroyed: boolean

Implementation of ​

ILeafer.destroyed

Inherited from ​

Group.destroyed

Defined in ​

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


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:14


__ ​

• __: ILeaferData

Implementation of ​

ILeafer.__

Overrides ​

Group.__

Defined in ​

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


pixelRatio ​

• Optional pixelRatio: number

Implementation of ​

ILeafer.pixelRatio

Overrides ​

Group.pixelRatio

Defined in ​

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


parent ​

• Optional parent: IApp

Implementation of ​

ILeafer.parent

Overrides ​

Group.parent

Defined in ​

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


running ​

• running: boolean

Implementation of ​

ILeafer.running

Defined in ​

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


created ​

• created: boolean

Implementation of ​

ILeafer.created

Defined in ​

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


ready ​

• ready: boolean

Implementation of ​

ILeafer.ready

Defined in ​

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


viewReady ​

• viewReady: boolean

Implementation of ​

ILeafer.viewReady

Defined in ​

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


viewCompleted ​

• viewCompleted: boolean

Implementation of ​

ILeafer.viewCompleted

Defined in ​

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


transforming ​

• transforming: boolean

Implementation of ​

ILeafer.transforming

Defined in ​

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


view ​

• view: unknown

Implementation of ​

ILeafer.view

Defined in ​

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


canvas ​

• canvas: ILeaferCanvas

Implementation of ​

ILeafer.canvas

Defined in ​

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


renderer ​

• renderer: IRenderer

Implementation of ​

ILeafer.renderer

Defined in ​

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


watcher ​

• watcher: IWatcher

Implementation of ​

ILeafer.watcher

Defined in ​

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


layouter ​

• layouter: ILayouter

Implementation of ​

ILeafer.layouter

Defined in ​

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


selector ​

• Optional selector: ISelector

Implementation of ​

ILeafer.selector

Defined in ​

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


interaction ​

• Optional interaction: IInteraction

Implementation of ​

ILeafer.interaction

Defined in ​

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


canvasManager ​

• canvasManager: ICanvasManager

Implementation of ​

ILeafer.canvasManager

Defined in ​

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


hitCanvasManager ​

• Optional hitCanvasManager: IHitCanvasManager

Implementation of ​

ILeafer.hitCanvasManager

Defined in ​

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


editor ​

• editor: IEditorBase

Implementation of ​

ILeafer.editor

Defined in ​

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


userConfig ​

• userConfig: ILeaferConfig

Implementation of ​

ILeafer.userConfig

Defined in ​

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


config ​

• config: ILeaferConfig

Implementation of ​

ILeafer.config

Defined in ​

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


autoLayout ​

• Optional autoLayout: IAutoBounds

Implementation of ​

ILeafer.autoLayout

Defined in ​

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


lazyBounds ​

• lazyBounds: IBounds

Implementation of ​

ILeafer.lazyBounds

Defined in ​

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


leafs ​

• leafs: number = 0

Implementation of ​

ILeafer.leafs

Defined in ​

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


__eventIds ​

• __eventIds: IEventListenerId[] = []

Implementation of ​

ILeafer.__eventIds

Defined in ​

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


__startTimer ​

• Protected __startTimer: any

Defined in ​

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


__controllers ​

• Protected __controllers: IControl[] = []

Defined in ​

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


__initWait ​

• Protected __initWait: IFunction[]

Defined in ​

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


__readyWait ​

• Protected __readyWait: IFunction[] = []

Defined in ​

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


__viewReadyWait ​

• Protected __viewReadyWait: IFunction[] = []

Defined in ​

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


__viewCompletedWait ​

• Protected __viewCompletedWait: IFunction[] = []

Defined in ​

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


__nextRenderWait ​

• __nextRenderWait: IFunction[] = []

Implementation of ​

ILeafer.__nextRenderWait

Defined in ​

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


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


selected ​

• Optional selected: boolean

Implementation of ​

ILeafer.selected

Inherited from ​

Group.selected

Defined in ​

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


disabled ​

• Optional disabled: boolean

Implementation of ​

ILeafer.disabled

Inherited from ​

Group.disabled

Defined in ​

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


locked ​

• Optional locked: boolean

Implementation of ​

ILeafer.locked

Inherited from ​

Group.locked

Defined in ​

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


zIndex ​

• Optional zIndex: number

Implementation of ​

ILeafer.zIndex

Inherited from ​

Group.zIndex

Defined in ​

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


mask ​

• Optional mask: boolean | IMaskType

Implementation of ​

ILeafer.mask

Inherited from ​

Group.mask

Defined in ​

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


eraser ​

• Optional eraser: boolean | IEraserType

Implementation of ​

ILeafer.eraser

Inherited from ​

Group.eraser

Defined in ​

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


x ​

• Optional x: number

Implementation of ​

ILeafer.x

Inherited from ​

Group.x

Defined in ​

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


y ​

• Optional y: number

Implementation of ​

ILeafer.y

Inherited from ​

Group.y

Defined in ​

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


width ​

• Optional width: number

Implementation of ​

ILeafer.width

Inherited from ​

Group.width

Defined in ​

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


height ​

• Optional height: number

Implementation of ​

ILeafer.height

Inherited from ​

Group.height

Defined in ​

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


scaleX ​

• Optional scaleX: number

Implementation of ​

ILeafer.scaleX

Inherited from ​

Group.scaleX

Defined in ​

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


scaleY ​

• Optional scaleY: number

Implementation of ​

ILeafer.scaleY

Inherited from ​

Group.scaleY

Defined in ​

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


rotation ​

• Optional rotation: number

Implementation of ​

ILeafer.rotation

Inherited from ​

Group.rotation

Defined in ​

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


skewX ​

• Optional skewX: number

Implementation of ​

ILeafer.skewX

Inherited from ​

Group.skewX

Defined in ​

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


skewY ​

• Optional skewY: number

Implementation of ​

ILeafer.skewY

Inherited from ​

Group.skewY

Defined in ​

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


offsetX ​

• Optional offsetX: number

Implementation of ​

ILeafer.offsetX

Inherited from ​

Group.offsetX

Defined in ​

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


offsetY ​

• Optional offsetY: number

Implementation of ​

ILeafer.offsetY

Inherited from ​

Group.offsetY

Defined in ​

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


scrollX ​

• Optional scrollX: number

Implementation of ​

ILeafer.scrollX

Inherited from ​

Group.scrollX

Defined in ​

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


scrollY ​

• Optional scrollY: number

Implementation of ​

ILeafer.scrollY

Inherited from ​

Group.scrollY

Defined in ​

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


origin ​

• Optional origin: IUnitPointData | IDirection

Implementation of ​

ILeafer.origin

Inherited from ​

Group.origin

Defined in ​

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


around ​

• Optional around: IUnitPointData | IDirection

Implementation of ​

ILeafer.around

Inherited from ​

Group.around

Defined in ​

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


lazy ​

• Optional lazy: boolean

Implementation of ​

ILeafer.lazy

Inherited from ​

Group.lazy

Defined in ​

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


path ​

• Optional path: string | IPathCommandData

Implementation of ​

ILeafer.path

Inherited from ​

Group.path

Defined in ​

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


windingRule ​

• Optional windingRule: IWindingRule

Implementation of ​

ILeafer.windingRule

Inherited from ​

Group.windingRule

Defined in ​

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


closed ​

• Optional closed: boolean

Implementation of ​

ILeafer.closed

Inherited from ​

Group.closed

Defined in ​

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


flow ​

• Optional flow: IFlowType

Implementation of ​

ILeafer.flow

Inherited from ​

Group.flow

Defined in ​

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


padding ​

• Optional padding: IFourNumber

Implementation of ​

ILeafer.padding

Inherited from ​

Group.padding

Defined in ​

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


gap ​

• Optional gap: IGap | IPointGap

Implementation of ​

ILeafer.gap

Inherited from ​

Group.gap

Defined in ​

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


flowAlign ​

• Optional flowAlign: IFlowAlign | IFlowAxisAlign

Implementation of ​

ILeafer.flowAlign

Inherited from ​

Group.flowAlign

Defined in ​

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


flowWrap ​

• Optional flowWrap: IFlowWrap

Implementation of ​

ILeafer.flowWrap

Inherited from ​

Group.flowWrap

Defined in ​

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


itemBox ​

• Optional itemBox: IFlowBoxType

Implementation of ​

ILeafer.itemBox

Inherited from ​

Group.itemBox

Defined in ​

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


inFlow ​

• Optional inFlow: boolean

Implementation of ​

ILeafer.inFlow

Inherited from ​

Group.inFlow

Defined in ​

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


autoWidth ​

• Optional autoWidth: IAutoSize

Implementation of ​

ILeafer.autoWidth

Inherited from ​

Group.autoWidth

Defined in ​

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


autoHeight ​

• Optional autoHeight: IAutoSize

Implementation of ​

ILeafer.autoHeight

Inherited from ​

Group.autoHeight

Defined in ​

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


lockRatio ​

• Optional lockRatio: boolean

Implementation of ​

ILeafer.lockRatio

Inherited from ​

Group.lockRatio

Defined in ​

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


autoBox ​

• Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

ILeafer.autoBox

Inherited from ​

Group.autoBox

Defined in ​

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


widthRange ​

• Optional widthRange: IRangeSize

Implementation of ​

ILeafer.widthRange

Inherited from ​

Group.widthRange

Defined in ​

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


heightRange ​

• Optional heightRange: IRangeSize

Implementation of ​

ILeafer.heightRange

Inherited from ​

Group.heightRange

Defined in ​

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


draggable ​

• Optional draggable: boolean | IAxis

Implementation of ​

ILeafer.draggable

Inherited from ​

Group.draggable

Defined in ​

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


dragBounds ​

• Optional dragBounds: "parent" | IBoundsData

Implementation of ​

ILeafer.dragBounds

Inherited from ​

Group.dragBounds

Defined in ​

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


editable ​

• Optional editable: boolean

Implementation of ​

ILeafer.editable

Inherited from ​

Group.editable

Defined in ​

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


hittable ​

• Optional hittable: boolean

Implementation of ​

ILeafer.hittable

Inherited from ​

Group.hittable

Defined in ​

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


hitFill ​

• Optional hitFill: IHitType

Implementation of ​

ILeafer.hitFill

Inherited from ​

Group.hitFill

Defined in ​

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


hitStroke ​

• Optional hitStroke: IHitType

Implementation of ​

ILeafer.hitStroke

Inherited from ​

Group.hitStroke

Defined in ​

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


hitBox ​

• Optional hitBox: boolean

Implementation of ​

ILeafer.hitBox

Inherited from ​

Group.hitBox

Defined in ​

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


hitChildren ​

• Optional hitChildren: boolean

Implementation of ​

ILeafer.hitChildren

Inherited from ​

Group.hitChildren

Defined in ​

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


hitSelf ​

• Optional hitSelf: boolean

Implementation of ​

ILeafer.hitSelf

Inherited from ​

Group.hitSelf

Defined in ​

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


hitRadius ​

• Optional hitRadius: number

Implementation of ​

ILeafer.hitRadius

Inherited from ​

Group.hitRadius

Defined in ​

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


cursor ​

• Optional cursor: ICursorType | ICursorType[]

Implementation of ​

ILeafer.cursor

Inherited from ​

Group.cursor

Defined in ​

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


fill ​

• Optional fill: IFill

Implementation of ​

ILeafer.fill

Inherited from ​

Group.fill

Defined in ​

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


stroke ​

• Optional stroke: IStroke

Implementation of ​

ILeafer.stroke

Inherited from ​

Group.stroke

Defined in ​

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


strokeAlign ​

• Optional strokeAlign: IStrokeAlign

Implementation of ​

ILeafer.strokeAlign

Inherited from ​

Group.strokeAlign

Defined in ​

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


strokeWidth ​

• Optional strokeWidth: string | IFourNumber

Implementation of ​

ILeafer.strokeWidth

Inherited from ​

Group.strokeWidth

Defined in ​

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


strokeWidthFixed ​

• Optional strokeWidthFixed: boolean

Implementation of ​

ILeafer.strokeWidthFixed

Inherited from ​

Group.strokeWidthFixed

Defined in ​

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


strokeCap ​

• Optional strokeCap: IStrokeCap

Implementation of ​

ILeafer.strokeCap

Inherited from ​

Group.strokeCap

Defined in ​

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


strokeJoin ​

• Optional strokeJoin: IStrokeJoin

Implementation of ​

ILeafer.strokeJoin

Inherited from ​

Group.strokeJoin

Defined in ​

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


dashPattern ​

• Optional dashPattern: string | number[]

Implementation of ​

ILeafer.dashPattern

Inherited from ​

Group.dashPattern

Defined in ​

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


dashOffset ​

• Optional dashOffset: number

Implementation of ​

ILeafer.dashOffset

Inherited from ​

Group.dashOffset

Defined in ​

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


miterLimit ​

• Optional miterLimit: number

Implementation of ​

ILeafer.miterLimit

Inherited from ​

Group.miterLimit

Defined in ​

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


startArrow ​

• Optional startArrow: IArrowType

Implementation of ​

ILeafer.startArrow

Inherited from ​

Group.startArrow

Defined in ​

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


endArrow ​

• Optional endArrow: IArrowType

Implementation of ​

ILeafer.endArrow

Inherited from ​

Group.endArrow

Defined in ​

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


cornerRadius ​

• Optional cornerRadius: string | IFourNumber

Implementation of ​

ILeafer.cornerRadius

Inherited from ​

Group.cornerRadius

Defined in ​

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


cornerSmoothing ​

• Optional cornerSmoothing: number

Implementation of ​

ILeafer.cornerSmoothing

Inherited from ​

Group.cornerSmoothing

Defined in ​

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


shadow ​

• Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

ILeafer.shadow

Inherited from ​

Group.shadow

Defined in ​

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


innerShadow ​

• Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

ILeafer.innerShadow

Inherited from ​

Group.innerShadow

Defined in ​

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


blur ​

• Optional blur: number | IBlurEffect

Implementation of ​

ILeafer.blur

Inherited from ​

Group.blur

Defined in ​

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


backgroundBlur ​

• Optional backgroundBlur: number | IBlurEffect

Implementation of ​

ILeafer.backgroundBlur

Inherited from ​

Group.backgroundBlur

Defined in ​

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


grayscale ​

• Optional grayscale: number | IGrayscaleEffect

Implementation of ​

ILeafer.grayscale

Inherited from ​

Group.grayscale

Defined in ​

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


normalStyle ​

• Optional normalStyle: IUIInputData

Implementation of ​

ILeafer.normalStyle

Inherited from ​

Group.normalStyle

Defined in ​

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


hoverStyle ​

• Optional hoverStyle: IUIInputData

Implementation of ​

ILeafer.hoverStyle

Inherited from ​

Group.hoverStyle

Defined in ​

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


pressStyle ​

• Optional pressStyle: IUIInputData

Implementation of ​

ILeafer.pressStyle

Inherited from ​

Group.pressStyle

Defined in ​

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


focusStyle ​

• Optional focusStyle: IUIInputData

Implementation of ​

ILeafer.focusStyle

Inherited from ​

Group.focusStyle

Defined in ​

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


selectedStyle ​

• Optional selectedStyle: IUIInputData

Implementation of ​

ILeafer.selectedStyle

Inherited from ​

Group.selectedStyle

Defined in ​

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


disabledStyle ​

• Optional disabledStyle: IUIInputData

Implementation of ​

ILeafer.disabledStyle

Inherited from ​

Group.disabledStyle

Defined in ​

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


data ​

• data: IObject

Implementation of ​

ILeafer.data

Inherited from ​

Group.data

Defined in ​

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

Accessors ​

tag ​

• get tag(): string

Returns ​

string

Implementation of ​

ILeafer.tag

Inherited from ​

Group.tag

Defined in ​

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

• 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:25


innerName ​

• get innerName(): string

Returns ​

string

Implementation of ​

ILeafer.innerName

Inherited from ​

Group.innerName

Defined in ​

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


__DataProcessor ​

• get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

ILeafer.__DataProcessor

Inherited from ​

Group.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

• get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

ILeafer.__LayoutProcessor

Inherited from ​

Group.__LayoutProcessor

Defined in ​

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


isBranchLeaf ​

• get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isBranchLeaf

Inherited from ​

Group.isBranchLeaf

Defined in ​

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


__localMatrix ​

• get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

ILeafer.__localMatrix

Inherited from ​

Group.__localMatrix

Defined in ​

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


__localBoxBounds ​

• get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.__localBoxBounds

Inherited from ​

Group.__localBoxBounds

Defined in ​

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


worldTransform ​

• get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

ILeafer.worldTransform

Inherited from ​

Group.worldTransform

Defined in ​

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


localTransform ​

• get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

ILeafer.localTransform

Inherited from ​

Group.localTransform

Defined in ​

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


boxBounds ​

• get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.boxBounds

Inherited from ​

Group.boxBounds

Defined in ​

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


renderBounds ​

• get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.renderBounds

Inherited from ​

Group.renderBounds

Defined in ​

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


worldBoxBounds ​

• get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.worldBoxBounds

Inherited from ​

Group.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

• get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.worldStrokeBounds

Inherited from ​

Group.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

• get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.worldRenderBounds

Inherited from ​

Group.worldRenderBounds

Defined in ​

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


worldOpacity ​

• get worldOpacity(): number

Returns ​

number

Implementation of ​

ILeafer.worldOpacity

Inherited from ​

Group.worldOpacity

Defined in ​

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


__worldFlipped ​

• get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__worldFlipped

Inherited from ​

Group.__worldFlipped

Defined in ​

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


__onlyHitMask ​

• get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__onlyHitMask

Inherited from ​

Group.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

• get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__ignoreHitWorld

Inherited from ​

Group.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

• get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.__inLazyBounds

Inherited from ​

Group.__inLazyBounds

Defined in ​

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


pathInputed ​

• get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.pathInputed

Inherited from ​

Group.pathInputed

Defined in ​

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


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:87


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:17


isApp ​

• get isApp(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isApp

Defined in ​

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


app ​

• get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

ILeafer.app

Overrides ​

Group.app

Defined in ​

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


isLeafer ​

• get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.isLeafer

Overrides ​

Group.isLeafer

Defined in ​

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


imageReady ​

• get imageReady(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.imageReady

Defined in ​

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


layoutLocked ​

• get layoutLocked(): boolean

Returns ​

boolean

Implementation of ​

ILeafer.layoutLocked

Defined in ​

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


FPS ​

• get FPS(): number

Returns ​

number

Defined in ​

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


cursorPoint ​

• get cursorPoint(): IPointData

Returns ​

IPointData

Implementation of ​

ILeafer.cursorPoint

Defined in ​

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


clientBounds ​

• get clientBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

ILeafer.clientBounds

Defined in ​

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


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:343

• 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:334


pen ​

• get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

ILeafer.pen

Inherited from ​

Group.pen

Defined in ​

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


editConfig ​

• get editConfig(): IEditorConfig

Returns ​

IEditorConfig

Implementation of ​

ILeafer.editConfig

Inherited from ​

Group.editConfig

Defined in ​

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


editOuter ​

• get editOuter(): string

Returns ​

string

Implementation of ​

ILeafer.editOuter

Inherited from ​

Group.editOuter

Defined in ​

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


editInner ​

• get editInner(): string

Returns ​

string

Implementation of ​

ILeafer.editInner

Inherited from ​

Group.editInner

Defined in ​

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

Methods ​

resetCustom ​

▸ resetCustom(): void

Returns ​

void

Implementation of ​

ILeafer.resetCustom

Inherited from ​

Group.resetCustom

Defined in ​

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


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:133


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:138


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:147


__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:151


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:179


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:180


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:182


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:189


toSVG ​

▸ toSVG(): string

Returns ​

string

Implementation of ​

ILeafer.toSVG

Inherited from ​

Group.toSVG

Defined in ​

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


__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:195


toHTML ​

▸ toHTML(): string

Returns ​

string

Implementation of ​

ILeafer.toHTML

Inherited from ​

Group.toHTML

Defined in ​

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


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:205


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:207


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:227


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Implementation of ​

ILeafer.updateLayout

Inherited from ​

Group.updateLayout

Defined in ​

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


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:235


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

ILeafer.__updateWorldMatrix

Inherited from ​

Group.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalMatrix

Inherited from ​

Group.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateWorldBounds

Inherited from ​

Group.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalBounds

Inherited from ​

Group.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalBoxBounds

Inherited from ​

Group.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalStrokeBounds

Inherited from ​

Group.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateLocalRenderBounds

Inherited from ​

Group.__updateLocalRenderBounds

Defined in ​

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


__updateBoxBounds ​

▸ __updateBoxBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateBoxBounds

Inherited from ​

Group.__updateBoxBounds

Defined in ​

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


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateContentBounds

Inherited from ​

Group.__updateContentBounds

Defined in ​

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


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateStrokeBounds

Inherited from ​

Group.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Implementation of ​

ILeafer.__updateRenderBounds

Inherited from ​

Group.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

ILeafer.__updateAutoLayout

Inherited from ​

Group.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

ILeafer.__updateFlowLayout

Inherited from ​

Group.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

ILeafer.__updateNaturalSize

Inherited from ​

Group.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Implementation of ​

ILeafer.__updateStrokeSpread

Inherited from ​

Group.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Implementation of ​

ILeafer.__updateRenderSpread

Inherited from ​

Group.__updateRenderSpread

Defined in ​

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


__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:295


__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:299


__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:307


__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:313


__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:321


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:333


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:338


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:342


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:346


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:351


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:359


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:367


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:375


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:383


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:390


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:396


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:400


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:406


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:410


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:416


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:422


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:427


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:435


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:439


move ​

▸ move(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

ILeafer.move

Inherited from ​

Group.move

Defined in ​

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


moveInner ​

▸ moveInner(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

ILeafer.moveInner

Inherited from ​

Group.moveInner

Defined in ​

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


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:452


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:456


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:460


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:465


moveWorld ​

▸ moveWorld(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

ILeafer.moveWorld

Inherited from ​

Group.moveWorld

Defined in ​

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


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:473


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:477


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:481


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:485


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:492


__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:497


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:500


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:502


__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:507


__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:509


__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:511


__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:513


__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:515


__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:517


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

ILeafer.__updateHitCanvas

Inherited from ​

Group.__updateHitCanvas

Defined in ​

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


__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:526


__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:528


__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:530


__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:533


__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:535


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

ILeafer.__updateWorldOpacity

Inherited from ​

Group.__updateWorldOpacity

Defined in ​

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


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Implementation of ​

ILeafer.__updateChange

Inherited from ​

Group.__updateChange

Defined in ​

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


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Implementation of ​

ILeafer.__updatePath

Inherited from ​

Group.__updatePath

Defined in ​

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


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

ILeafer.__updateSortChildren

Inherited from ​

Group.__updateSortChildren

Defined in ​

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


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:566


on ​

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

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_options?IEventOption

Returns ​

void

Implementation of ​

ILeafer.on

Inherited from ​

Group.on

Defined in ​

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


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:577


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:579


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:581


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:583


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:585


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:587


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:589


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:593


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:597


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:65


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:74


addAt ​

▸ addAt(child, index): void

Parameters ​

NameType
childIUI
indexnumber

Returns ​

void

Implementation of ​

ILeafer.addAt

Inherited from ​

Group.addAt

Defined in ​

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


addAfter ​

▸ addAfter(child, after): void

Parameters ​

NameType
childIUI
afterIUI

Returns ​

void

Implementation of ​

ILeafer.addAfter

Inherited from ​

Group.addAfter

Defined in ​

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


addBefore ​

▸ addBefore(child, before): void

Parameters ​

NameType
childIUI
beforeIUI

Returns ​

void

Implementation of ​

ILeafer.addBefore

Inherited from ​

Group.addBefore

Defined in ​

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


add ​

▸ add(_child, _index?): void

Parameters ​

NameType
_childIUI
_index?number

Returns ​

void

Implementation of ​

ILeafer.add

Inherited from ​

Group.add

Defined in ​

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


addMany ​

▸ addMany(..._children): void

Parameters ​

NameType
..._childrenIUI[]

Returns ​

void

Implementation of ​

ILeafer.addMany

Inherited from ​

Group.addMany

Defined in ​

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


remove ​

▸ remove(_child?, _destroy?): void

Parameters ​

NameType
_child?IUI
_destroy?boolean

Returns ​

void

Implementation of ​

ILeafer.remove

Inherited from ​

Group.remove

Defined in ​

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


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:99


clear ​

▸ clear(): void

Returns ​

void

Implementation of ​

ILeafer.clear

Inherited from ​

Group.clear

Defined in ​

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


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:103


onInit ​

▸ onInit(): void

Returns ​

void

Implementation of ​

ILeafer.onInit

Defined in ​

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


initType ​

▸ initType(_type): void

Parameters ​

NameType
_typeILeaferType

Returns ​

void

Implementation of ​

ILeafer.initType

Defined in ​

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


set ​

▸ set(data): void

Parameters ​

NameType
dataIUIInputData

Returns ​

void

Implementation of ​

ILeafer.set

Overrides ​

Group.set

Defined in ​

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


start ​

▸ start(): void

Returns ​

void

Implementation of ​

ILeafer.start

Defined in ​

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


stop ​

▸ stop(): void

Returns ​

void

Implementation of ​

ILeafer.stop

Defined in ​

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


unlockLayout ​

▸ unlockLayout(): void

Returns ​

void

Implementation of ​

ILeafer.unlockLayout

Defined in ​

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


lockLayout ​

▸ lockLayout(): void

Returns ​

void

Implementation of ​

ILeafer.lockLayout

Defined in ​

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


resize ​

▸ resize(size): void

Parameters ​

NameType
sizeIScreenSizeData

Returns ​

void

Implementation of ​

ILeafer.resize

Defined in ​

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


forceRender ​

▸ forceRender(bounds?): void

Parameters ​

NameType
bounds?IBoundsData

Returns ​

void

Implementation of ​

ILeafer.forceRender

Overrides ​

Group.forceRender

Defined in ​

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


updateCursor ​

▸ updateCursor(cursor?): void

Parameters ​

NameType
cursor?ICursorType

Returns ​

void

Implementation of ​

ILeafer.updateCursor

Defined in ​

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


updateLazyBounds ​

▸ updateLazyBounds(): void

Returns ​

void

Defined in ​

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


__doResize ​

▸ __doResize(size): void

Parameters ​

NameType
sizeIScreenSizeData

Returns ​

void

Defined in ​

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


__onResize ​

▸ __onResize(event): void

Parameters ​

NameType
eventIResizeEvent

Returns ​

void

Defined in ​

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


__setApp ​

▸ __setApp(): void

Returns ​

void

Defined in ​

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


__bindApp ​

▸ __bindApp(app): void

Parameters ​

NameType
appIApp

Returns ​

void

Defined in ​

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


__setLeafer ​

▸ __setLeafer(leafer): void

Parameters ​

NameType
leaferILeafer

Returns ​

void

Defined in ​

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


__checkAutoLayout ​

▸ __checkAutoLayout(config, parentApp?): void

Parameters ​

NameType
configILeaferConfig
parentApp?IApp

Returns ​

void

Defined in ​

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


__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:251


__getAttr ​

▸ __getAttr(attrName): IValue

Parameters ​

NameType
attrNamestring

Returns ​

IValue

Implementation of ​

ILeafer.__getAttr

Overrides ​

Group.__getAttr

Defined in ​

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


__changeCanvasSize ​

▸ __changeCanvasSize(attrName, newValue): void

Parameters ​

NameType
attrNamestring
newValuenumber

Returns ​

void

Defined in ​

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


__changeFill ​

▸ __changeFill(newValue): void

Parameters ​

NameType
newValuestring

Returns ​

void

Defined in ​

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


__onCreated ​

▸ __onCreated(): void

Returns ​

void

Defined in ​

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


__onReady ​

▸ __onReady(): void

Returns ​

void

Defined in ​

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


__onViewReady ​

▸ __onViewReady(): void

Returns ​

void

Defined in ​

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


__onNextRender ​

▸ __onNextRender(): void

Returns ​

void

Defined in ​

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


__checkViewCompleted ​

▸ __checkViewCompleted(emit?): void

Parameters ​

NameTypeDefault value
emitbooleantrue

Returns ​

void

Defined in ​

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


__onWatchData ​

▸ __onWatchData(): void

Returns ​

void

Defined in ​

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


waitInit ​

▸ waitInit(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Defined in ​

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


waitReady ​

▸ waitReady(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitReady

Defined in ​

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


waitViewReady ​

▸ waitViewReady(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitViewReady

Defined in ​

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


waitViewCompleted ​

▸ waitViewCompleted(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

ILeafer.waitViewCompleted

Defined in ​

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


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:361


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:374


getValidMove ​

▸ getValidMove(moveX, moveY): IPointData

Parameters ​

NameType
moveXnumber
moveYnumber

Returns ​

IPointData

Implementation of ​

ILeafer.getValidMove

Defined in ​

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


getValidScale ​

▸ getValidScale(changeScale): number

Parameters ​

NameType
changeScalenumber

Returns ​

number

Implementation of ​

ILeafer.getValidScale

Defined in ​

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


getWorldPointByClient ​

▸ getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getWorldPointByClient

Defined in ​

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


getPagePointByClient ​

▸ getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Implementation of ​

ILeafer.getPagePointByClient

Defined in ​

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


updateClientBounds ​

▸ updateClientBounds(): void

Returns ​

void

Implementation of ​

ILeafer.updateClientBounds

Defined in ​

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


receiveEvent ​

▸ receiveEvent(_event): void

Parameters ​

NameType
_eventany

Returns ​

void

Implementation of ​

ILeafer.receiveEvent

Defined in ​

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


__checkUpdateLayout ​

▸ __checkUpdateLayout(): void

Returns ​

void

Defined in ​

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


emitLeafer ​

▸ emitLeafer(type): void

Parameters ​

NameType
typestring

Returns ​

void

Defined in ​

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


__listenEvents ​

▸ __listenEvents(): void

Returns ​

void

Defined in ​

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


__removeListenEvents ​

▸ __removeListenEvents(): void

Returns ​

void

Defined in ​

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


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:427


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:380


createProxyData ​

▸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

ILeafer.createProxyData

Inherited from ​

Group.createProxyData

Defined in ​

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


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:389


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:391


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:393


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:395


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:400


getPathString ​

▸ getPathString(curve?, pathForRender?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

string

Implementation of ​

ILeafer.getPathString

Inherited from ​

Group.getPathString

Defined in ​

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


load ​

▸ load(): void

Returns ​

void

Implementation of ​

ILeafer.load

Inherited from ​

Group.load

Defined in ​

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


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

ILeafer.__onUpdateSize

Inherited from ​

Group.__onUpdateSize

Defined in ​

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


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Implementation of ​

ILeafer.__updateRenderPath

Inherited from ​

Group.__updateRenderPath

Defined in ​

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


__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:431


__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:436


__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:441


__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:449


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:462


clone ​

▸ clone(): IUI

Returns ​

IUI

Implementation of ​

ILeafer.clone

Inherited from ​

Group.clone

Defined in ​

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


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:470


registerUI ​

▸ registerUI(): void

Returns ​

void

Inherited from ​

Group.registerUI

Defined in ​

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


registerData ​

▸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

Group.registerData

Defined in ​

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


setEditConfig ​

▸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

Group.setEditConfig

Defined in ​

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


setEditOuter ​

▸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditOuter

Defined in ​

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


setEditInner ​

▸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditInner

Defined in ​

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

Released under the MIT License.