Skip to content

Class: ImageBox<TInputData> โ€‹

Type parameters โ€‹

NameType
TInputDataIImageBoxInputData

Hierarchy โ€‹

  • Box<TInputData>

    โ†ณ ImageBox

Implements โ€‹

Table of contents โ€‹

Constructors โ€‹

Properties โ€‹

Accessors โ€‹

Methods โ€‹

Constructors โ€‹

constructor โ€‹

โ€ข new ImageBox<TInputData>(data?): ImageBox<TInputData>

Type parameters โ€‹

NameType
TInputDataIImageBoxInputData

Parameters โ€‹

NameType
data?TInputData

Returns โ€‹

ImageBox<TInputData>

Inherited from โ€‹

Box.constructor

Defined in โ€‹

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

Properties โ€‹

__ โ€‹

โ€ข __: IImageBoxData

Implementation of โ€‹

IImageBox.__

Overrides โ€‹

Box.__

Defined in โ€‹

src/in/packages/box/src/ImageBox.ts:13


url โ€‹

โ€ข url: string

Implementation of โ€‹

IImageBox.url

Defined in โ€‹

src/in/packages/box/src/ImageBox.ts:16


innerId โ€‹

โ€ข Readonly innerId: number

Implementation of โ€‹

IImageBox.innerId

Inherited from โ€‹

Box.innerId

Defined in โ€‹

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


skipJSON โ€‹

โ€ข Optional skipJSON: boolean

Implementation of โ€‹

IImageBox.skipJSON

Inherited from โ€‹

Box.skipJSON

Defined in โ€‹

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


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Implementation of โ€‹

IImageBox.syncEventer

Inherited from โ€‹

Box.syncEventer

Defined in โ€‹

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


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Implementation of โ€‹

IImageBox.lockNormalStyle

Inherited from โ€‹

Box.lockNormalStyle

Defined in โ€‹

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


__layout โ€‹

โ€ข __layout: ILeafLayout

Implementation of โ€‹

IImageBox.__layout

Inherited from โ€‹

Box.__layout

Defined in โ€‹

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


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Implementation of โ€‹

IImageBox.__world

Inherited from โ€‹

Box.__world

Defined in โ€‹

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


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Implementation of โ€‹

IImageBox.__local

Inherited from โ€‹

Box.__local

Defined in โ€‹

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


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

IImageBox.__nowWorld

Inherited from โ€‹

Box.__nowWorld

Defined in โ€‹

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


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

IImageBox.__cameraWorld

Inherited from โ€‹

Box.__cameraWorld

Defined in โ€‹

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


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Implementation of โ€‹

IImageBox.__worldOpacity

Inherited from โ€‹

Box.__worldOpacity

Defined in โ€‹

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


__scrollWorld โ€‹

โ€ข Optional __scrollWorld: IMatrixWithBoundsScaleData

Implementation of โ€‹

IImageBox.__scrollWorld

Inherited from โ€‹

Box.__scrollWorld

Defined in โ€‹

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


__level โ€‹

โ€ข __level: number

Implementation of โ€‹

IImageBox.__level

Inherited from โ€‹

Box.__level

Defined in โ€‹

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


__tempNumber โ€‹

โ€ข __tempNumber: number

Implementation of โ€‹

IImageBox.__tempNumber

Inherited from โ€‹

Box.__tempNumber

Defined in โ€‹

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


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Implementation of โ€‹

IImageBox.__hasAutoLayout

Inherited from โ€‹

Box.__hasAutoLayout

Defined in โ€‹

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


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Implementation of โ€‹

IImageBox.__hasMask

Inherited from โ€‹

Box.__hasMask

Defined in โ€‹

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


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Implementation of โ€‹

IImageBox.__hasEraser

Inherited from โ€‹

Box.__hasEraser

Defined in โ€‹

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


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Implementation of โ€‹

IImageBox.__hitCanvas

Inherited from โ€‹

Box.__hitCanvas

Defined in โ€‹

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


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Implementation of โ€‹

IImageBox.__captureMap

Inherited from โ€‹

Box.__captureMap

Defined in โ€‹

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


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Implementation of โ€‹

IImageBox.__bubbleMap

Inherited from โ€‹

Box.__bubbleMap

Defined in โ€‹

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


__hasLocalEvent โ€‹

โ€ข Optional __hasLocalEvent: boolean

Implementation of โ€‹

IImageBox.__hasLocalEvent

Inherited from โ€‹

Box.__hasLocalEvent

Defined in โ€‹

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


__hasWorldEvent โ€‹

โ€ข Optional __hasWorldEvent: boolean

Implementation of โ€‹

IImageBox.__hasWorldEvent

Inherited from โ€‹

Box.__hasWorldEvent

Defined in โ€‹

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


destroyed โ€‹

โ€ข destroyed: boolean

Implementation of โ€‹

IImageBox.destroyed

Inherited from โ€‹

Box.destroyed

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Implementation of โ€‹

IImageBox.width

Inherited from โ€‹

Box.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Implementation of โ€‹

IImageBox.height

Inherited from โ€‹

Box.height

Defined in โ€‹

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


resizeChildren โ€‹

โ€ข Optional resizeChildren: boolean

Implementation of โ€‹

IImageBox.resizeChildren

Inherited from โ€‹

Box.resizeChildren

Defined in โ€‹

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


textBox โ€‹

โ€ข Optional textBox: boolean

Implementation of โ€‹

IImageBox.textBox

Inherited from โ€‹

Box.textBox

Defined in โ€‹

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


overflow โ€‹

โ€ข Optional overflow: IOverflow

Implementation of โ€‹

IImageBox.overflow

Inherited from โ€‹

Box.overflow

Defined in โ€‹

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


isOverflow โ€‹

โ€ข Optional isOverflow: boolean

Implementation of โ€‹

IImageBox.isOverflow

Inherited from โ€‹

Box.isOverflow

Defined in โ€‹

src/ui/packages/display/src/Box.ts:41


scrollConfig โ€‹

โ€ข Optional scrollConfig: IScrollConfig

Implementation of โ€‹

IImageBox.scrollConfig

Inherited from โ€‹

Box.scrollConfig

Defined in โ€‹

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


scroller โ€‹

โ€ข Optional scroller: IScroller

Implementation of โ€‹

IImageBox.scroller

Inherited from โ€‹

Box.scroller

Defined in โ€‹

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


hasScroller โ€‹

โ€ข Optional hasScroller: boolean

Implementation of โ€‹

IImageBox.hasScroller

Inherited from โ€‹

Box.hasScroller

Defined in โ€‹

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


children โ€‹

โ€ข children: IUI[]

Implementation of โ€‹

IImageBox.children

Inherited from โ€‹

Box.children

Defined in โ€‹

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


topChildren โ€‹

โ€ข Optional topChildren: IUI[]

Implementation of โ€‹

IImageBox.topChildren

Inherited from โ€‹

Box.topChildren

Defined in โ€‹

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


childlessJSON โ€‹

โ€ข Optional childlessJSON: boolean

Implementation of โ€‹

IImageBox.childlessJSON

Inherited from โ€‹

Box.childlessJSON

Defined in โ€‹

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


proxyData โ€‹

โ€ข Optional proxyData: IUIInputData

Implementation of โ€‹

IImageBox.proxyData

Inherited from โ€‹

Box.proxyData

Defined in โ€‹

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


__proxyData โ€‹

โ€ข Optional __proxyData: IUIInputData

Implementation of โ€‹

IImageBox.__proxyData

Inherited from โ€‹

Box.__proxyData

Defined in โ€‹

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


leafer โ€‹

โ€ข Optional leafer: ILeafer

Implementation of โ€‹

IImageBox.leafer

Inherited from โ€‹

Box.leafer

Defined in โ€‹

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


parent โ€‹

โ€ข Optional parent: IGroup

Implementation of โ€‹

IImageBox.parent

Inherited from โ€‹

Box.parent

Defined in โ€‹

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


zoomLayer โ€‹

โ€ข zoomLayer: IGroup

Implementation of โ€‹

IImageBox.zoomLayer

Inherited from โ€‹

Box.zoomLayer

Defined in โ€‹

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


startLinker โ€‹

โ€ข Optional startLinker: ILinker[]

Implementation of โ€‹

IImageBox.startLinker

Inherited from โ€‹

Box.startLinker

Defined in โ€‹

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


endLinker โ€‹

โ€ข Optional endLinker: ILinker[]

Implementation of โ€‹

IImageBox.endLinker

Inherited from โ€‹

Box.endLinker

Defined in โ€‹

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


id โ€‹

โ€ข Optional id: string

Implementation of โ€‹

IImageBox.id

Inherited from โ€‹

Box.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Implementation of โ€‹

IImageBox.name

Inherited from โ€‹

Box.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Implementation of โ€‹

IImageBox.className

Inherited from โ€‹

Box.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Implementation of โ€‹

IImageBox.blendMode

Inherited from โ€‹

Box.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Implementation of โ€‹

IImageBox.opacity

Inherited from โ€‹

Box.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Implementation of โ€‹

IImageBox.visible

Inherited from โ€‹

Box.visible

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Implementation of โ€‹

IImageBox.locked

Inherited from โ€‹

Box.locked

Defined in โ€‹

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


dim โ€‹

โ€ข Optional dim: number | boolean

Implementation of โ€‹

IImageBox.dim

Inherited from โ€‹

Box.dim

Defined in โ€‹

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


dimskip โ€‹

โ€ข Optional dimskip: boolean

Implementation of โ€‹

IImageBox.dimskip

Inherited from โ€‹

Box.dimskip

Defined in โ€‹

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


bright โ€‹

โ€ข Optional bright: boolean

Implementation of โ€‹

IImageBox.bright

Inherited from โ€‹

Box.bright

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Implementation of โ€‹

IImageBox.zIndex

Inherited from โ€‹

Box.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Implementation of โ€‹

IImageBox.mask

Inherited from โ€‹

Box.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Implementation of โ€‹

IImageBox.eraser

Inherited from โ€‹

Box.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Implementation of โ€‹

IImageBox.x

Inherited from โ€‹

Box.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Implementation of โ€‹

IImageBox.y

Inherited from โ€‹

Box.y

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Implementation of โ€‹

IImageBox.scaleX

Inherited from โ€‹

Box.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Implementation of โ€‹

IImageBox.scaleY

Inherited from โ€‹

Box.scaleY

Defined in โ€‹

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


scaleFixed โ€‹

โ€ข Optional scaleFixed: IScaleFixed

Implementation of โ€‹

IImageBox.scaleFixed

Inherited from โ€‹

Box.scaleFixed

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Implementation of โ€‹

IImageBox.rotation

Inherited from โ€‹

Box.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Implementation of โ€‹

IImageBox.skewX

Inherited from โ€‹

Box.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Implementation of โ€‹

IImageBox.skewY

Inherited from โ€‹

Box.skewY

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Implementation of โ€‹

IImageBox.offsetX

Inherited from โ€‹

Box.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Implementation of โ€‹

IImageBox.offsetY

Inherited from โ€‹

Box.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Implementation of โ€‹

IImageBox.scrollX

Inherited from โ€‹

Box.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Implementation of โ€‹

IImageBox.scrollY

Inherited from โ€‹

Box.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Implementation of โ€‹

IImageBox.origin

Inherited from โ€‹

Box.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Implementation of โ€‹

IImageBox.around

Inherited from โ€‹

Box.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Implementation of โ€‹

IImageBox.lazy

Inherited from โ€‹

Box.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Implementation of โ€‹

IImageBox.pixelRatio

Inherited from โ€‹

Box.pixelRatio

Defined in โ€‹

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


renderSpread โ€‹

โ€ข Optional renderSpread: IFourNumber

Implementation of โ€‹

IImageBox.renderSpread

Inherited from โ€‹

Box.renderSpread

Defined in โ€‹

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


path โ€‹

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

Implementation of โ€‹

IImageBox.path

Inherited from โ€‹

Box.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Implementation of โ€‹

IImageBox.windingRule

Inherited from โ€‹

Box.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Implementation of โ€‹

IImageBox.closed

Inherited from โ€‹

Box.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Implementation of โ€‹

IImageBox.flow

Inherited from โ€‹

Box.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Implementation of โ€‹

IImageBox.padding

Inherited from โ€‹

Box.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Implementation of โ€‹

IImageBox.gap

Inherited from โ€‹

Box.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of โ€‹

IImageBox.flowAlign

Inherited from โ€‹

Box.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Implementation of โ€‹

IImageBox.flowWrap

Inherited from โ€‹

Box.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Implementation of โ€‹

IImageBox.itemBox

Inherited from โ€‹

Box.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Implementation of โ€‹

IImageBox.inFlow

Inherited from โ€‹

Box.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Implementation of โ€‹

IImageBox.autoWidth

Inherited from โ€‹

Box.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Implementation of โ€‹

IImageBox.autoHeight

Inherited from โ€‹

Box.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Implementation of โ€‹

IImageBox.lockRatio

Inherited from โ€‹

Box.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Implementation of โ€‹

IImageBox.autoBox

Inherited from โ€‹

Box.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Implementation of โ€‹

IImageBox.widthRange

Inherited from โ€‹

Box.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Implementation of โ€‹

IImageBox.heightRange

Inherited from โ€‹

Box.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Implementation of โ€‹

IImageBox.draggable

Inherited from โ€‹

Box.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Implementation of โ€‹

IImageBox.dragBounds

Inherited from โ€‹

Box.dragBounds

Defined in โ€‹

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


dragBoundsType โ€‹

โ€ข Optional dragBoundsType: IDragBoundsType

Implementation of โ€‹

IImageBox.dragBoundsType

Inherited from โ€‹

Box.dragBoundsType

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Implementation of โ€‹

IImageBox.editable

Inherited from โ€‹

Box.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Implementation of โ€‹

IImageBox.hittable

Inherited from โ€‹

Box.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Implementation of โ€‹

IImageBox.hitFill

Inherited from โ€‹

Box.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Implementation of โ€‹

IImageBox.hitStroke

Inherited from โ€‹

Box.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Implementation of โ€‹

IImageBox.hitBox

Inherited from โ€‹

Box.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Implementation of โ€‹

IImageBox.hitChildren

Inherited from โ€‹

Box.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Implementation of โ€‹

IImageBox.hitSelf

Inherited from โ€‹

Box.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Implementation of โ€‹

IImageBox.hitRadius

Inherited from โ€‹

Box.hitRadius

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Implementation of โ€‹

IImageBox.cursor

Inherited from โ€‹

Box.cursor

Defined in โ€‹

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


fill โ€‹

โ€ข Optional fill: IFill

Implementation of โ€‹

IImageBox.fill

Inherited from โ€‹

Box.fill

Defined in โ€‹

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


stroke โ€‹

โ€ข Optional stroke: IStroke

Implementation of โ€‹

IImageBox.stroke

Inherited from โ€‹

Box.stroke

Defined in โ€‹

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


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Implementation of โ€‹

IImageBox.strokeAlign

Inherited from โ€‹

Box.strokeAlign

Defined in โ€‹

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


strokeWidth โ€‹

โ€ข Optional strokeWidth: string | IFourNumber

Implementation of โ€‹

IImageBox.strokeWidth

Inherited from โ€‹

Box.strokeWidth

Defined in โ€‹

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


strokeScaleFixed โ€‹

โ€ข Optional strokeScaleFixed: IScaleFixed

Implementation of โ€‹

IImageBox.strokeScaleFixed

Inherited from โ€‹

Box.strokeScaleFixed

Defined in โ€‹

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


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Implementation of โ€‹

IImageBox.strokeCap

Inherited from โ€‹

Box.strokeCap

Defined in โ€‹

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


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Implementation of โ€‹

IImageBox.strokeJoin

Inherited from โ€‹

Box.strokeJoin

Defined in โ€‹

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


dashPattern โ€‹

โ€ข Optional dashPattern: string | number[]

Implementation of โ€‹

IImageBox.dashPattern

Inherited from โ€‹

Box.dashPattern

Defined in โ€‹

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


dashOffset โ€‹

โ€ข Optional dashOffset: number

Implementation of โ€‹

IImageBox.dashOffset

Inherited from โ€‹

Box.dashOffset

Defined in โ€‹

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


miterLimit โ€‹

โ€ข Optional miterLimit: number

Implementation of โ€‹

IImageBox.miterLimit

Inherited from โ€‹

Box.miterLimit

Defined in โ€‹

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


startArrow โ€‹

โ€ข Optional startArrow: IArrowStyle

Implementation of โ€‹

IImageBox.startArrow

Inherited from โ€‹

Box.startArrow

Defined in โ€‹

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


endArrow โ€‹

โ€ข Optional endArrow: IArrowStyle

Implementation of โ€‹

IImageBox.endArrow

Inherited from โ€‹

Box.endArrow

Defined in โ€‹

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


cornerRadius โ€‹

โ€ข Optional cornerRadius: string | IFourNumber

Implementation of โ€‹

IImageBox.cornerRadius

Inherited from โ€‹

Box.cornerRadius

Defined in โ€‹

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


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Implementation of โ€‹

IImageBox.cornerSmoothing

Inherited from โ€‹

Box.cornerSmoothing

Defined in โ€‹

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


shadow โ€‹

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

Implementation of โ€‹

IImageBox.shadow

Inherited from โ€‹

Box.shadow

Defined in โ€‹

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


innerShadow โ€‹

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

Implementation of โ€‹

IImageBox.innerShadow

Inherited from โ€‹

Box.innerShadow

Defined in โ€‹

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


blur โ€‹

โ€ข Optional blur: number | IBlurEffect

Implementation of โ€‹

IImageBox.blur

Inherited from โ€‹

Box.blur

Defined in โ€‹

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


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number | IBlurEffect

Implementation of โ€‹

IImageBox.backgroundBlur

Inherited from โ€‹

Box.backgroundBlur

Defined in โ€‹

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


grayscale โ€‹

โ€ข Optional grayscale: number | IGrayscaleEffect

Implementation of โ€‹

IImageBox.grayscale

Inherited from โ€‹

Box.grayscale

Defined in โ€‹

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


filter โ€‹

โ€ข Optional filter: IFilter | IFilter[]

Implementation of โ€‹

IImageBox.filter

Inherited from โ€‹

Box.filter

Defined in โ€‹

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


complex โ€‹

โ€ข Optional complex: boolean

Implementation of โ€‹

IImageBox.complex

Inherited from โ€‹

Box.complex

Defined in โ€‹

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


animation โ€‹

โ€ข Optional animation: IAnimation | IAnimation[]

Implementation of โ€‹

IImageBox.animation

Inherited from โ€‹

Box.animation

Defined in โ€‹

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


animationOut โ€‹

โ€ข Optional animationOut: IAnimation | IAnimation[]

Implementation of โ€‹

IImageBox.animationOut

Inherited from โ€‹

Box.animationOut

Defined in โ€‹

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


transition โ€‹

โ€ข Optional transition: ITransition

Implementation of โ€‹

IImageBox.transition

Inherited from โ€‹

Box.transition

Defined in โ€‹

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


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Implementation of โ€‹

IImageBox.transitionOut

Inherited from โ€‹

Box.transitionOut

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Implementation of โ€‹

IImageBox.motionPath

Inherited from โ€‹

Box.motionPath

Defined in โ€‹

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


motionPrecision โ€‹

โ€ข Optional motionPrecision: number

Implementation of โ€‹

IImageBox.motionPrecision

Inherited from โ€‹

Box.motionPrecision

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Implementation of โ€‹

IImageBox.motion

Inherited from โ€‹

Box.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Implementation of โ€‹

IImageBox.motionRotation

Inherited from โ€‹

Box.motionRotation

Defined in โ€‹

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


states โ€‹

โ€ข Optional states: IStates

Implementation of โ€‹

IImageBox.states

Inherited from โ€‹

Box.states

Defined in โ€‹

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


state โ€‹

โ€ข Optional state: string

Implementation of โ€‹

IImageBox.state

Inherited from โ€‹

Box.state

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Implementation of โ€‹

IImageBox.selected

Inherited from โ€‹

Box.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Implementation of โ€‹

IImageBox.disabled

Inherited from โ€‹

Box.disabled

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IStateStyle

Implementation of โ€‹

IImageBox.normalStyle

Inherited from โ€‹

Box.normalStyle

Defined in โ€‹

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


hoverStyle โ€‹

โ€ข Optional hoverStyle: IStateStyle

Implementation of โ€‹

IImageBox.hoverStyle

Inherited from โ€‹

Box.hoverStyle

Defined in โ€‹

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


pressStyle โ€‹

โ€ข Optional pressStyle: IStateStyle

Implementation of โ€‹

IImageBox.pressStyle

Inherited from โ€‹

Box.pressStyle

Defined in โ€‹

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


focusStyle โ€‹

โ€ข Optional focusStyle: IStateStyle

Implementation of โ€‹

IImageBox.focusStyle

Inherited from โ€‹

Box.focusStyle

Defined in โ€‹

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


selectedStyle โ€‹

โ€ข Optional selectedStyle: IStateStyle

Implementation of โ€‹

IImageBox.selectedStyle

Inherited from โ€‹

Box.selectedStyle

Defined in โ€‹

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


disabledStyle โ€‹

โ€ข Optional disabledStyle: IStateStyle

Implementation of โ€‹

IImageBox.disabledStyle

Inherited from โ€‹

Box.disabledStyle

Defined in โ€‹

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


placeholderStyle โ€‹

โ€ข Optional placeholderStyle: IStateStyle

Implementation of โ€‹

IImageBox.placeholderStyle

Inherited from โ€‹

Box.placeholderStyle

Defined in โ€‹

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


placeholderColor โ€‹

โ€ข Optional placeholderColor: string

Implementation of โ€‹

IImageBox.placeholderColor

Inherited from โ€‹

Box.placeholderColor

Defined in โ€‹

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


placeholderDelay โ€‹

โ€ข Optional placeholderDelay: number

Implementation of โ€‹

IImageBox.placeholderDelay

Inherited from โ€‹

Box.placeholderDelay

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Implementation of โ€‹

IImageBox.button

Inherited from โ€‹

Box.button

Defined in โ€‹

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


editConfig โ€‹

โ€ข editConfig: IEditorConfig

Implementation of โ€‹

IImageBox.editConfig

Inherited from โ€‹

Box.editConfig

Defined in โ€‹

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


editOuter โ€‹

โ€ข editOuter: string

Implementation of โ€‹

IImageBox.editOuter

Inherited from โ€‹

Box.editOuter

Defined in โ€‹

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


editInner โ€‹

โ€ข editInner: string

Implementation of โ€‹

IImageBox.editInner

Inherited from โ€‹

Box.editInner

Defined in โ€‹

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


data โ€‹

โ€ข data: IObject

Implementation of โ€‹

IImageBox.data

Inherited from โ€‹

Box.data

Defined in โ€‹

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


useFastShadow โ€‹

โ€ข Optional useFastShadow: boolean

Implementation of โ€‹

IImageBox.useFastShadow

Inherited from โ€‹

Box.useFastShadow

Defined in โ€‹

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


__box โ€‹

โ€ข Optional __box: IUI

Implementation of โ€‹

IImageBox.__box

Inherited from โ€‹

Box.__box

Defined in โ€‹

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


__animate โ€‹

โ€ข Optional __animate: IAnimate | IAnimateList

Implementation of โ€‹

IImageBox.__animate

Inherited from โ€‹

Box.__animate

Defined in โ€‹

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

Accessors โ€‹

__tag โ€‹

โ€ข get __tag(): string

Returns โ€‹

string

Implementation of โ€‹

IImageBox.__tag

Overrides โ€‹

Box.__tag

Defined in โ€‹

src/in/packages/box/src/ImageBox.ts:10


ready โ€‹

โ€ข get ready(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.ready

Defined in โ€‹

src/in/packages/box/src/ImageBox.ts:18


image โ€‹

โ€ข get image(): ILeaferImage

Returns โ€‹

ILeaferImage

Implementation of โ€‹

IImageBox.image

Defined in โ€‹

src/in/packages/box/src/ImageBox.ts:20


__useSelfBox โ€‹

โ€ข get __useSelfBox(): boolean

Returns โ€‹

boolean

Overrides โ€‹

Box.__useSelfBox

Defined in โ€‹

src/in/packages/box/src/ImageBox.ts:22


tag โ€‹

โ€ข get tag(): string

Returns โ€‹

string

Implementation of โ€‹

IImageBox.tag

Inherited from โ€‹

Box.tag

Defined in โ€‹

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

โ€ข set tag(_value): void

Parameters โ€‹

NameType
_valuestring

Returns โ€‹

void

Implementation of โ€‹

IImageBox.tag

Inherited from โ€‹

Box.tag

Defined in โ€‹

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


innerName โ€‹

โ€ข get innerName(): string

Returns โ€‹

string

Implementation of โ€‹

IImageBox.innerName

Inherited from โ€‹

Box.innerName

Defined in โ€‹

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


__DataProcessor โ€‹

โ€ข get __DataProcessor(): typeof LeafData

Returns โ€‹

typeof LeafData

Implementation of โ€‹

IImageBox.__DataProcessor

Inherited from โ€‹

Box.__DataProcessor

Defined in โ€‹

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


__LayoutProcessor โ€‹

โ€ข get __LayoutProcessor(): typeof LeafLayout

Returns โ€‹

typeof LeafLayout

Implementation of โ€‹

IImageBox.__LayoutProcessor

Inherited from โ€‹

Box.__LayoutProcessor

Defined in โ€‹

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


leaferIsCreated โ€‹

โ€ข get leaferIsCreated(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.leaferIsCreated

Inherited from โ€‹

Box.leaferIsCreated

Defined in โ€‹

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


leaferIsReady โ€‹

โ€ข get leaferIsReady(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.leaferIsReady

Inherited from โ€‹

Box.leaferIsReady

Defined in โ€‹

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


isLeafer โ€‹

โ€ข get isLeafer(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.isLeafer

Inherited from โ€‹

Box.isLeafer

Defined in โ€‹

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


__localMatrix โ€‹

โ€ข get __localMatrix(): IMatrixData

Returns โ€‹

IMatrixData

Implementation of โ€‹

IImageBox.__localMatrix

Inherited from โ€‹

Box.__localMatrix

Defined in โ€‹

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


__localBoxBounds โ€‹

โ€ข get __localBoxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.__localBoxBounds

Inherited from โ€‹

Box.__localBoxBounds

Defined in โ€‹

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


worldTransform โ€‹

โ€ข get worldTransform(): IMatrixWithScaleData

Returns โ€‹

IMatrixWithScaleData

Implementation of โ€‹

IImageBox.worldTransform

Inherited from โ€‹

Box.worldTransform

Defined in โ€‹

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


localTransform โ€‹

โ€ข get localTransform(): IMatrixData

Returns โ€‹

IMatrixData

Implementation of โ€‹

IImageBox.localTransform

Inherited from โ€‹

Box.localTransform

Defined in โ€‹

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


scrollWorldTransform โ€‹

โ€ข get scrollWorldTransform(): IMatrixWithScaleData

Returns โ€‹

IMatrixWithScaleData

Implementation of โ€‹

IImageBox.scrollWorldTransform

Inherited from โ€‹

Box.scrollWorldTransform

Defined in โ€‹

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


boxBounds โ€‹

โ€ข get boxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.boxBounds

Inherited from โ€‹

Box.boxBounds

Defined in โ€‹

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


renderBounds โ€‹

โ€ข get renderBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.renderBounds

Inherited from โ€‹

Box.renderBounds

Defined in โ€‹

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


worldBoxBounds โ€‹

โ€ข get worldBoxBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.worldBoxBounds

Inherited from โ€‹

Box.worldBoxBounds

Defined in โ€‹

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


worldStrokeBounds โ€‹

โ€ข get worldStrokeBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.worldStrokeBounds

Inherited from โ€‹

Box.worldStrokeBounds

Defined in โ€‹

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


worldRenderBounds โ€‹

โ€ข get worldRenderBounds(): IBoundsData

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.worldRenderBounds

Inherited from โ€‹

Box.worldRenderBounds

Defined in โ€‹

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


worldOpacity โ€‹

โ€ข get worldOpacity(): number

Returns โ€‹

number

Implementation of โ€‹

IImageBox.worldOpacity

Inherited from โ€‹

Box.worldOpacity

Defined in โ€‹

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


__worldFlipped โ€‹

โ€ข get __worldFlipped(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__worldFlipped

Inherited from โ€‹

Box.__worldFlipped

Defined in โ€‹

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


__onlyHitMask โ€‹

โ€ข get __onlyHitMask(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__onlyHitMask

Inherited from โ€‹

Box.__onlyHitMask

Defined in โ€‹

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


__ignoreHitWorld โ€‹

โ€ข get __ignoreHitWorld(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__ignoreHitWorld

Inherited from โ€‹

Box.__ignoreHitWorld

Defined in โ€‹

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


__inLazyBounds โ€‹

โ€ข get __inLazyBounds(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__inLazyBounds

Inherited from โ€‹

Box.__inLazyBounds

Defined in โ€‹

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


pathInputed โ€‹

โ€ข get pathInputed(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.pathInputed

Inherited from โ€‹

Box.pathInputed

Defined in โ€‹

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


event โ€‹

โ€ข set event(map): void

Parameters โ€‹

NameType
mapIEventParamsMap

Returns โ€‹

void

Implementation of โ€‹

IImageBox.event

Inherited from โ€‹

Box.event

Defined in โ€‹

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


isBranchLeaf โ€‹

โ€ข get isBranchLeaf(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.isBranchLeaf

Inherited from โ€‹

Box.isBranchLeaf

Defined in โ€‹

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


isBranch โ€‹

โ€ข get isBranch(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.isBranch

Inherited from โ€‹

Box.isBranch

Defined in โ€‹

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


app โ€‹

โ€ข get app(): ILeafer

Returns โ€‹

ILeafer

Implementation of โ€‹

IImageBox.app

Inherited from โ€‹

Box.app

Defined in โ€‹

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


isFrame โ€‹

โ€ข get isFrame(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.isFrame

Inherited from โ€‹

Box.isFrame

Defined in โ€‹

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


strokeWidthFixed โ€‹

โ€ข get strokeWidthFixed(): IScaleFixed

Returns โ€‹

IScaleFixed

Inherited from โ€‹

Box.strokeWidthFixed

Defined in โ€‹

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

โ€ข set strokeWidthFixed(value): void

Parameters โ€‹

NameType
valueIScaleFixed

Returns โ€‹

void

Inherited from โ€‹

Box.strokeWidthFixed

Defined in โ€‹

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


scale โ€‹

โ€ข get scale(): number | IPointData

Returns โ€‹

number | IPointData

Implementation of โ€‹

IImageBox.scale

Inherited from โ€‹

Box.scale

Defined in โ€‹

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

โ€ข set scale(value): void

Parameters โ€‹

NameType
valuenumber | IPointData

Returns โ€‹

void

Implementation of โ€‹

IImageBox.scale

Inherited from โ€‹

Box.scale

Defined in โ€‹

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


isAutoWidth โ€‹

โ€ข get isAutoWidth(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.isAutoWidth

Inherited from โ€‹

Box.isAutoWidth

Defined in โ€‹

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


isAutoHeight โ€‹

โ€ข get isAutoHeight(): boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.isAutoHeight

Inherited from โ€‹

Box.isAutoHeight

Defined in โ€‹

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


pen โ€‹

โ€ข get pen(): IPathCreator

Returns โ€‹

IPathCreator

Implementation of โ€‹

IImageBox.pen

Inherited from โ€‹

Box.pen

Defined in โ€‹

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

Methods โ€‹

resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.resetCustom

Inherited from โ€‹

Box.resetCustom

Defined in โ€‹

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


waitParent โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IImageBox.waitParent

Inherited from โ€‹

Box.waitParent

Defined in โ€‹

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


waitLeafer โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Implementation of โ€‹

IImageBox.waitLeafer

Inherited from โ€‹

Box.waitLeafer

Defined in โ€‹

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


nextRender โ€‹

โ–ธ nextRender(item, bind?, off?): void

Parameters โ€‹

NameType
itemIFunction
bind?IObject
off?"off"

Returns โ€‹

void

Implementation of โ€‹

IImageBox.nextRender

Inherited from โ€‹

Box.nextRender

Defined in โ€‹

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


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Implementation of โ€‹

IImageBox.removeNextRender

Inherited from โ€‹

Box.removeNextRender

Defined in โ€‹

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


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__bindLeafer

Inherited from โ€‹

Box.__bindLeafer

Defined in โ€‹

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


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Implementation of โ€‹

IImageBox.setAttr

Inherited from โ€‹

Box.setAttr

Defined in โ€‹

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


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IImageBox.getAttr

Inherited from โ€‹

Box.getAttr

Defined in โ€‹

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


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Implementation of โ€‹

IImageBox.getComputedAttr

Inherited from โ€‹

Box.getComputedAttr

Defined in โ€‹

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


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Implementation of โ€‹

IImageBox.toString

Inherited from โ€‹

Box.toString

Defined in โ€‹

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


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Implementation of โ€‹

IImageBox.toSVG

Inherited from โ€‹

Box.toSVG

Defined in โ€‹

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


__SVG โ€‹

โ–ธ __SVG(_data): void

Parameters โ€‹

NameType
_dataIObject

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__SVG

Inherited from โ€‹

Box.__SVG

Defined in โ€‹

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


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Implementation of โ€‹

IImageBox.toHTML

Inherited from โ€‹

Box.toHTML

Defined in โ€‹

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


__setAttr โ€‹

โ–ธ __setAttr(_attrName, _newValue): boolean

Parameters โ€‹

NameType
_attrNamestring
_newValueIValue

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__setAttr

Inherited from โ€‹

Box.__setAttr

Defined in โ€‹

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


__getAttr โ€‹

โ–ธ __getAttr(_attrName): IValue

Parameters โ€‹

NameType
_attrNamestring

Returns โ€‹

IValue

Implementation of โ€‹

IImageBox.__getAttr

Inherited from โ€‹

Box.__getAttr

Defined in โ€‹

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


setProxyAttr โ€‹

โ–ธ setProxyAttr(_attrName, _newValue): void

Parameters โ€‹

NameType
_attrNamestring
_newValueIValue

Returns โ€‹

void

Implementation of โ€‹

IImageBox.setProxyAttr

Inherited from โ€‹

Box.setProxyAttr

Defined in โ€‹

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


getProxyAttr โ€‹

โ–ธ getProxyAttr(_attrName): IValue

Parameters โ€‹

NameType
_attrNamestring

Returns โ€‹

IValue

Implementation of โ€‹

IImageBox.getProxyAttr

Inherited from โ€‹

Box.getProxyAttr

Defined in โ€‹

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


focus โ€‹

โ–ธ focus(_value?): void

Parameters โ€‹

NameType
_value?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.focus

Inherited from โ€‹

Box.focus

Defined in โ€‹

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


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.updateState

Inherited from โ€‹

Box.updateState

Defined in โ€‹

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


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.updateLayout

Inherited from โ€‹

Box.updateLayout

Defined in โ€‹

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


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Implementation of โ€‹

IImageBox.forceUpdate

Inherited from โ€‹

Box.forceUpdate

Defined in โ€‹

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


forceRender โ€‹

โ–ธ forceRender(_bounds?, _sync?): void

Parameters โ€‹

NameType
_bounds?IBoundsData
_sync?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.forceRender

Inherited from โ€‹

Box.forceRender

Defined in โ€‹

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


__extraUpdate โ€‹

โ–ธ __extraUpdate(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__extraUpdate

Inherited from โ€‹

Box.__extraUpdate

Defined in โ€‹

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


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateWorldMatrix

Inherited from โ€‹

Box.__updateWorldMatrix

Defined in โ€‹

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


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateLocalMatrix

Inherited from โ€‹

Box.__updateLocalMatrix

Defined in โ€‹

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


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateWorldBounds

Inherited from โ€‹

Box.__updateWorldBounds

Defined in โ€‹

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


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateLocalBounds

Inherited from โ€‹

Box.__updateLocalBounds

Defined in โ€‹

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


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateLocalBoxBounds

Inherited from โ€‹

Box.__updateLocalBoxBounds

Defined in โ€‹

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


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateLocalStrokeBounds

Inherited from โ€‹

Box.__updateLocalStrokeBounds

Defined in โ€‹

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


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateLocalRenderBounds

Inherited from โ€‹

Box.__updateLocalRenderBounds

Defined in โ€‹

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


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateContentBounds

Inherited from โ€‹

Box.__updateContentBounds

Defined in โ€‹

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


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateAutoLayout

Inherited from โ€‹

Box.__updateAutoLayout

Defined in โ€‹

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


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateFlowLayout

Inherited from โ€‹

Box.__updateFlowLayout

Defined in โ€‹

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


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateNaturalSize

Inherited from โ€‹

Box.__updateNaturalSize

Defined in โ€‹

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


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateEraser

Inherited from โ€‹

Box.__updateEraser

Defined in โ€‹

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


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__renderEraser

Inherited from โ€‹

Box.__renderEraser

Defined in โ€‹

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


__updateMask โ€‹

โ–ธ __updateMask(_value?): void

Parameters โ€‹

NameType
_value?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateMask

Inherited from โ€‹

Box.__updateMask

Defined in โ€‹

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


__renderMask โ€‹

โ–ธ __renderMask(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__renderMask

Inherited from โ€‹

Box.__renderMask

Defined in โ€‹

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


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Implementation of โ€‹

IImageBox.__getNowWorld

Inherited from โ€‹

Box.__getNowWorld

Defined in โ€‹

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


getClampRenderScale โ€‹

โ–ธ getClampRenderScale(): number

Returns โ€‹

number

Implementation of โ€‹

IImageBox.getClampRenderScale

Inherited from โ€‹

Box.getClampRenderScale

Defined in โ€‹

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


getRenderScaleData โ€‹

โ–ธ getRenderScaleData(abs?, scaleFixed?, unscale?): IScaleData

Parameters โ€‹

NameTypeDefault value
abs?booleanundefined
scaleFixed?IScaleFixedundefined
unscalebooleantrue

Returns โ€‹

IScaleData

Implementation of โ€‹

IImageBox.getRenderScaleData

Inherited from โ€‹

Box.getRenderScaleData

Defined in โ€‹

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


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Implementation of โ€‹

IImageBox.getTransform

Inherited from โ€‹

Box.getTransform

Defined in โ€‹

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


getBounds โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.getBounds

Inherited from โ€‹

Box.getBounds

Defined in โ€‹

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


getLayoutBounds โ€‹

โ–ธ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters โ€‹

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

Returns โ€‹

ILayoutBoundsData

Implementation of โ€‹

IImageBox.getLayoutBounds

Inherited from โ€‹

Box.getLayoutBounds

Defined in โ€‹

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


getLayoutPoints โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IPointData[]

Implementation of โ€‹

IImageBox.getLayoutPoints

Inherited from โ€‹

Box.getLayoutPoints

Defined in โ€‹

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


getWorldBounds โ€‹

โ–ธ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters โ€‹

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns โ€‹

IBoundsData

Implementation of โ€‹

IImageBox.getWorldBounds

Inherited from โ€‹

Box.getWorldBounds

Defined in โ€‹

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


worldToLocal โ€‹

โ–ธ worldToLocal(world, to?, distance?, relative?): void

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IImageBox.worldToLocal

Inherited from โ€‹

Box.worldToLocal

Defined in โ€‹

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


localToWorld โ€‹

โ–ธ localToWorld(local, to?, distance?, relative?): void

Parameters โ€‹

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IImageBox.localToWorld

Inherited from โ€‹

Box.localToWorld

Defined in โ€‹

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


worldToInner โ€‹

โ–ธ worldToInner(world, to?, distance?, relative?): void

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IImageBox.worldToInner

Inherited from โ€‹

Box.worldToInner

Defined in โ€‹

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


innerToWorld โ€‹

โ–ธ innerToWorld(inner, to?, distance?, relative?): void

Parameters โ€‹

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Implementation of โ€‹

IImageBox.innerToWorld

Inherited from โ€‹

Box.innerToWorld

Defined in โ€‹

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


getBoxPoint โ€‹

โ–ธ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getBoxPoint

Inherited from โ€‹

Box.getBoxPoint

Defined in โ€‹

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


getBoxPointByInner โ€‹

โ–ธ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getBoxPointByInner

Inherited from โ€‹

Box.getBoxPointByInner

Defined in โ€‹

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


getInnerPoint โ€‹

โ–ธ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getInnerPoint

Inherited from โ€‹

Box.getInnerPoint

Defined in โ€‹

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


getInnerPointByBox โ€‹

โ–ธ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters โ€‹

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getInnerPointByBox

Inherited from โ€‹

Box.getInnerPointByBox

Defined in โ€‹

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


getInnerPointByLocal โ€‹

โ–ธ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getInnerPointByLocal

Inherited from โ€‹

Box.getInnerPointByLocal

Defined in โ€‹

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


getLocalPoint โ€‹

โ–ธ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getLocalPoint

Inherited from โ€‹

Box.getLocalPoint

Defined in โ€‹

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


getLocalPointByInner โ€‹

โ–ธ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getLocalPointByInner

Inherited from โ€‹

Box.getLocalPointByInner

Defined in โ€‹

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


getPagePoint โ€‹

โ–ธ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getPagePoint

Inherited from โ€‹

Box.getPagePoint

Defined in โ€‹

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


getWorldPoint โ€‹

โ–ธ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getWorldPoint

Inherited from โ€‹

Box.getWorldPoint

Defined in โ€‹

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


getWorldPointByBox โ€‹

โ–ธ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getWorldPointByBox

Inherited from โ€‹

Box.getWorldPointByBox

Defined in โ€‹

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


getWorldPointByLocal โ€‹

โ–ธ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getWorldPointByLocal

Inherited from โ€‹

Box.getWorldPointByLocal

Defined in โ€‹

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


getWorldPointByPage โ€‹

โ–ธ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters โ€‹

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Implementation of โ€‹

IImageBox.getWorldPointByPage

Inherited from โ€‹

Box.getWorldPointByPage

Defined in โ€‹

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


setTransform โ€‹

โ–ธ setTransform(matrix, resize?, transition?): void

Parameters โ€‹

NameType
matrixIMatrixData
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.setTransform

Inherited from โ€‹

Box.setTransform

Defined in โ€‹

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


transform โ€‹

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

Parameters โ€‹

NameType
matrixIMatrixData
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.transform

Inherited from โ€‹

Box.transform

Defined in โ€‹

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


move โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.move

Inherited from โ€‹

Box.move

Defined in โ€‹

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


moveInner โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.moveInner

Inherited from โ€‹

Box.moveInner

Defined in โ€‹

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


scaleOf โ€‹

โ–ธ scaleOf(origin, scaleX, scaleY?, resize?, transition?): void

Parameters โ€‹

NameType
originIPointData | IDirection
scaleXnumber
scaleY?ITransition
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.scaleOf

Inherited from โ€‹

Box.scaleOf

Defined in โ€‹

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


rotateOf โ€‹

โ–ธ rotateOf(origin, rotation, transition?): void

Parameters โ€‹

NameType
originIPointData | IDirection
rotationnumber
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.rotateOf

Inherited from โ€‹

Box.rotateOf

Defined in โ€‹

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


skewOf โ€‹

โ–ธ skewOf(origin, skewX, skewY?, resize?, transition?): void

Parameters โ€‹

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.skewOf

Inherited from โ€‹

Box.skewOf

Defined in โ€‹

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


transformWorld โ€‹

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

Parameters โ€‹

NameType
worldTransform?IMatrixData
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.transformWorld

Inherited from โ€‹

Box.transformWorld

Defined in โ€‹

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


moveWorld โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.moveWorld

Inherited from โ€‹

Box.moveWorld

Defined in โ€‹

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


scaleOfWorld โ€‹

โ–ธ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?, transition?): void

Parameters โ€‹

NameType
worldOriginIPointData
scaleXnumber
scaleY?ITransition
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.scaleOfWorld

Inherited from โ€‹

Box.scaleOfWorld

Defined in โ€‹

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


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Implementation of โ€‹

IImageBox.rotateOfWorld

Inherited from โ€‹

Box.rotateOfWorld

Defined in โ€‹

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


skewOfWorld โ€‹

โ–ธ skewOfWorld(worldOrigin, skewX, skewY?, resize?, transition?): void

Parameters โ€‹

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.skewOfWorld

Inherited from โ€‹

Box.skewOfWorld

Defined in โ€‹

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


flip โ€‹

โ–ธ flip(axis, transition?): void

Parameters โ€‹

NameType
axisIAxis
transition?ITransition

Returns โ€‹

void

Implementation of โ€‹

IImageBox.flip

Inherited from โ€‹

Box.flip

Defined in โ€‹

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


scaleResize โ€‹

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

Parameters โ€‹

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns โ€‹

void

Implementation of โ€‹

IImageBox.scaleResize

Inherited from โ€‹

Box.scaleResize

Defined in โ€‹

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


__scaleResize โ€‹

โ–ธ __scaleResize(_scaleX, _scaleY): void

Parameters โ€‹

NameType
_scaleXnumber
_scaleYnumber

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__scaleResize

Inherited from โ€‹

Box.__scaleResize

Defined in โ€‹

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


resizeWidth โ€‹

โ–ธ resizeWidth(_width): void

Parameters โ€‹

NameType
_widthnumber

Returns โ€‹

void

Implementation of โ€‹

IImageBox.resizeWidth

Inherited from โ€‹

Box.resizeWidth

Defined in โ€‹

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


resizeHeight โ€‹

โ–ธ resizeHeight(_height): void

Parameters โ€‹

NameType
_heightnumber

Returns โ€‹

void

Implementation of โ€‹

IImageBox.resizeHeight

Inherited from โ€‹

Box.resizeHeight

Defined in โ€‹

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


hit โ€‹

โ–ธ hit(_world, _hitRadius?): boolean

Parameters โ€‹

NameType
_worldIPointData
_hitRadius?number

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.hit

Inherited from โ€‹

Box.hit

Defined in โ€‹

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


__hitWorld โ€‹

โ–ธ __hitWorld(_point, _forceHitFill?): boolean

Parameters โ€‹

NameType
_pointIRadiusPointData
_forceHitFill?boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__hitWorld

Inherited from โ€‹

Box.__hitWorld

Defined in โ€‹

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


__hit โ€‹

โ–ธ __hit(_local, _forceHitFill?): boolean

Parameters โ€‹

NameType
_localIRadiusPointData
_forceHitFill?boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__hit

Inherited from โ€‹

Box.__hit

Defined in โ€‹

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


__hitFill โ€‹

โ–ธ __hitFill(_inner): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__hitFill

Inherited from โ€‹

Box.__hitFill

Defined in โ€‹

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


__hitStroke โ€‹

โ–ธ __hitStroke(_inner, _strokeWidth): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__hitStroke

Inherited from โ€‹

Box.__hitStroke

Defined in โ€‹

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


__hitPixel โ€‹

โ–ธ __hitPixel(_inner): boolean

Parameters โ€‹

NameType
_innerIRadiusPointData

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.__hitPixel

Inherited from โ€‹

Box.__hitPixel

Defined in โ€‹

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


__drawHitPath โ€‹

โ–ธ __drawHitPath(_canvas): void

Parameters โ€‹

NameType
_canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawHitPath

Inherited from โ€‹

Box.__drawHitPath

Defined in โ€‹

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


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateHitCanvas

Inherited from โ€‹

Box.__updateHitCanvas

Defined in โ€‹

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


__drawFast โ€‹

โ–ธ __drawFast(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawFast

Inherited from โ€‹

Box.__drawFast

Defined in โ€‹

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


__draw โ€‹

โ–ธ __draw(_canvas, _options, _originCanvas?): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_originCanvas?ILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__draw

Inherited from โ€‹

Box.__draw

Defined in โ€‹

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


__clip โ€‹

โ–ธ __clip(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__clip

Inherited from โ€‹

Box.__clip

Defined in โ€‹

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


__renderShape โ€‹

โ–ธ __renderShape(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__renderShape

Inherited from โ€‹

Box.__renderShape

Defined in โ€‹

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


__drawShape โ€‹

โ–ธ __drawShape(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawShape

Inherited from โ€‹

Box.__drawShape

Defined in โ€‹

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


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateWorldOpacity

Inherited from โ€‹

Box.__updateWorldOpacity

Defined in โ€‹

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


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updatePath

Inherited from โ€‹

Box.__updatePath

Defined in โ€‹

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


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Implementation of โ€‹

IImageBox.getMotionPathData

Inherited from โ€‹

Box.getMotionPathData

Defined in โ€‹

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


getMotionPoint โ€‹

โ–ธ getMotionPoint(_motionDistance): IRotationPointData

Parameters โ€‹

NameType
_motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Implementation of โ€‹

IImageBox.getMotionPoint

Inherited from โ€‹

Box.getMotionPoint

Defined in โ€‹

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


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Implementation of โ€‹

IImageBox.getMotionTotal

Inherited from โ€‹

Box.getMotionTotal

Defined in โ€‹

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


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateMotionPath

Inherited from โ€‹

Box.__updateMotionPath

Defined in โ€‹

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


__runAnimation โ€‹

โ–ธ __runAnimation(_type, _complete?): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__runAnimation

Inherited from โ€‹

Box.__runAnimation

Defined in โ€‹

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


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateSortChildren

Inherited from โ€‹

Box.__updateSortChildren

Defined in โ€‹

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


dropTo โ€‹

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

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.dropTo

Inherited from โ€‹

Box.dropTo

Defined in โ€‹

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


on โ€‹

โ–ธ on(_type, _listener?, _options?): void

Parameters โ€‹

NameType
_typestring | string[] | IEventParamsMap | IEventParams[]
_listener?IFunction
_options?IEventOption

Returns โ€‹

void

Implementation of โ€‹

IImageBox.on

Inherited from โ€‹

Box.on

Defined in โ€‹

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


off โ€‹

โ–ธ off(_type?, _listener?, _options?): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.off

Inherited from โ€‹

Box.off

Defined in โ€‹

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


on_ โ€‹

โ–ธ on_(_type, _listener?, _bind?, _options?): IEventListenerId

Parameters โ€‹

NameType
_typestring | string[] | IEventParams[]
_listener?IFunction
_bind?IObject
_options?IEventOption

Returns โ€‹

IEventListenerId

Implementation of โ€‹

IImageBox.on_

Inherited from โ€‹

Box.on_

Defined in โ€‹

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


off_ โ€‹

โ–ธ off_(_id): void

Parameters โ€‹

NameType
_idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Implementation of โ€‹

IImageBox.off_

Inherited from โ€‹

Box.off_

Defined in โ€‹

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


once โ€‹

โ–ธ once(_type, _listener?, _captureOrBind?, _capture?): void

Parameters โ€‹

NameType
_typestring | string[] | IEventParams[]
_listener?IFunction
_captureOrBind?boolean | IObject
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.once

Inherited from โ€‹

Box.once

Defined in โ€‹

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


emit โ€‹

โ–ธ emit(_type, _event?, _capture?): void

Parameters โ€‹

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.emit

Inherited from โ€‹

Box.emit

Defined in โ€‹

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


emitEvent โ€‹

โ–ธ emitEvent(_event?, _capture?): void

Parameters โ€‹

NameType
_event?IEvent
_capture?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.emitEvent

Inherited from โ€‹

Box.emitEvent

Defined in โ€‹

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


hasEvent โ€‹

โ–ธ hasEvent(_type, _capture?): boolean

Parameters โ€‹

NameType
_typestring
_capture?boolean

Returns โ€‹

boolean

Implementation of โ€‹

IImageBox.hasEvent

Inherited from โ€‹

Box.hasEvent

Defined in โ€‹

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


changeAttr โ€‹

โ–ธ changeAttr(attrName, defaultValue, fn?): void

Parameters โ€‹

NameType
attrNamestring
defaultValueIValueFunction | IValue
fn?IAttrDecorator

Returns โ€‹

void

Inherited from โ€‹

Box.changeAttr

Defined in โ€‹

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


addAttr โ€‹

โ–ธ addAttr(attrName, defaultValue, fn?, helpValue?): void

Parameters โ€‹

NameType
attrNamestring
defaultValueIValueFunction | IValue
fn?IAttrDecorator
helpValue?IValue

Returns โ€‹

void

Inherited from โ€‹

Box.addAttr

Defined in โ€‹

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


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__emitLifeEvent

Inherited from โ€‹

Box.__emitLifeEvent

Defined in โ€‹

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


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): IFourNumber

Returns โ€‹

IFourNumber

Implementation of โ€‹

IImageBox.__updateStrokeSpread

Inherited from โ€‹

Box.__updateStrokeSpread

Defined in โ€‹

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


__updateRectRenderSpread โ€‹

โ–ธ __updateRectRenderSpread(): IFourNumber

Returns โ€‹

IFourNumber

Inherited from โ€‹

Box.__updateRectRenderSpread

Defined in โ€‹

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


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): IFourNumber

Returns โ€‹

IFourNumber

Implementation of โ€‹

IImageBox.__updateRenderSpread

Inherited from โ€‹

Box.__updateRenderSpread

Defined in โ€‹

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


__updateRectBoxBounds โ€‹

โ–ธ __updateRectBoxBounds(): void

Returns โ€‹

void

Inherited from โ€‹

Box.__updateRectBoxBounds

Defined in โ€‹

src/ui/packages/display/src/Box.ts:66


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(_secondLayout?): void

Parameters โ€‹

NameType
_secondLayout?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateBoxBounds

Inherited from โ€‹

Box.__updateBoxBounds

Defined in โ€‹

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


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateStrokeBounds

Inherited from โ€‹

Box.__updateStrokeBounds

Defined in โ€‹

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


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateRenderBounds

Inherited from โ€‹

Box.__updateRenderBounds

Defined in โ€‹

src/ui/packages/display/src/Box.ts:103


__updateRectRenderBounds โ€‹

โ–ธ __updateRectRenderBounds(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateRectRenderBounds

Inherited from โ€‹

Box.__updateRectRenderBounds

Defined in โ€‹

src/ui/packages/display/src/Box.ts:129


__checkScroll โ€‹

โ–ธ __checkScroll(_isScrollMode): void

Parameters โ€‹

NameType
_isScrollModeboolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__checkScroll

Inherited from โ€‹

Box.__checkScroll

Defined in โ€‹

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


__updateRectChange โ€‹

โ–ธ __updateRectChange(): void

Returns โ€‹

void

Inherited from โ€‹

Box.__updateRectChange

Defined in โ€‹

src/ui/packages/display/src/Box.ts:137


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateChange

Inherited from โ€‹

Box.__updateChange

Defined in โ€‹

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


__renderRect โ€‹

โ–ธ __renderRect(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

Box.__renderRect

Defined in โ€‹

src/ui/packages/display/src/Box.ts:146


__renderGroup โ€‹

โ–ธ __renderGroup(_canvas, _options): void

Parameters โ€‹

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__renderGroup

Inherited from โ€‹

Box.__renderGroup

Defined in โ€‹

src/ui/packages/display/src/Box.ts:149


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__render

Inherited from โ€‹

Box.__render

Defined in โ€‹

src/ui/packages/display/src/Box.ts:152


__drawContent โ€‹

โ–ธ __drawContent(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawContent

Inherited from โ€‹

Box.__drawContent

Defined in โ€‹

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


reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?IGroupInputData

Returns โ€‹

void

Implementation of โ€‹

IImageBox.reset

Inherited from โ€‹

Box.reset

Defined in โ€‹

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


__setBranch โ€‹

โ–ธ __setBranch(): void

Returns โ€‹

void

Inherited from โ€‹

Box.__setBranch

Defined in โ€‹

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


set โ€‹

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

Parameters โ€‹

NameType
dataIUIInputData
transition?ITransition | "temp"

Returns โ€‹

void

Implementation of โ€‹

IImageBox.set

Inherited from โ€‹

Box.set

Defined in โ€‹

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


toJSON โ€‹

โ–ธ toJSON(options?): IUIJSONData

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IUIJSONData

Implementation of โ€‹

IImageBox.toJSON

Inherited from โ€‹

Box.toJSON

Defined in โ€‹

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


pick โ€‹

โ–ธ pick(_hitPoint, _options?): IPickResult

Parameters โ€‹

NameType
_hitPointIPointData
_options?IPickOptions

Returns โ€‹

IPickResult

Implementation of โ€‹

IImageBox.pick

Inherited from โ€‹

Box.pick

Defined in โ€‹

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


addAt โ€‹

โ–ธ addAt(child, index): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.addAt

Inherited from โ€‹

Box.addAt

Defined in โ€‹

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


addAfter โ€‹

โ–ธ addAfter(child, after): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.addAfter

Inherited from โ€‹

Box.addAfter

Defined in โ€‹

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


addBefore โ€‹

โ–ธ addBefore(child, before): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.addBefore

Inherited from โ€‹

Box.addBefore

Defined in โ€‹

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


add โ€‹

โ–ธ add(_child, _index?): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.add

Inherited from โ€‹

Box.add

Defined in โ€‹

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


addMany โ€‹

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

Parameters โ€‹

NameType
..._childrenIUI[] | IUIInputData[]

Returns โ€‹

void

Implementation of โ€‹

IImageBox.addMany

Inherited from โ€‹

Box.addMany

Defined in โ€‹

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


remove โ€‹

โ–ธ remove(_child?, _destroy?): void

Parameters โ€‹

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

Returns โ€‹

void

Implementation of โ€‹

IImageBox.remove

Inherited from โ€‹

Box.remove

Defined in โ€‹

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


removeAll โ€‹

โ–ธ removeAll(_destroy?): void

Parameters โ€‹

NameType
_destroy?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.removeAll

Inherited from โ€‹

Box.removeAll

Defined in โ€‹

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


clear โ€‹

โ–ธ clear(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.clear

Inherited from โ€‹

Box.clear

Defined in โ€‹

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


get โ€‹

โ–ธ get<K>(name?): IUIInputData | ImageBox<TInputData>[K]

Type parameters โ€‹

NameType
Kextends keyof ImageBox<TInputData>

Parameters โ€‹

NameType
name?IUIInputData | K | K[]

Returns โ€‹

IUIInputData | ImageBox<TInputData>[K]

Implementation of โ€‹

IImageBox.get

Inherited from โ€‹

Box.get

Defined in โ€‹

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


createProxyData โ€‹

โ–ธ createProxyData(): IUIInputData

Returns โ€‹

IUIInputData

Implementation of โ€‹

IImageBox.createProxyData

Inherited from โ€‹

Box.createProxyData

Defined in โ€‹

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


find โ€‹

โ–ธ find(_condition, _options?): IUI[]

Parameters โ€‹

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns โ€‹

IUI[]

Implementation of โ€‹

IImageBox.find

Inherited from โ€‹

Box.find

Defined in โ€‹

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


findTag โ€‹

โ–ธ findTag(tag): IUI[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

IUI[]

Implementation of โ€‹

IImageBox.findTag

Inherited from โ€‹

Box.findTag

Defined in โ€‹

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


findOne โ€‹

โ–ธ findOne(_condition, _options?): IUI

Parameters โ€‹

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns โ€‹

IUI

Implementation of โ€‹

IImageBox.findOne

Inherited from โ€‹

Box.findOne

Defined in โ€‹

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


findId โ€‹

โ–ธ findId(id): IUI

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

IUI

Implementation of โ€‹

IImageBox.findId

Inherited from โ€‹

Box.findId

Defined in โ€‹

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


getPath โ€‹

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

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

IPathCommandData

Implementation of โ€‹

IImageBox.getPath

Inherited from โ€‹

Box.getPath

Defined in โ€‹

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


getPathString โ€‹

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

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns โ€‹

string

Implementation of โ€‹

IImageBox.getPathString

Inherited from โ€‹

Box.getPathString

Defined in โ€‹

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


asPath โ€‹

โ–ธ asPath(curve?, pathForRender?): void

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.asPath

Inherited from โ€‹

Box.asPath

Defined in โ€‹

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


load โ€‹

โ–ธ load(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.load

Inherited from โ€‹

Box.load

Defined in โ€‹

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


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__onUpdateSize

Inherited from โ€‹

Box.__onUpdateSize

Defined in โ€‹

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


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(updateCache?): void

Parameters โ€‹

NameType
updateCache?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__updateRenderPath

Inherited from โ€‹

Box.__updateRenderPath

Defined in โ€‹

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


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawRenderPath

Inherited from โ€‹

Box.__drawRenderPath

Defined in โ€‹

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


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawPath

Inherited from โ€‹

Box.__drawPath

Defined in โ€‹

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


__drawPathByData โ€‹

โ–ธ __drawPathByData(drawer, data, ignoreCornerRadius?): void

Parameters โ€‹

NameType
drawerIPathDrawer
dataIPathCommandData
ignoreCornerRadius?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawPathByData

Inherited from โ€‹

Box.__drawPathByData

Defined in โ€‹

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


__drawPathByBox โ€‹

โ–ธ __drawPathByBox(drawer, ignoreCornerRadius?): void

Parameters โ€‹

NameType
drawerIPathDrawer
ignoreCornerRadius?boolean

Returns โ€‹

void

Implementation of โ€‹

IImageBox.__drawPathByBox

Inherited from โ€‹

Box.__drawPathByBox

Defined in โ€‹

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


drawImagePlaceholder โ€‹

โ–ธ drawImagePlaceholder(_paint, canvas, renderOptions): void

Parameters โ€‹

NameType
_paintILeafPaint
canvasILeaferCanvas
renderOptionsIRenderOptions

Returns โ€‹

void

Implementation of โ€‹

IImageBox.drawImagePlaceholder

Inherited from โ€‹

Box.drawImagePlaceholder

Defined in โ€‹

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


animate โ€‹

โ–ธ animate(keyframe?, _options?, _type?, _isTemp?): IAnimate

Parameters โ€‹

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

Returns โ€‹

IAnimate

Implementation of โ€‹

IImageBox.animate

Inherited from โ€‹

Box.animate

Defined in โ€‹

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


killAnimate โ€‹

โ–ธ killAnimate(_type?, _nextStyle?): void

Parameters โ€‹

NameType
_type?IAnimateType
_nextStyle?IUIInputData

Returns โ€‹

void

Implementation of โ€‹

IImageBox.killAnimate

Inherited from โ€‹

Box.killAnimate

Defined in โ€‹

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


export โ€‹

โ–ธ export(_filename, _options?): Promise<IExportResult>

Parameters โ€‹

NameType
_filenamestring
_options?number | boolean | IExportOptions

Returns โ€‹

Promise<IExportResult>

Implementation of โ€‹

IImageBox.export

Inherited from โ€‹

Box.export

Defined in โ€‹

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


syncExport โ€‹

โ–ธ syncExport(_filename, _options?): IExportResult

Parameters โ€‹

NameType
_filenamestring
_options?number | boolean | IExportOptions

Returns โ€‹

IExportResult

Implementation of โ€‹

IImageBox.syncExport

Inherited from โ€‹

Box.syncExport

Defined in โ€‹

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


clone โ€‹

โ–ธ clone(data?): this

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

this

Implementation of โ€‹

IImageBox.clone

Inherited from โ€‹

Box.clone

Defined in โ€‹

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


one โ€‹

โ–ธ one<T>(this, data, x?, y?, width?, height?): T

Type parameters โ€‹

NameType
Textends UI<IUIInputData>

Parameters โ€‹

NameType
this(...args: any[]) => T
dataIUIInputData
x?number
y?number
width?number
height?number

Returns โ€‹

T

Inherited from โ€‹

Box.one

Defined in โ€‹

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


registerUI โ€‹

โ–ธ registerUI(): void

Returns โ€‹

void

Inherited from โ€‹

Box.registerUI

Defined in โ€‹

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


registerData โ€‹

โ–ธ registerData(data): void

Parameters โ€‹

NameType
dataIUIData

Returns โ€‹

void

Inherited from โ€‹

Box.registerData

Defined in โ€‹

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


setEditConfig โ€‹

โ–ธ setEditConfig(_config): void

Parameters โ€‹

NameType
_configIEditorConfig | IEditorConfigFunction

Returns โ€‹

void

Inherited from โ€‹

Box.setEditConfig

Defined in โ€‹

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


setEditOuter โ€‹

โ–ธ setEditOuter(_toolName): void

Parameters โ€‹

NameType
_toolNamestring | IEditToolFunction

Returns โ€‹

void

Inherited from โ€‹

Box.setEditOuter

Defined in โ€‹

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


setEditInner โ€‹

โ–ธ setEditInner(_editorName): void

Parameters โ€‹

NameType
_editorNamestring | IEditToolFunction

Returns โ€‹

void

Inherited from โ€‹

Box.setEditInner

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Implementation of โ€‹

IImageBox.destroy

Inherited from โ€‹

Box.destroy

Defined in โ€‹

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

Released under the MIT License.