Skip to content

Interface: IImage โ€‹

Hierarchy โ€‹

  • IImageAttrData

  • IRect

    โ†ณ IImage

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

IRect.id

Defined in โ€‹

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


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

IRect.name

Defined in โ€‹

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


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

IRect.className

Defined in โ€‹

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


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

IRect.blendMode

Defined in โ€‹

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


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

IRect.opacity

Defined in โ€‹

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


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

IRect.visible

Defined in โ€‹

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


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

IRect.selected

Defined in โ€‹

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


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

IRect.disabled

Defined in โ€‹

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


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

IRect.locked

Defined in โ€‹

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


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

IRect.zIndex

Defined in โ€‹

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


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

IRect.mask

Defined in โ€‹

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


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

IRect.eraser

Defined in โ€‹

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


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

IRect.x

Defined in โ€‹

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


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

IRect.y

Defined in โ€‹

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


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

IRect.width

Defined in โ€‹

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


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

IRect.height

Defined in โ€‹

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


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

IRect.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

IRect.scaleY

Defined in โ€‹

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


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

IRect.rotation

Defined in โ€‹

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


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

IRect.skewX

Defined in โ€‹

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


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

IRect.skewY

Defined in โ€‹

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


scale โ€‹

โ€ข Optional scale: number | IPointData

Inherited from โ€‹

IRect.scale

Defined in โ€‹

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


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

IRect.offsetX

Defined in โ€‹

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


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

IRect.offsetY

Defined in โ€‹

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


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

IRect.scrollX

Defined in โ€‹

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


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

IRect.scrollY

Defined in โ€‹

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


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

IRect.origin

Defined in โ€‹

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


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

IRect.around

Defined in โ€‹

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


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

IRect.lazy

Defined in โ€‹

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


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

IRect.pixelRatio

Defined in โ€‹

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


path โ€‹

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

Inherited from โ€‹

IRect.path

Defined in โ€‹

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


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

IRect.windingRule

Defined in โ€‹

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


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

IRect.closed

Defined in โ€‹

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


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

IRect.flow

Defined in โ€‹

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


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

IRect.padding

Defined in โ€‹

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


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

IRect.gap

Defined in โ€‹

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


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

IRect.flowAlign

Defined in โ€‹

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


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

IRect.flowWrap

Defined in โ€‹

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


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

IRect.itemBox

Defined in โ€‹

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


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

IRect.inFlow

Defined in โ€‹

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


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

IRect.autoWidth

Defined in โ€‹

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


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

IRect.autoHeight

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

IRect.lockRatio

Defined in โ€‹

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


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

IRect.autoBox

Defined in โ€‹

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


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

IRect.widthRange

Defined in โ€‹

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


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

IRect.heightRange

Defined in โ€‹

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


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

IRect.draggable

Defined in โ€‹

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


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

IRect.dragBounds

Defined in โ€‹

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


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

IRect.editable

Defined in โ€‹

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


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

IRect.hittable

Defined in โ€‹

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


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

IRect.hitFill

Defined in โ€‹

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


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

IRect.hitStroke

Defined in โ€‹

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


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

IRect.hitBox

Defined in โ€‹

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


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

IRect.hitChildren

Defined in โ€‹

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


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

IRect.hitSelf

Defined in โ€‹

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


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

IRect.hitRadius

Defined in โ€‹

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


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

IRect.button

Defined in โ€‹

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


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

IRect.cursor

Defined in โ€‹

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


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

IRect.motionPath

Defined in โ€‹

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


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

IRect.motion

Defined in โ€‹

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


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

IRect.motionRotation

Defined in โ€‹

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


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

IRect.normalStyle

Defined in โ€‹

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


event โ€‹

โ€ข Optional event: IEventMap

Inherited from โ€‹

IRect.event

Defined in โ€‹

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


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

IRect.data

Defined in โ€‹

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


noBounds โ€‹

โ€ข Optional noBounds: boolean

Inherited from โ€‹

IRect.noBounds

Defined in โ€‹

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


tag โ€‹

โ€ข tag: string

Inherited from โ€‹

IRect.tag

Defined in โ€‹

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


__tag โ€‹

โ€ข Readonly __tag: string

Inherited from โ€‹

IRect.__tag

Defined in โ€‹

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


innerName โ€‹

โ€ข Readonly innerName: string

Inherited from โ€‹

IRect.innerName

Defined in โ€‹

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


__DataProcessor โ€‹

โ€ข Readonly __DataProcessor: IObject

Inherited from โ€‹

IRect.__DataProcessor

Defined in โ€‹

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


__LayoutProcessor โ€‹

โ€ข Readonly __LayoutProcessor: IObject

Inherited from โ€‹

IRect.__LayoutProcessor

Defined in โ€‹

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


leaferIsCreated โ€‹

โ€ข Readonly leaferIsCreated: boolean

Inherited from โ€‹

IRect.leaferIsCreated

Defined in โ€‹

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


leaferIsReady โ€‹

โ€ข Readonly leaferIsReady: boolean

Inherited from โ€‹

IRect.leaferIsReady

Defined in โ€‹

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


isApp โ€‹

โ€ข Optional Readonly isApp: boolean

Inherited from โ€‹

IRect.isApp

Defined in โ€‹

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


isLeafer โ€‹

โ€ข Optional Readonly isLeafer: boolean

Inherited from โ€‹

IRect.isLeafer

Defined in โ€‹

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


isBranch โ€‹

โ€ข Optional Readonly isBranch: boolean

Inherited from โ€‹

IRect.isBranch

Defined in โ€‹

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


isBranchLeaf โ€‹

โ€ข Optional Readonly isBranchLeaf: boolean

Inherited from โ€‹

IRect.isBranchLeaf

Defined in โ€‹

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


isOutside โ€‹

โ€ข Optional Readonly isOutside: boolean

Inherited from โ€‹

IRect.isOutside

Defined in โ€‹

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


syncEventer โ€‹

โ€ข Optional syncEventer: ILeaf

Inherited from โ€‹

IRect.syncEventer

Defined in โ€‹

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


lockNormalStyle โ€‹

โ€ข Optional lockNormalStyle: boolean

Inherited from โ€‹

IRect.lockNormalStyle

Defined in โ€‹

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


__layout โ€‹

โ€ข __layout: ILeafLayout

Inherited from โ€‹

IRect.__layout

Defined in โ€‹

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


__world โ€‹

โ€ข __world: IMatrixWithBoundsScaleData

Inherited from โ€‹

IRect.__world

Defined in โ€‹

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


__local โ€‹

โ€ข Optional __local: IMatrixWithBoundsData

Inherited from โ€‹

IRect.__local

Defined in โ€‹

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


__nowWorld โ€‹

โ€ข Optional __nowWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

IRect.__nowWorld

Defined in โ€‹

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


__cameraWorld โ€‹

โ€ข Optional __cameraWorld: IMatrixWithBoundsScaleData

Inherited from โ€‹

IRect.__cameraWorld

Defined in โ€‹

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


__localMatrix โ€‹

โ€ข Readonly __localMatrix: IMatrixData

Inherited from โ€‹

IRect.__localMatrix

Defined in โ€‹

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


__localBoxBounds โ€‹

โ€ข Readonly __localBoxBounds: IBoundsData

Inherited from โ€‹

IRect.__localBoxBounds

Defined in โ€‹

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


__worldOpacity โ€‹

โ€ข __worldOpacity: number

Inherited from โ€‹

IRect.__worldOpacity

Defined in โ€‹

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


worldTransform โ€‹

โ€ข Readonly worldTransform: IMatrixWithScaleData

Inherited from โ€‹

IRect.worldTransform

Defined in โ€‹

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


localTransform โ€‹

โ€ข Readonly localTransform: IMatrixData

Inherited from โ€‹

IRect.localTransform

Defined in โ€‹

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


boxBounds โ€‹

โ€ข Readonly boxBounds: IBoundsData

Inherited from โ€‹

IRect.boxBounds

Defined in โ€‹

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


renderBounds โ€‹

โ€ข Readonly renderBounds: IBoundsData

Inherited from โ€‹

IRect.renderBounds

Defined in โ€‹

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


worldBoxBounds โ€‹

โ€ข Readonly worldBoxBounds: IBoundsData

Inherited from โ€‹

IRect.worldBoxBounds

Defined in โ€‹

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


worldStrokeBounds โ€‹

โ€ข Readonly worldStrokeBounds: IBoundsData

Inherited from โ€‹

IRect.worldStrokeBounds

Defined in โ€‹

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


worldRenderBounds โ€‹

โ€ข Readonly worldRenderBounds: IBoundsData

Inherited from โ€‹

IRect.worldRenderBounds

Defined in โ€‹

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


worldOpacity โ€‹

โ€ข Readonly worldOpacity: number

Inherited from โ€‹

IRect.worldOpacity

Defined in โ€‹

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


__level โ€‹

โ€ข __level: number

Inherited from โ€‹

IRect.__level

Defined in โ€‹

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


__tempNumber โ€‹

โ€ข Optional __tempNumber: number

Inherited from โ€‹

IRect.__tempNumber

Defined in โ€‹

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


__worldFlipped โ€‹

โ€ข Readonly __worldFlipped: boolean

Inherited from โ€‹

IRect.__worldFlipped

Defined in โ€‹

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


__hasAutoLayout โ€‹

โ€ข Optional __hasAutoLayout: boolean

Inherited from โ€‹

IRect.__hasAutoLayout

Defined in โ€‹

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


__hasMotionPath โ€‹

โ€ข Optional __hasMotionPath: boolean

Inherited from โ€‹

IRect.__hasMotionPath

Defined in โ€‹

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


__hasMask โ€‹

โ€ข Optional __hasMask: boolean

Inherited from โ€‹

IRect.__hasMask

Defined in โ€‹

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


__hasEraser โ€‹

โ€ข Optional __hasEraser: boolean

Inherited from โ€‹

IRect.__hasEraser

Defined in โ€‹

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


__hitCanvas โ€‹

โ€ข Optional __hitCanvas: IHitCanvas

Inherited from โ€‹

IRect.__hitCanvas

Defined in โ€‹

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


__flowBounds โ€‹

โ€ข Optional __flowBounds: IBoundsData

Inherited from โ€‹

IRect.__flowBounds

Defined in โ€‹

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


__widthGrow โ€‹

โ€ข Optional __widthGrow: number

Inherited from โ€‹

IRect.__widthGrow

Defined in โ€‹

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


__heightGrow โ€‹

โ€ข Optional __heightGrow: number

Inherited from โ€‹

IRect.__heightGrow

Defined in โ€‹

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


__hasGrow โ€‹

โ€ข Optional __hasGrow: boolean

Inherited from โ€‹

IRect.__hasGrow

Defined in โ€‹

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


__onlyHitMask โ€‹

โ€ข Readonly __onlyHitMask: boolean

Inherited from โ€‹

IRect.__onlyHitMask

Defined in โ€‹

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


__ignoreHitWorld โ€‹

โ€ข Readonly __ignoreHitWorld: boolean

Inherited from โ€‹

IRect.__ignoreHitWorld

Defined in โ€‹

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


__inLazyBounds โ€‹

โ€ข Readonly __inLazyBounds: boolean

Inherited from โ€‹

IRect.__inLazyBounds

Defined in โ€‹

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


pathInputed โ€‹

โ€ข Readonly pathInputed: boolean

Inherited from โ€‹

IRect.pathInputed

Defined in โ€‹

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


destroyed โ€‹

โ€ข destroyed: boolean

Inherited from โ€‹

IRect.destroyed

Defined in โ€‹

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


innerId โ€‹

โ€ข Readonly innerId: number

Inherited from โ€‹

IRect.innerId

Defined in โ€‹

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


__captureMap โ€‹

โ€ข Optional __captureMap: IEventListenerMap

Inherited from โ€‹

IRect.__captureMap

Defined in โ€‹

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


__bubbleMap โ€‹

โ€ข Optional __bubbleMap: IEventListenerMap

Inherited from โ€‹

IRect.__bubbleMap

Defined in โ€‹

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


cornerRadius โ€‹

โ€ข Optional cornerRadius: string | IFourNumber

Inherited from โ€‹

IRect.cornerRadius

Defined in โ€‹

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


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Inherited from โ€‹

IRect.cornerSmoothing

Defined in โ€‹

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


fill โ€‹

โ€ข Optional fill: IFill

Inherited from โ€‹

IRect.fill

Defined in โ€‹

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


stroke โ€‹

โ€ข Optional stroke: IStroke

Inherited from โ€‹

IRect.stroke

Defined in โ€‹

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


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Inherited from โ€‹

IRect.strokeAlign

Defined in โ€‹

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


strokeWidth โ€‹

โ€ข Optional strokeWidth: string | IFourNumber

Inherited from โ€‹

IRect.strokeWidth

Defined in โ€‹

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


strokeWidthFixed โ€‹

โ€ข Optional strokeWidthFixed: boolean

Inherited from โ€‹

IRect.strokeWidthFixed

Defined in โ€‹

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


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Inherited from โ€‹

IRect.strokeCap

Defined in โ€‹

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


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Inherited from โ€‹

IRect.strokeJoin

Defined in โ€‹

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


dashPattern โ€‹

โ€ข Optional dashPattern: string | number[]

Inherited from โ€‹

IRect.dashPattern

Defined in โ€‹

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


dashOffset โ€‹

โ€ข Optional dashOffset: number

Inherited from โ€‹

IRect.dashOffset

Defined in โ€‹

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


miterLimit โ€‹

โ€ข Optional miterLimit: number

Inherited from โ€‹

IRect.miterLimit

Defined in โ€‹

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


startArrow โ€‹

โ€ข Optional startArrow: IArrowType

Inherited from โ€‹

IRect.startArrow

Defined in โ€‹

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


endArrow โ€‹

โ€ข Optional endArrow: IArrowType

Inherited from โ€‹

IRect.endArrow

Defined in โ€‹

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


shadow โ€‹

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

Inherited from โ€‹

IRect.shadow

Defined in โ€‹

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


innerShadow โ€‹

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

Inherited from โ€‹

IRect.innerShadow

Defined in โ€‹

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


blur โ€‹

โ€ข Optional blur: number | IBlurEffect

Inherited from โ€‹

IRect.blur

Defined in โ€‹

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


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number | IBlurEffect

Inherited from โ€‹

IRect.backgroundBlur

Defined in โ€‹

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


grayscale โ€‹

โ€ข Optional grayscale: number | IGrayscaleEffect

Inherited from โ€‹

IRect.grayscale

Defined in โ€‹

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


__ โ€‹

โ€ข __: IImageData

Overrides โ€‹

IRect.__

Defined in โ€‹

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


ready โ€‹

โ€ข ready: boolean

Defined in โ€‹

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


image โ€‹

โ€ข Optional image: ILeaferImage

Defined in โ€‹

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


url โ€‹

โ€ข Optional url: string

Inherited from โ€‹

IImageAttrData.url

Defined in โ€‹

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


app โ€‹

โ€ข Readonly app: ILeafer

Inherited from โ€‹

IRect.app

Defined in โ€‹

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


leafer โ€‹

โ€ข Optional leafer: ILeafer

Inherited from โ€‹

IRect.leafer

Defined in โ€‹

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


parent โ€‹

โ€ข Optional parent: IGroup

Inherited from โ€‹

IRect.parent

Defined in โ€‹

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


zoomLayer โ€‹

โ€ข Optional zoomLayer: IGroup

Inherited from โ€‹

IRect.zoomLayer

Defined in โ€‹

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


isFrame โ€‹

โ€ข Optional Readonly isFrame: boolean

Inherited from โ€‹

IRect.isFrame

Defined in โ€‹

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


isOverflow โ€‹

โ€ข Optional isOverflow: boolean

Inherited from โ€‹

IRect.isOverflow

Defined in โ€‹

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


proxyData โ€‹

โ€ข Optional proxyData: IUIInputData

Inherited from โ€‹

IRect.proxyData

Defined in โ€‹

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


__proxyData โ€‹

โ€ข Optional __proxyData: IUIInputData

Inherited from โ€‹

IRect.__proxyData

Defined in โ€‹

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


animation โ€‹

โ€ข Optional animation: IAnimation

Inherited from โ€‹

IRect.animation

Defined in โ€‹

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


animationOut โ€‹

โ€ข Optional animationOut: IAnimation

Inherited from โ€‹

IRect.animationOut

Defined in โ€‹

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


editConfig โ€‹

โ€ข Optional editConfig: IEditorConfig

Inherited from โ€‹

IRect.editConfig

Defined in โ€‹

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


editOuter โ€‹

โ€ข editOuter: string

Inherited from โ€‹

IRect.editOuter

Defined in โ€‹

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


editInner โ€‹

โ€ข editInner: string

Inherited from โ€‹

IRect.editInner

Defined in โ€‹

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


children โ€‹

โ€ข Optional children: IUI[]

Inherited from โ€‹

IRect.children

Defined in โ€‹

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


__animate โ€‹

โ€ข Optional __animate: IAnimate

Inherited from โ€‹

IRect.__animate

Defined in โ€‹

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


pen โ€‹

โ€ข Readonly pen: IPathCreator

Inherited from โ€‹

IRect.pen

Defined in โ€‹

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


transition โ€‹

โ€ข Optional transition: ITransition

Inherited from โ€‹

IRect.transition

Defined in โ€‹

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


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Inherited from โ€‹

IRect.transitionOut

Defined in โ€‹

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


states โ€‹

โ€ข Optional states: IStates

Inherited from โ€‹

IRect.states

Defined in โ€‹

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


state โ€‹

โ€ข Optional state: string

Inherited from โ€‹

IRect.state

Defined in โ€‹

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


hoverStyle โ€‹

โ€ข Optional hoverStyle: IStateStyle

Inherited from โ€‹

IRect.hoverStyle

Defined in โ€‹

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


pressStyle โ€‹

โ€ข Optional pressStyle: IStateStyle

Inherited from โ€‹

IRect.pressStyle

Defined in โ€‹

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


focusStyle โ€‹

โ€ข Optional focusStyle: IStateStyle

Inherited from โ€‹

IRect.focusStyle

Defined in โ€‹

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


selectedStyle โ€‹

โ€ข Optional selectedStyle: IStateStyle

Inherited from โ€‹

IRect.selectedStyle

Defined in โ€‹

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


disabledStyle โ€‹

โ€ข Optional disabledStyle: IStateStyle

Inherited from โ€‹

IRect.disabledStyle

Defined in โ€‹

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

Methods โ€‹

resetCustom โ€‹

โ–ธ resetCustom(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.nextRender

Defined in โ€‹

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


removeNextRender โ€‹

โ–ธ removeNextRender(item): void

Parameters โ€‹

NameType
itemIFunction

Returns โ€‹

void

Inherited from โ€‹

IRect.removeNextRender

Defined in โ€‹

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


__bindLeafer โ€‹

โ–ธ __bindLeafer(leafer): void

Parameters โ€‹

NameType
leaferILeaferBase

Returns โ€‹

void

Inherited from โ€‹

IRect.__bindLeafer

Defined in โ€‹

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


setAttr โ€‹

โ–ธ setAttr(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

IRect.setAttr

Defined in โ€‹

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


getAttr โ€‹

โ–ธ getAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IRect.getAttr

Defined in โ€‹

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


getComputedAttr โ€‹

โ–ธ getComputedAttr(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IRect.getComputedAttr

Defined in โ€‹

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


toString โ€‹

โ–ธ toString(options?): string

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

string

Inherited from โ€‹

IRect.toString

Defined in โ€‹

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


toSVG โ€‹

โ–ธ toSVG(): string

Returns โ€‹

string

Inherited from โ€‹

IRect.toSVG

Defined in โ€‹

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


__SVG โ€‹

โ–ธ __SVG(data): void

Parameters โ€‹

NameType
dataIObject

Returns โ€‹

void

Inherited from โ€‹

IRect.__SVG

Defined in โ€‹

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


toHTML โ€‹

โ–ธ toHTML(): string

Returns โ€‹

string

Inherited from โ€‹

IRect.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 โ€‹

IRect.__setAttr

Defined in โ€‹

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


__getAttr โ€‹

โ–ธ __getAttr(attrName): IValue

Parameters โ€‹

NameType
attrNamestring

Returns โ€‹

IValue

Inherited from โ€‹

IRect.__getAttr

Defined in โ€‹

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


setProxyAttr โ€‹

โ–ธ setProxyAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

IRect.setProxyAttr

Defined in โ€‹

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


getProxyAttr โ€‹

โ–ธ getProxyAttr(name): IValue

Parameters โ€‹

NameType
namestring

Returns โ€‹

IValue

Inherited from โ€‹

IRect.getProxyAttr

Defined in โ€‹

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


focus โ€‹

โ–ธ focus(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

IRect.focus

Defined in โ€‹

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


updateState โ€‹

โ–ธ updateState(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.updateState

Defined in โ€‹

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


updateLayout โ€‹

โ–ธ updateLayout(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.updateLayout

Defined in โ€‹

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


forceUpdate โ€‹

โ–ธ forceUpdate(attrName?): void

Parameters โ€‹

NameType
attrName?string

Returns โ€‹

void

Inherited from โ€‹

IRect.forceUpdate

Defined in โ€‹

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


forceRender โ€‹

โ–ธ forceRender(_bounds?): void

Parameters โ€‹

NameType
_bounds?IBoundsData

Returns โ€‹

void

Inherited from โ€‹

IRect.forceRender

Defined in โ€‹

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


__updateWorldMatrix โ€‹

โ–ธ __updateWorldMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateWorldMatrix

Defined in โ€‹

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


__updateLocalMatrix โ€‹

โ–ธ __updateLocalMatrix(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateLocalMatrix

Defined in โ€‹

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


__updateWorldBounds โ€‹

โ–ธ __updateWorldBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateWorldBounds

Defined in โ€‹

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


__updateLocalBounds โ€‹

โ–ธ __updateLocalBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateLocalBounds

Defined in โ€‹

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


__updateLocalBoxBounds โ€‹

โ–ธ __updateLocalBoxBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateLocalBoxBounds

Defined in โ€‹

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


__updateLocalStrokeBounds โ€‹

โ–ธ __updateLocalStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateLocalStrokeBounds

Defined in โ€‹

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


__updateLocalRenderBounds โ€‹

โ–ธ __updateLocalRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateLocalRenderBounds

Defined in โ€‹

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


__updateContentBounds โ€‹

โ–ธ __updateContentBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateContentBounds

Defined in โ€‹

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


__updateBoxBounds โ€‹

โ–ธ __updateBoxBounds(secondLayout?): void

Parameters โ€‹

NameType
secondLayout?boolean

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateBoxBounds

Defined in โ€‹

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


__updateStrokeBounds โ€‹

โ–ธ __updateStrokeBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateStrokeBounds

Defined in โ€‹

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


__updateRenderBounds โ€‹

โ–ธ __updateRenderBounds(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateRenderBounds

Defined in โ€‹

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


__updateAutoLayout โ€‹

โ–ธ __updateAutoLayout(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateAutoLayout

Defined in โ€‹

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


__updateFlowLayout โ€‹

โ–ธ __updateFlowLayout(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateFlowLayout

Defined in โ€‹

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


__updateNaturalSize โ€‹

โ–ธ __updateNaturalSize(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateNaturalSize

Defined in โ€‹

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


__updateStrokeSpread โ€‹

โ–ธ __updateStrokeSpread(): number

Returns โ€‹

number

Inherited from โ€‹

IRect.__updateStrokeSpread

Defined in โ€‹

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


__updateRenderSpread โ€‹

โ–ธ __updateRenderSpread(): number

Returns โ€‹

number

Inherited from โ€‹

IRect.__updateRenderSpread

Defined in โ€‹

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


__onUpdateSize โ€‹

โ–ธ __onUpdateSize(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__onUpdateSize

Defined in โ€‹

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


__updateEraser โ€‹

โ–ธ __updateEraser(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateEraser

Defined in โ€‹

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


__updateMask โ€‹

โ–ธ __updateMask(value?): void

Parameters โ€‹

NameType
value?boolean

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateMask

Defined in โ€‹

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


__renderMask โ€‹

โ–ธ __renderMask(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__renderMask

Defined in โ€‹

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


__renderEraser โ€‹

โ–ธ __renderEraser(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__renderEraser

Defined in โ€‹

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


__getNowWorld โ€‹

โ–ธ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters โ€‹

NameType
optionsIRenderOptions

Returns โ€‹

IMatrixWithBoundsScaleData

Inherited from โ€‹

IRect.__getNowWorld

Defined in โ€‹

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


getTransform โ€‹

โ–ธ getTransform(relative?): IMatrixData

Parameters โ€‹

NameType
relative?ILeaf | ILocationType

Returns โ€‹

IMatrixData

Inherited from โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.scaleOfWorld

Defined in โ€‹

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


rotateOfWorld โ€‹

โ–ธ rotateOfWorld(worldOrigin, rotation): void

Parameters โ€‹

NameType
worldOriginIPointData
rotationnumber

Returns โ€‹

void

Inherited from โ€‹

IRect.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 โ€‹

IRect.skewOfWorld

Defined in โ€‹

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


flip โ€‹

โ–ธ flip(axis): void

Parameters โ€‹

NameType
axisIAxis

Returns โ€‹

void

Inherited from โ€‹

IRect.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 โ€‹

IRect.scaleResize

Defined in โ€‹

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


__scaleResize โ€‹

โ–ธ __scaleResize(scaleX, scaleY): void

Parameters โ€‹

NameType
scaleXnumber
scaleYnumber

Returns โ€‹

void

Inherited from โ€‹

IRect.__scaleResize

Defined in โ€‹

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


resizeWidth โ€‹

โ–ธ resizeWidth(width): void

Parameters โ€‹

NameType
widthnumber

Returns โ€‹

void

Inherited from โ€‹

IRect.resizeWidth

Defined in โ€‹

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


resizeHeight โ€‹

โ–ธ resizeHeight(height): void

Parameters โ€‹

NameType
heightnumber

Returns โ€‹

void

Inherited from โ€‹

IRect.resizeHeight

Defined in โ€‹

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


__hitWorld โ€‹

โ–ธ __hitWorld(point): boolean

Parameters โ€‹

NameType
pointIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IRect.__hitWorld

Defined in โ€‹

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


__hit โ€‹

โ–ธ __hit(local): boolean

Parameters โ€‹

NameType
localIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IRect.__hit

Defined in โ€‹

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


__hitFill โ€‹

โ–ธ __hitFill(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IRect.__hitFill

Defined in โ€‹

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


__hitStroke โ€‹

โ–ธ __hitStroke(inner, strokeWidth): boolean

Parameters โ€‹

NameType
innerIRadiusPointData
strokeWidthnumber

Returns โ€‹

boolean

Inherited from โ€‹

IRect.__hitStroke

Defined in โ€‹

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


__hitPixel โ€‹

โ–ธ __hitPixel(inner): boolean

Parameters โ€‹

NameType
innerIRadiusPointData

Returns โ€‹

boolean

Inherited from โ€‹

IRect.__hitPixel

Defined in โ€‹

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


__drawHitPath โ€‹

โ–ธ __drawHitPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawHitPath

Defined in โ€‹

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


__updateHitCanvas โ€‹

โ–ธ __updateHitCanvas(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateHitCanvas

Defined in โ€‹

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


__render โ€‹

โ–ธ __render(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__render

Defined in โ€‹

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


__drawFast โ€‹

โ–ธ __drawFast(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawFast

Defined in โ€‹

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


__draw โ€‹

โ–ธ __draw(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__draw

Defined in โ€‹

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


__clip โ€‹

โ–ธ __clip(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__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 โ€‹

IRect.__renderShape

Defined in โ€‹

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


__updateWorldOpacity โ€‹

โ–ธ __updateWorldOpacity(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateWorldOpacity

Defined in โ€‹

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


__updateChange โ€‹

โ–ธ __updateChange(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateChange

Defined in โ€‹

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


__drawPath โ€‹

โ–ธ __drawPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawPath

Defined in โ€‹

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


__drawRenderPath โ€‹

โ–ธ __drawRenderPath(canvas): void

Parameters โ€‹

NameType
canvasILeaferCanvas

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawRenderPath

Defined in โ€‹

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


__updatePath โ€‹

โ–ธ __updatePath(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updatePath

Defined in โ€‹

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


__updateRenderPath โ€‹

โ–ธ __updateRenderPath(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateRenderPath

Defined in โ€‹

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


getMotionPathData โ€‹

โ–ธ getMotionPathData(): IMotionPathData

Returns โ€‹

IMotionPathData

Inherited from โ€‹

IRect.getMotionPathData

Defined in โ€‹

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


getMotionPoint โ€‹

โ–ธ getMotionPoint(motionDistance): IRotationPointData

Parameters โ€‹

NameType
motionDistancenumber | IUnitData

Returns โ€‹

IRotationPointData

Inherited from โ€‹

IRect.getMotionPoint

Defined in โ€‹

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


getMotionTotal โ€‹

โ–ธ getMotionTotal(): number

Returns โ€‹

number

Inherited from โ€‹

IRect.getMotionTotal

Defined in โ€‹

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


__updateMotionPath โ€‹

โ–ธ __updateMotionPath(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__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 โ€‹

IRect.__runAnimation

Defined in โ€‹

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


__emitLifeEvent โ€‹

โ–ธ __emitLifeEvent(type): void

Parameters โ€‹

NameType
typestring

Returns โ€‹

void

Inherited from โ€‹

IRect.__emitLifeEvent

Defined in โ€‹

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


__updateSortChildren โ€‹

โ–ธ __updateSortChildren(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.__updateSortChildren

Defined in โ€‹

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


add โ€‹

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

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IRect.add

Defined in โ€‹

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


remove โ€‹

โ–ธ remove(child?, destroy?): void

Parameters โ€‹

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

Returns โ€‹

void

Inherited from โ€‹

IRect.remove

Defined in โ€‹

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


dropTo โ€‹

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

Parameters โ€‹

NameType
parentILeaf
index?number
resize?boolean

Returns โ€‹

void

Inherited from โ€‹

IRect.dropTo

Defined in โ€‹

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


__realSetAttr โ€‹

โ–ธ __realSetAttr(name, newValue): void

Parameters โ€‹

NameType
namestring
newValueIValue

Returns โ€‹

void

Inherited from โ€‹

IRect.__realSetAttr

Defined in โ€‹

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


destroyEventer โ€‹

โ–ธ destroyEventer(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.on_

Defined in โ€‹

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


off_ โ€‹

โ–ธ off_(id): void

Parameters โ€‹

NameType
idIEventListenerId | IEventListenerId[]

Returns โ€‹

void

Inherited from โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.hasEvent

Defined in โ€‹

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


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.destroy

Defined in โ€‹

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


reset โ€‹

โ–ธ reset(data?): void

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

void

Inherited from โ€‹

IRect.reset

Defined in โ€‹

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


set โ€‹

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

Parameters โ€‹

NameType
dataIUIInputData
isTemp?boolean

Returns โ€‹

void

Inherited from โ€‹

IRect.set

Defined in โ€‹

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


toJSON โ€‹

โ–ธ toJSON(options?): IUIJSONData

Parameters โ€‹

NameType
options?IJSONOptions

Returns โ€‹

IUIJSONData

Inherited from โ€‹

IRect.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 โ€‹

IRect.get

Defined in โ€‹

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


createProxyData โ€‹

โ–ธ createProxyData(): IUIInputData

Returns โ€‹

IUIInputData

Inherited from โ€‹

IRect.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 โ€‹

IRect.find

Defined in โ€‹

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


findTag โ€‹

โ–ธ findTag(tag): IUI[]

Parameters โ€‹

NameType
tagstring | string[]

Returns โ€‹

IUI[]

Inherited from โ€‹

IRect.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 โ€‹

IRect.findOne

Defined in โ€‹

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


findId โ€‹

โ–ธ findId(id): IUI

Parameters โ€‹

NameType
idstring | number

Returns โ€‹

IUI

Inherited from โ€‹

IRect.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 โ€‹

IRect.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 โ€‹

IRect.getPathString

Defined in โ€‹

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


load โ€‹

โ–ธ load(): void

Returns โ€‹

void

Inherited from โ€‹

IRect.load

Defined in โ€‹

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


__drawPathByData โ€‹

โ–ธ __drawPathByData(drawer, data): void

Parameters โ€‹

NameType
drawerIPathDrawer
dataIPathCommandData

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawPathByData

Defined in โ€‹

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


__drawPathByBox โ€‹

โ–ธ __drawPathByBox(drawer): void

Parameters โ€‹

NameType
drawerIPathDrawer

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawPathByBox

Defined in โ€‹

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


__drawAfterFill โ€‹

โ–ธ __drawAfterFill(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__drawAfterFill

Defined in โ€‹

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


__drawContent โ€‹

โ–ธ __drawContent(canvas, options): void

Parameters โ€‹

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns โ€‹

void

Inherited from โ€‹

IRect.__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 โ€‹

IRect.animate

Defined in โ€‹

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


killAnimate โ€‹

โ–ธ killAnimate(type?): void

Parameters โ€‹

NameType
type?IAnimateType

Returns โ€‹

void

Inherited from โ€‹

IRect.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 โ€‹

IRect.export

Defined in โ€‹

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


clone โ€‹

โ–ธ clone(data?): IUI

Parameters โ€‹

NameType
data?IUIInputData

Returns โ€‹

IUI

Inherited from โ€‹

IRect.clone

Defined in โ€‹

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

Released under the MIT License.