Skip to content

Interface: IFrame โ€‹

Hierarchy โ€‹

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

IBox.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

IBox.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

IBox.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

IBox.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

IBox.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

IBox.visible

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

IBox.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

IBox.disabled

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

IBox.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

IBox.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

IBox.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

IBox.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

IBox.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

IBox.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

IBox.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

IBox.height

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

IBox.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

IBox.scaleY

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

IBox.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

IBox.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

IBox.skewY

Defined in โ€‹

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


scale โ€‹

โ€ข Optional scale: number | IPointData

Inherited from โ€‹

IBox.scale

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

IBox.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

IBox.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

IBox.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

IBox.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

IBox.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

IBox.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

IBox.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

IBox.pixelRatio

Defined in โ€‹

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


path โ€‹

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

Inherited from โ€‹

IBox.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

IBox.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

IBox.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

IBox.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

IBox.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

IBox.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

IBox.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

IBox.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

IBox.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

IBox.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

IBox.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

IBox.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

IBox.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

IBox.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

IBox.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

IBox.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

IBox.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

IBox.dragBounds

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

IBox.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

IBox.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

IBox.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

IBox.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

IBox.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

IBox.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

IBox.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

IBox.hitRadius

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

IBox.button

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

IBox.cursor

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

IBox.motionPath

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

IBox.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

IBox.motionRotation

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

IBox.normalStyle

Defined in โ€‹

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


event โ€‹

โ€ข Optional event: IEventMap

Inherited from โ€‹

IBox.event

Defined in โ€‹

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


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

IBox.data

Defined in โ€‹

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


noBounds โ€‹

โ€ข Optional noBounds: boolean

Inherited from โ€‹

IBox.noBounds

Defined in โ€‹

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


tag โ€‹

โ€ข tag: string

Inherited from โ€‹

IBox.tag

Defined in โ€‹

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


__tag โ€‹

โ€ข Readonly __tag: string

Inherited from โ€‹

IBox.__tag

Defined in โ€‹

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


innerName โ€‹

โ€ข Readonly innerName: string

Inherited from โ€‹

IBox.innerName

Defined in โ€‹

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


__DataProcessor โ€‹

โ€ข Readonly __DataProcessor: IObject

Inherited from โ€‹

IBox.__DataProcessor

Defined in โ€‹

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


__LayoutProcessor โ€‹

โ€ข Readonly __LayoutProcessor: IObject

Inherited from โ€‹

IBox.__LayoutProcessor

Defined in โ€‹

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


leaferIsCreated โ€‹

โ€ข Readonly leaferIsCreated: boolean

Inherited from โ€‹

IBox.leaferIsCreated

Defined in โ€‹

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


leaferIsReady โ€‹

โ€ข Readonly leaferIsReady: boolean

Inherited from โ€‹

IBox.leaferIsReady

Defined in โ€‹

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


isApp โ€‹

โ€ข Optional Readonly isApp: boolean

Inherited from โ€‹

IBox.isApp

Defined in โ€‹

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


isLeafer โ€‹

โ€ข Optional Readonly isLeafer: boolean

Inherited from โ€‹

IBox.isLeafer

Defined in โ€‹

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


isBranch โ€‹

โ€ข Optional Readonly isBranch: boolean

Inherited from โ€‹

IBox.isBranch

Defined in โ€‹

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


isBranchLeaf โ€‹

โ€ข Optional Readonly isBranchLeaf: boolean

Inherited from โ€‹

IBox.isBranchLeaf

Defined in โ€‹

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


isOutside โ€‹

โ€ข Optional Readonly isOutside: boolean

Inherited from โ€‹

IBox.isOutside

Defined in โ€‹

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


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Inherited from โ€‹

IBox.syncEventer

Defined in โ€‹

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


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Inherited from โ€‹

IBox.lockNormalStyle

Defined in โ€‹

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


__layout โ€‹

โ€ข __layout: ILeafLayout

Inherited from โ€‹

IBox.__layout

Defined in โ€‹

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


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Inherited from โ€‹

IBox.__world

Defined in โ€‹

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


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Inherited from โ€‹

IBox.__local

Defined in โ€‹

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


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

IBox.__nowWorld

Defined in โ€‹

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


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

IBox.__cameraWorld

Defined in โ€‹

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


__localMatrix โ€‹

โ€ข Readonly __localMatrix: IMatrixData

Inherited from โ€‹

IBox.__localMatrix

Defined in โ€‹

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


__localBoxBounds โ€‹

โ€ข Readonly __localBoxBounds: IBoundsData

Inherited from โ€‹

IBox.__localBoxBounds

Defined in โ€‹

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


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Inherited from โ€‹

IBox.__worldOpacity

Defined in โ€‹

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


worldTransform โ€‹

โ€ข Readonly worldTransform: IMatrixWithScaleData

Inherited from โ€‹

IBox.worldTransform

Defined in โ€‹

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


localTransform โ€‹

โ€ข Readonly localTransform: IMatrixData

Inherited from โ€‹

IBox.localTransform

Defined in โ€‹

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


boxBounds โ€‹

โ€ข Readonly boxBounds: IBoundsData

Inherited from โ€‹

IBox.boxBounds

Defined in โ€‹

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


renderBounds โ€‹

โ€ข Readonly renderBounds: IBoundsData

Inherited from โ€‹

IBox.renderBounds

Defined in โ€‹

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


worldBoxBounds โ€‹

โ€ข Readonly worldBoxBounds: IBoundsData

Inherited from โ€‹

IBox.worldBoxBounds

Defined in โ€‹

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


worldStrokeBounds โ€‹

โ€ข Readonly worldStrokeBounds: IBoundsData

Inherited from โ€‹

IBox.worldStrokeBounds

Defined in โ€‹

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


worldRenderBounds โ€‹

โ€ข Readonly worldRenderBounds: IBoundsData

Inherited from โ€‹

IBox.worldRenderBounds

Defined in โ€‹

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


worldOpacity โ€‹

โ€ข Readonly worldOpacity: number

Inherited from โ€‹

IBox.worldOpacity

Defined in โ€‹

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


__level โ€‹

โ€ข __level: number

Inherited from โ€‹

IBox.__level

Defined in โ€‹

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


__tempNumber โ€‹

โ€ข Optional __tempNumber: number

Inherited from โ€‹

IBox.__tempNumber

Defined in โ€‹

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


__worldFlipped โ€‹

โ€ข Readonly __worldFlipped: boolean

Inherited from โ€‹

IBox.__worldFlipped

Defined in โ€‹

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


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Inherited from โ€‹

IBox.__hasAutoLayout

Defined in โ€‹

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


__hasMotionPath โ€‹

โ€ข Optional __hasMotionPath: boolean

Inherited from โ€‹

IBox.__hasMotionPath

Defined in โ€‹

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


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Inherited from โ€‹

IBox.__hasMask

Defined in โ€‹

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


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Inherited from โ€‹

IBox.__hasEraser

Defined in โ€‹

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


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Inherited from โ€‹

IBox.__hitCanvas

Defined in โ€‹

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


__flowBounds โ€‹

โ€ข Optional __flowBounds: IBoundsData

Inherited from โ€‹

IBox.__flowBounds

Defined in โ€‹

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


__widthGrow โ€‹

โ€ข Optional __widthGrow: number

Inherited from โ€‹

IBox.__widthGrow

Defined in โ€‹

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


__heightGrow โ€‹

โ€ข Optional __heightGrow: number

Inherited from โ€‹

IBox.__heightGrow

Defined in โ€‹

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


__hasGrow โ€‹

โ€ข Optional __hasGrow: boolean

Inherited from โ€‹

IBox.__hasGrow

Defined in โ€‹

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


__onlyHitMask โ€‹

โ€ข Readonly __onlyHitMask: boolean

Inherited from โ€‹

IBox.__onlyHitMask

Defined in โ€‹

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


__ignoreHitWorld โ€‹

โ€ข Readonly __ignoreHitWorld: boolean

Inherited from โ€‹

IBox.__ignoreHitWorld

Defined in โ€‹

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


__inLazyBounds โ€‹

โ€ข Readonly __inLazyBounds: boolean

Inherited from โ€‹

IBox.__inLazyBounds

Defined in โ€‹

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


pathInputed โ€‹

โ€ข Readonly pathInputed: boolean

Inherited from โ€‹

IBox.pathInputed

Defined in โ€‹

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


destroyed โ€‹

โ€ข destroyed: boolean

Inherited from โ€‹

IBox.destroyed

Defined in โ€‹

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


innerId โ€‹

โ€ข Readonly innerId: number

Inherited from โ€‹

IBox.innerId

Defined in โ€‹

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


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Inherited from โ€‹

IBox.__captureMap

Defined in โ€‹

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


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Inherited from โ€‹

IBox.__bubbleMap

Defined in โ€‹

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


cornerRadius โ€‹

โ€ข Optional cornerRadius: string | IFourNumber

Inherited from โ€‹

IBox.cornerRadius

Defined in โ€‹

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


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Inherited from โ€‹

IBox.cornerSmoothing

Defined in โ€‹

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


fill โ€‹

โ€ข Optional fill: IFill

Inherited from โ€‹

IBox.fill

Defined in โ€‹

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


stroke โ€‹

โ€ข Optional stroke: IStroke

Inherited from โ€‹

IBox.stroke

Defined in โ€‹

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


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Inherited from โ€‹

IBox.strokeAlign

Defined in โ€‹

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


strokeWidth โ€‹

โ€ข Optional strokeWidth: string | IFourNumber

Inherited from โ€‹

IBox.strokeWidth

Defined in โ€‹

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


strokeWidthFixed โ€‹

โ€ข Optional strokeWidthFixed: boolean

Inherited from โ€‹

IBox.strokeWidthFixed

Defined in โ€‹

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


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Inherited from โ€‹

IBox.strokeCap

Defined in โ€‹

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


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Inherited from โ€‹

IBox.strokeJoin

Defined in โ€‹

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


dashPattern โ€‹

โ€ข Optional dashPattern: string | number[]

Inherited from โ€‹

IBox.dashPattern

Defined in โ€‹

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


dashOffset โ€‹

โ€ข Optional dashOffset: number

Inherited from โ€‹

IBox.dashOffset

Defined in โ€‹

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


miterLimit โ€‹

โ€ข Optional miterLimit: number

Inherited from โ€‹

IBox.miterLimit

Defined in โ€‹

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


startArrow โ€‹

โ€ข Optional startArrow: IArrowType

Inherited from โ€‹

IBox.startArrow

Defined in โ€‹

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


endArrow โ€‹

โ€ข Optional endArrow: IArrowType

Inherited from โ€‹

IBox.endArrow

Defined in โ€‹

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


shadow โ€‹

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

Inherited from โ€‹

IBox.shadow

Defined in โ€‹

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


innerShadow โ€‹

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

Inherited from โ€‹

IBox.innerShadow

Defined in โ€‹

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


blur โ€‹

โ€ข Optional blur: number | IBlurEffect

Inherited from โ€‹

IBox.blur

Defined in โ€‹

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


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number | IBlurEffect

Inherited from โ€‹

IBox.backgroundBlur

Defined in โ€‹

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


grayscale โ€‹

โ€ข Optional grayscale: number | IGrayscaleEffect

Inherited from โ€‹

IBox.grayscale

Defined in โ€‹

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


__ โ€‹

โ€ข __: IFrameData

Overrides โ€‹

IBox.__

Defined in โ€‹

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


overflow โ€‹

โ€ข Optional overflow: IOverflow

Inherited from โ€‹

IBox.overflow

Defined in โ€‹

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


resizeChildren โ€‹

โ€ข Optional resizeChildren: boolean

Inherited from โ€‹

IBox.resizeChildren

Defined in โ€‹

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


textBox โ€‹

โ€ข Optional textBox: boolean

Inherited from โ€‹

IBox.textBox

Defined in โ€‹

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


children โ€‹

โ€ข children: IUI[]

Inherited from โ€‹

IBox.children

Defined in โ€‹

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


app โ€‹

โ€ข Readonly app: ILeafer

Inherited from โ€‹

IBox.app

Defined in โ€‹

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


leafer โ€‹

โ€ข Optional leafer: ILeafer

Inherited from โ€‹

IBox.leafer

Defined in โ€‹

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


parent โ€‹

โ€ข Optional parent: IGroup

Inherited from โ€‹

IBox.parent

Defined in โ€‹

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


zoomLayer โ€‹

โ€ข Optional zoomLayer: IGroup

Inherited from โ€‹

IBox.zoomLayer

Defined in โ€‹

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


isFrame โ€‹

โ€ข Optional Readonly isFrame: boolean

Inherited from โ€‹

IBox.isFrame

Defined in โ€‹

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


isOverflow โ€‹

โ€ข Optional isOverflow: boolean

Inherited from โ€‹

IBox.isOverflow

Defined in โ€‹

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


proxyData โ€‹

โ€ข Optional proxyData: IUIInputData

Inherited from โ€‹

IBox.proxyData

Defined in โ€‹

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


__proxyData โ€‹

โ€ข Optional __proxyData: IUIInputData

Inherited from โ€‹

IBox.__proxyData

Defined in โ€‹

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


animation โ€‹

โ€ข Optional animation: IAnimation

Inherited from โ€‹

IBox.animation

Defined in โ€‹

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


animationOut โ€‹

โ€ข Optional animationOut: IAnimation

Inherited from โ€‹

IBox.animationOut

Defined in โ€‹

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


editConfig โ€‹

โ€ข Optional editConfig: IEditorConfig

Inherited from โ€‹

IBox.editConfig

Defined in โ€‹

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


editOuter โ€‹

โ€ข editOuter: string

Inherited from โ€‹

IBox.editOuter

Defined in โ€‹

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


editInner โ€‹

โ€ข editInner: string

Inherited from โ€‹

IBox.editInner

Defined in โ€‹

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


__animate โ€‹

โ€ข Optional __animate: IAnimate

Inherited from โ€‹

IBox.__animate

Defined in โ€‹

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


pen โ€‹

โ€ข Readonly pen: IPathCreator

Inherited from โ€‹

IBox.pen

Defined in โ€‹

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


transition โ€‹

โ€ข Optional transition: ITransition

Inherited from โ€‹

IBox.transition

Defined in โ€‹

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


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Inherited from โ€‹

IBox.transitionOut

Defined in โ€‹

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


states โ€‹

โ€ข Optional states: IStates

Inherited from โ€‹

IBox.states

Defined in โ€‹

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


state โ€‹

โ€ข Optional state: string

Inherited from โ€‹

IBox.state

Defined in โ€‹

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


hoverStyle โ€‹

โ€ข Optional hoverStyle: IStateStyle

Inherited from โ€‹

IBox.hoverStyle

Defined in โ€‹

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


pressStyle โ€‹

โ€ข Optional pressStyle: IStateStyle

Inherited from โ€‹

IBox.pressStyle

Defined in โ€‹

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


focusStyle โ€‹

โ€ข Optional focusStyle: IStateStyle

Inherited from โ€‹

IBox.focusStyle

Defined in โ€‹

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


selectedStyle โ€‹

โ€ข Optional selectedStyle: IStateStyle

Inherited from โ€‹

IBox.selectedStyle

Defined in โ€‹

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


disabledStyle โ€‹

โ€ข Optional disabledStyle: IStateStyle

Inherited from โ€‹

IBox.disabledStyle

Defined in โ€‹

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

Methods โ€‹

resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.resetCustom

Defined in โ€‹

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


waitParent โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

IBox.waitParent

Defined in โ€‹

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


waitLeafer โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject

Returns โ€‹

void

Inherited from โ€‹

IBox.waitLeafer

Defined in โ€‹

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


nextRender โ€‹

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

Parameters โ€‹

NameType
itemIFunction
bind?IObject
off?"off"

Returns โ€‹

void

Inherited from โ€‹

IBox.nextRender

Defined in โ€‹

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


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Inherited from โ€‹

IBox.removeNextRender

Defined in โ€‹

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


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Inherited from โ€‹

IBox.__bindLeafer

Defined in โ€‹

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


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

IBox.setAttr

Defined in โ€‹

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


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IBox.getAttr

Defined in โ€‹

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


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IBox.getComputedAttr

Defined in โ€‹

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


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Inherited from โ€‹

IBox.toString

Defined in โ€‹

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


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Inherited from โ€‹

IBox.toSVG

Defined in โ€‹

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


__SVG โ€‹

โ–ธ __SVG(data): void

Parameters โ€‹

NameType
dataIObject

Returns โ€‹

void

Inherited from โ€‹

IBox.__SVG

Defined in โ€‹

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


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Inherited from โ€‹

IBox.toHTML

Defined in โ€‹

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


__setAttr โ€‹

โ–ธ __setAttr(attrName, newValue, checkFiniteNumber?): boolean

Parameters โ€‹

NameType
attrNamestring
newValueIValue
checkFiniteNumber?boolean

Returns โ€‹

boolean

Inherited from โ€‹

IBox.__setAttr

Defined in โ€‹

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


__getAttr โ€‹

โ–ธ __getAttr(attrName): IValue

Parameters โ€‹

NameType
attrNamestring

Returns โ€‹

IValue

Inherited from โ€‹

IBox.__getAttr

Defined in โ€‹

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


setProxyAttr โ€‹

โ–ธ setProxyAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

IBox.setProxyAttr

Defined in โ€‹

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


getProxyAttr โ€‹

โ–ธ getProxyAttr(name): IValue

Parameters โ€‹

NameType
namestring

Returns โ€‹

IValue

Inherited from โ€‹

IBox.getProxyAttr

Defined in โ€‹

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


focus โ€‹

โ–ธ focus(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.focus

Defined in โ€‹

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


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.updateState

Defined in โ€‹

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


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.updateLayout

Defined in โ€‹

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


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Inherited from โ€‹

IBox.forceUpdate

Defined in โ€‹

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


forceRender โ€‹

โ–ธ forceRender(_bounds?): void

Parameters โ€‹

NameType
_bounds?IBoundsData

Returns โ€‹

void

Inherited from โ€‹

IBox.forceRender

Defined in โ€‹

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


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateWorldMatrix

Defined in โ€‹

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


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateLocalMatrix

Defined in โ€‹

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


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateWorldBounds

Defined in โ€‹

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


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateLocalBounds

Defined in โ€‹

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


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateLocalBoxBounds

Defined in โ€‹

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


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateLocalStrokeBounds

Defined in โ€‹

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


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateLocalRenderBounds

Defined in โ€‹

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


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateContentBounds

Defined in โ€‹

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


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(secondLayout?): void

Parameters โ€‹

NameType
secondLayout?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateBoxBounds

Defined in โ€‹

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


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateStrokeBounds

Defined in โ€‹

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


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateRenderBounds

Defined in โ€‹

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


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateAutoLayout

Defined in โ€‹

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


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateFlowLayout

Defined in โ€‹

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


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateNaturalSize

Defined in โ€‹

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


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Inherited from โ€‹

IBox.__updateStrokeSpread

Defined in โ€‹

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


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Inherited from โ€‹

IBox.__updateRenderSpread

Defined in โ€‹

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


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__onUpdateSize

Defined in โ€‹

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


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateEraser

Defined in โ€‹

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


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateMask

Defined in โ€‹

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


__renderMask โ€‹

โ–ธ __renderMask(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__renderMask

Defined in โ€‹

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


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__renderEraser

Defined in โ€‹

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


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Inherited from โ€‹

IBox.__getNowWorld

Defined in โ€‹

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


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Inherited from โ€‹

IBox.getTransform

Defined in โ€‹

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


getBounds โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IBoundsData

Inherited from โ€‹

IBox.getBounds

Defined in โ€‹

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


getLayoutBounds โ€‹

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

Parameters โ€‹

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

Returns โ€‹

ILayoutBoundsData

Inherited from โ€‹

IBox.getLayoutBounds

Defined in โ€‹

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


getLayoutPoints โ€‹

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

Parameters โ€‹

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns โ€‹

IPointData[]

Inherited from โ€‹

IBox.getLayoutPoints

Defined in โ€‹

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


getWorldBounds โ€‹

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

Parameters โ€‹

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns โ€‹

IBoundsData

Inherited from โ€‹

IBox.getWorldBounds

Defined in โ€‹

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


worldToLocal โ€‹

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

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Inherited from โ€‹

IBox.worldToLocal

Defined in โ€‹

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


localToWorld โ€‹

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

Parameters โ€‹

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Inherited from โ€‹

IBox.localToWorld

Defined in โ€‹

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


worldToInner โ€‹

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

Parameters โ€‹

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Inherited from โ€‹

IBox.worldToInner

Defined in โ€‹

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


innerToWorld โ€‹

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

Parameters โ€‹

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns โ€‹

void

Inherited from โ€‹

IBox.innerToWorld

Defined in โ€‹

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


getBoxPoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getBoxPoint

Defined in โ€‹

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


getBoxPointByInner โ€‹

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

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getBoxPointByInner

Defined in โ€‹

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


getInnerPoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getInnerPoint

Defined in โ€‹

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


getInnerPointByBox โ€‹

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

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getInnerPointByBox

Defined in โ€‹

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


getInnerPointByLocal โ€‹

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

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getInnerPointByLocal

Defined in โ€‹

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


getLocalPoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getLocalPoint

Defined in โ€‹

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


getLocalPointByInner โ€‹

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

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getLocalPointByInner

Defined in โ€‹

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


getPagePoint โ€‹

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

Parameters โ€‹

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getPagePoint

Defined in โ€‹

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


getWorldPoint โ€‹

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

Parameters โ€‹

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getWorldPoint

Defined in โ€‹

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


getWorldPointByBox โ€‹

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

Parameters โ€‹

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getWorldPointByBox

Defined in โ€‹

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


getWorldPointByLocal โ€‹

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

Parameters โ€‹

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getWorldPointByLocal

Defined in โ€‹

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


getWorldPointByPage โ€‹

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

Parameters โ€‹

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns โ€‹

IPointData

Inherited from โ€‹

IBox.getWorldPointByPage

Defined in โ€‹

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


setTransform โ€‹

โ–ธ setTransform(transform?, resize?): void

Parameters โ€‹

NameType
transform?IMatrixData
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.setTransform

Defined in โ€‹

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


transform โ€‹

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

Parameters โ€‹

NameType
transform?IMatrixData
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.transform

Defined in โ€‹

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


move โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Inherited from โ€‹

IBox.move

Defined in โ€‹

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


moveInner โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Inherited from โ€‹

IBox.moveInner

Defined in โ€‹

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


scaleOf โ€‹

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

Parameters โ€‹

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.scaleOf

Defined in โ€‹

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


rotateOf โ€‹

โ–ธ rotateOf(origin, rotation): void

Parameters โ€‹

NameType
originIPointData | IDirection
rotationnumber

Returns โ€‹

void

Inherited from โ€‹

IBox.rotateOf

Defined in โ€‹

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


skewOf โ€‹

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

Parameters โ€‹

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.skewOf

Defined in โ€‹

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


transformWorld โ€‹

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

Parameters โ€‹

NameType
worldTransform?IMatrixData
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.transformWorld

Defined in โ€‹

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


moveWorld โ€‹

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

Parameters โ€‹

NameType
xnumber | IPointData
y?number

Returns โ€‹

void

Inherited from โ€‹

IBox.moveWorld

Defined in โ€‹

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


scaleOfWorld โ€‹

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

Parameters โ€‹

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.scaleOfWorld

Defined in โ€‹

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


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Inherited from โ€‹

IBox.rotateOfWorld

Defined in โ€‹

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


skewOfWorld โ€‹

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

Parameters โ€‹

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.skewOfWorld

Defined in โ€‹

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


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Inherited from โ€‹

IBox.flip

Defined in โ€‹

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


scaleResize โ€‹

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

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber
noResize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.scaleResize

Defined in โ€‹

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


__scaleResize โ€‹

โ–ธ __scaleResize(scaleX, scaleY): void

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber

Returns โ€‹

void

Inherited from โ€‹

IBox.__scaleResize

Defined in โ€‹

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


resizeWidth โ€‹

โ–ธ resizeWidth(width): void

Parameters โ€‹

NameType
widthnumber

Returns โ€‹

void

Inherited from โ€‹

IBox.resizeWidth

Defined in โ€‹

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


resizeHeight โ€‹

โ–ธ resizeHeight(height): void

Parameters โ€‹

NameType
heightnumber

Returns โ€‹

void

Inherited from โ€‹

IBox.resizeHeight

Defined in โ€‹

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


__hitWorld โ€‹

โ–ธ __hitWorld(point): boolean

Parameters โ€‹

NameType
pointIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IBox.__hitWorld

Defined in โ€‹

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


__hit โ€‹

โ–ธ __hit(local): boolean

Parameters โ€‹

NameType
localIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IBox.__hit

Defined in โ€‹

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


__hitFill โ€‹

โ–ธ __hitFill(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IBox.__hitFill

Defined in โ€‹

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


__hitStroke โ€‹

โ–ธ __hitStroke(inner, strokeWidth): boolean

Parameters โ€‹

NameType
innerIRadiusPointData
strokeWidthnumber

Returns โ€‹

boolean

Inherited from โ€‹

IBox.__hitStroke

Defined in โ€‹

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


__hitPixel โ€‹

โ–ธ __hitPixel(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IBox.__hitPixel

Defined in โ€‹

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


__drawHitPath โ€‹

โ–ธ __drawHitPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawHitPath

Defined in โ€‹

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


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateHitCanvas

Defined in โ€‹

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


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__render

Defined in โ€‹

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


__drawFast โ€‹

โ–ธ __drawFast(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawFast

Defined in โ€‹

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


__draw โ€‹

โ–ธ __draw(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__draw

Defined in โ€‹

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


__clip โ€‹

โ–ธ __clip(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__clip

Defined in โ€‹

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


__renderShape โ€‹

โ–ธ __renderShape(canvas, options, ignoreFill?, ignoreStroke?): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions
ignoreFill?boolean
ignoreStroke?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.__renderShape

Defined in โ€‹

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


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateWorldOpacity

Defined in โ€‹

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


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateChange

Defined in โ€‹

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


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawPath

Defined in โ€‹

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


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawRenderPath

Defined in โ€‹

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


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updatePath

Defined in โ€‹

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


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateRenderPath

Defined in โ€‹

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


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Inherited from โ€‹

IBox.getMotionPathData

Defined in โ€‹

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


getMotionPoint โ€‹

โ–ธ getMotionPoint(motionDistance): IRotationPointData

Parameters โ€‹

NameType
motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Inherited from โ€‹

IBox.getMotionPoint

Defined in โ€‹

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


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Inherited from โ€‹

IBox.getMotionTotal

Defined in โ€‹

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


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateMotionPath

Defined in โ€‹

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


__runAnimation โ€‹

โ–ธ __runAnimation(type, complete?): void

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IBox.__runAnimation

Defined in โ€‹

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


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Inherited from โ€‹

IBox.__emitLifeEvent

Defined in โ€‹

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


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateSortChildren

Defined in โ€‹

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


dropTo โ€‹

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

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.dropTo

Defined in โ€‹

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


__realSetAttr โ€‹

โ–ธ __realSetAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

IBox.__realSetAttr

Defined in โ€‹

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


destroyEventer โ€‹

โ–ธ destroyEventer(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.destroyEventer

Defined in โ€‹

leafer/packages/interface/src/display/module/ILeafEventer.ts:18


on โ€‹

โ–ธ on(type, listener?, options?): void

Parameters โ€‹

NameType
typestring | string[] | IEventMap
listener?IFunction
options?IEventOption

Returns โ€‹

void

Inherited from โ€‹

IBox.on

Defined in โ€‹

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


off โ€‹

โ–ธ off(type?, listener?, options?): void

Parameters โ€‹

NameType
type?string | string[]
listener?IFunction
options?IEventOption

Returns โ€‹

void

Inherited from โ€‹

IBox.off

Defined in โ€‹

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


on_ โ€‹

โ–ธ on_(type, listener, bind?, options?): IEventListenerId

Parameters โ€‹

NameType
typestring | string[]
listenerIFunction
bind?IObject
options?IEventOption

Returns โ€‹

IEventListenerId

Inherited from โ€‹

IBox.on_

Defined in โ€‹

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


off_ โ€‹

โ–ธ off_(id): void

Parameters โ€‹

NameType
idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Inherited from โ€‹

IBox.off_

Defined in โ€‹

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


once โ€‹

โ–ธ once(type, listener): void

Parameters โ€‹

NameType
typestring | string[]
listenerIFunction

Returns โ€‹

void

Inherited from โ€‹

IBox.once

Defined in โ€‹

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


emit โ€‹

โ–ธ emit(type, event?, capture?): void

Parameters โ€‹

NameType
typestring
event?IObject | IEvent
capture?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.emit

Defined in โ€‹

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


emitEvent โ€‹

โ–ธ emitEvent(event?, capture?): void

Parameters โ€‹

NameType
event?IEvent
capture?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.emitEvent

Defined in โ€‹

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


hasEvent โ€‹

โ–ธ hasEvent(type, capture?): boolean

Parameters โ€‹

NameType
typestring
capture?boolean

Returns โ€‹

boolean

Inherited from โ€‹

IBox.hasEvent

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.destroy

Defined in โ€‹

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


__updateRectRenderBounds โ€‹

โ–ธ __updateRectRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.__updateRectRenderBounds

Defined in โ€‹

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


__renderGroup โ€‹

โ–ธ __renderGroup(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__renderGroup

Defined in โ€‹

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


pick โ€‹

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

Parameters โ€‹

NameType
hitPointIPointData
options?IPickOptions

Returns โ€‹

IPickResult

Inherited from โ€‹

IBox.pick

Defined in โ€‹

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


add โ€‹

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

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IBox.add

Defined in โ€‹

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


addAt โ€‹

โ–ธ addAt(child, index): void

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IBox.addAt

Defined in โ€‹

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


addAfter โ€‹

โ–ธ addAfter(child, after): void

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IBox.addAfter

Defined in โ€‹

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


addBefore โ€‹

โ–ธ addBefore(child, before): void

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IBox.addBefore

Defined in โ€‹

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


addMany โ€‹

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

Parameters โ€‹

NameType
...childrenILeaf[] | IUIInputData[]

Returns โ€‹

void

Inherited from โ€‹

IBox.addMany

Defined in โ€‹

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


remove โ€‹

โ–ธ remove(child?): void

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IBox.remove

Defined in โ€‹

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


removeAll โ€‹

โ–ธ removeAll(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.removeAll

Defined in โ€‹

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


clear โ€‹

โ–ธ clear(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.clear

Defined in โ€‹

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


reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

void

Inherited from โ€‹

IBox.reset

Defined in โ€‹

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


set โ€‹

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

Parameters โ€‹

NameType
dataIUIInputData
isTemp?boolean

Returns โ€‹

void

Inherited from โ€‹

IBox.set

Defined in โ€‹

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


toJSON โ€‹

โ–ธ toJSON(options?): IUIJSONData

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IUIJSONData

Inherited from โ€‹

IBox.toJSON

Defined in โ€‹

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


get โ€‹

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

Parameters โ€‹

NameType
name?string | string[] | IUIInputData

Returns โ€‹

IValue | IUIInputData

Inherited from โ€‹

IBox.get

Defined in โ€‹

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


createProxyData โ€‹

โ–ธ createProxyData(): IUIInputData

Returns โ€‹

IUIInputData

Inherited from โ€‹

IBox.createProxyData

Defined in โ€‹

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


find โ€‹

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

Parameters โ€‹

NameType
conditionstring | number | IFindCondition | IFindUIMethod
options?any

Returns โ€‹

IUI[]

Inherited from โ€‹

IBox.find

Defined in โ€‹

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


findTag โ€‹

โ–ธ findTag(tag): IUI[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

IUI[]

Inherited from โ€‹

IBox.findTag

Defined in โ€‹

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


findOne โ€‹

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

Parameters โ€‹

NameType
conditionstring | number | IFindCondition | IFindUIMethod
options?any

Returns โ€‹

IUI

Inherited from โ€‹

IBox.findOne

Defined in โ€‹

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


findId โ€‹

โ–ธ findId(id): IUI

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

IUI

Inherited from โ€‹

IBox.findId

Defined in โ€‹

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


getPath โ€‹

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

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

IPathCommandData

Inherited from โ€‹

IBox.getPath

Defined in โ€‹

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


getPathString โ€‹

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

Parameters โ€‹

NameType
curve?boolean
pathForRender?boolean

Returns โ€‹

string

Inherited from โ€‹

IBox.getPathString

Defined in โ€‹

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


load โ€‹

โ–ธ load(): void

Returns โ€‹

void

Inherited from โ€‹

IBox.load

Defined in โ€‹

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


__drawPathByData โ€‹

โ–ธ __drawPathByData(drawer, data): void

Parameters โ€‹

NameType
drawerIPathDrawer
dataIPathCommandData

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawPathByData

Defined in โ€‹

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


__drawPathByBox โ€‹

โ–ธ __drawPathByBox(drawer): void

Parameters โ€‹

NameType
drawerIPathDrawer

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawPathByBox

Defined in โ€‹

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


__drawAfterFill โ€‹

โ–ธ __drawAfterFill(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawAfterFill

Defined in โ€‹

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


__drawContent โ€‹

โ–ธ __drawContent(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IBox.__drawContent

Defined in โ€‹

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


animate โ€‹

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

Parameters โ€‹

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

Returns โ€‹

IAnimate

Inherited from โ€‹

IBox.animate

Defined in โ€‹

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


killAnimate โ€‹

โ–ธ killAnimate(type?): void

Parameters โ€‹

NameType
type?IAnimateType

Returns โ€‹

void

Inherited from โ€‹

IBox.killAnimate

Defined in โ€‹

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


export โ€‹

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

Parameters โ€‹

NameType
filenamestring
options?number | boolean | IExportOptions

Returns โ€‹

Promise<IExportResult>

Inherited from โ€‹

IBox.export

Defined in โ€‹

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


clone โ€‹

โ–ธ clone(data?): IUI

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

IUI

Inherited from โ€‹

IBox.clone

Defined in โ€‹

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

Released under the MIT License.