Skip to content

Interface: IVideo ​

Hierarchy ​

  • IPlayerMethods

  • IRect

    â†ŗ IVideo

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


__ ​

â€ĸ __: IVideoData

Overrides ​

IRect.__

Defined in ​

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


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


play ​

▸ play(): void

Returns ​

void

Inherited from ​

IPlayerMethods.play

Defined in ​

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


pause ​

▸ pause(): void

Returns ​

void

Inherited from ​

IPlayerMethods.pause

Defined in ​

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


stop ​

▸ stop(): void

Returns ​

void

Inherited from ​

IPlayerMethods.stop

Defined in ​

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


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.