Skip to content

Interface: IText ​

Hierarchy ​

Implemented by ​

Table of contents ​

Properties ​

Methods ​

Properties ​

id ​

â€ĸ Optional id: string

Inherited from ​

IUI.id

Defined in ​

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


name ​

â€ĸ Optional name: string

Inherited from ​

IUI.name

Defined in ​

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


className ​

â€ĸ Optional className: string

Inherited from ​

IUI.className

Defined in ​

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


blendMode ​

â€ĸ Optional blendMode: IBlendMode

Inherited from ​

IUI.blendMode

Defined in ​

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


opacity ​

â€ĸ Optional opacity: number

Inherited from ​

IUI.opacity

Defined in ​

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


visible ​

â€ĸ Optional visible: boolean | 0

Inherited from ​

IUI.visible

Defined in ​

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


selected ​

â€ĸ Optional selected: boolean

Inherited from ​

IUI.selected

Defined in ​

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


disabled ​

â€ĸ Optional disabled: boolean

Inherited from ​

IUI.disabled

Defined in ​

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


locked ​

â€ĸ Optional locked: boolean

Inherited from ​

IUI.locked

Defined in ​

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


zIndex ​

â€ĸ Optional zIndex: number

Inherited from ​

IUI.zIndex

Defined in ​

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


mask ​

â€ĸ Optional mask: boolean | IMaskType

Inherited from ​

IUI.mask

Defined in ​

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


eraser ​

â€ĸ Optional eraser: boolean | IEraserType

Inherited from ​

IUI.eraser

Defined in ​

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


x ​

â€ĸ Optional x: number

Inherited from ​

IUI.x

Defined in ​

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


y ​

â€ĸ Optional y: number

Inherited from ​

IUI.y

Defined in ​

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


width ​

â€ĸ Optional width: number

Inherited from ​

IUI.width

Defined in ​

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


height ​

â€ĸ Optional height: number

Inherited from ​

IUI.height

Defined in ​

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


scaleX ​

â€ĸ Optional scaleX: number

Inherited from ​

IUI.scaleX

Defined in ​

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


scaleY ​

â€ĸ Optional scaleY: number

Inherited from ​

IUI.scaleY

Defined in ​

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


rotation ​

â€ĸ Optional rotation: number

Inherited from ​

IUI.rotation

Defined in ​

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


skewX ​

â€ĸ Optional skewX: number

Inherited from ​

IUI.skewX

Defined in ​

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


skewY ​

â€ĸ Optional skewY: number

Inherited from ​

IUI.skewY

Defined in ​

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


scale ​

â€ĸ Optional scale: number | IPointData

Inherited from ​

IUI.scale

Defined in ​

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


offsetX ​

â€ĸ Optional offsetX: number

Inherited from ​

IUI.offsetX

Defined in ​

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


offsetY ​

â€ĸ Optional offsetY: number

Inherited from ​

IUI.offsetY

Defined in ​

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


scrollX ​

â€ĸ Optional scrollX: number

Inherited from ​

IUI.scrollX

Defined in ​

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


scrollY ​

â€ĸ Optional scrollY: number

Inherited from ​

IUI.scrollY

Defined in ​

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


origin ​

â€ĸ Optional origin: IUnitPointData | IDirection

Inherited from ​

IUI.origin

Defined in ​

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


around ​

â€ĸ Optional around: IUnitPointData | IDirection

Inherited from ​

IUI.around

Defined in ​

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


lazy ​

â€ĸ Optional lazy: boolean

Inherited from ​

IUI.lazy

Defined in ​

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


pixelRatio ​

â€ĸ Optional pixelRatio: number

Inherited from ​

IUI.pixelRatio

Defined in ​

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


path ​

â€ĸ Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from ​

IUI.path

Defined in ​

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


windingRule ​

â€ĸ Optional windingRule: IWindingRule

Inherited from ​

IUI.windingRule

Defined in ​

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


closed ​

â€ĸ Optional closed: boolean

Inherited from ​

IUI.closed

Defined in ​

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


flow ​

â€ĸ Optional flow: IFlowType

Inherited from ​

IUI.flow

Defined in ​

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


gap ​

â€ĸ Optional gap: IGap | IPointGap

Inherited from ​

IUI.gap

Defined in ​

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


flowAlign ​

â€ĸ Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from ​

IUI.flowAlign

Defined in ​

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


flowWrap ​

â€ĸ Optional flowWrap: IFlowWrap

Inherited from ​

IUI.flowWrap

Defined in ​

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


itemBox ​

â€ĸ Optional itemBox: IFlowBoxType

Inherited from ​

IUI.itemBox

Defined in ​

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


inFlow ​

â€ĸ Optional inFlow: boolean

Inherited from ​

IUI.inFlow

Defined in ​

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


autoWidth ​

â€ĸ Optional autoWidth: IAutoSize

Inherited from ​

IUI.autoWidth

Defined in ​

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


autoHeight ​

â€ĸ Optional autoHeight: IAutoSize

Inherited from ​

IUI.autoHeight

Defined in ​

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


lockRatio ​

â€ĸ Optional lockRatio: boolean

Inherited from ​

IUI.lockRatio

Defined in ​

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


autoBox ​

â€ĸ Optional autoBox: IAutoBoxData | IConstraint

Inherited from ​

IUI.autoBox

Defined in ​

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


widthRange ​

â€ĸ Optional widthRange: IRangeSize

Inherited from ​

IUI.widthRange

Defined in ​

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


heightRange ​

â€ĸ Optional heightRange: IRangeSize

Inherited from ​

IUI.heightRange

Defined in ​

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


draggable ​

â€ĸ Optional draggable: boolean | IAxis

Inherited from ​

IUI.draggable

Defined in ​

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


dragBounds ​

â€ĸ Optional dragBounds: "parent" | IBoundsData

Inherited from ​

IUI.dragBounds

Defined in ​

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


editable ​

â€ĸ Optional editable: boolean

Inherited from ​

IUI.editable

Defined in ​

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


hittable ​

â€ĸ Optional hittable: boolean

Inherited from ​

IUI.hittable

Defined in ​

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


hitFill ​

â€ĸ Optional hitFill: IHitType

Inherited from ​

IUI.hitFill

Defined in ​

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


hitStroke ​

â€ĸ Optional hitStroke: IHitType

Inherited from ​

IUI.hitStroke

Defined in ​

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


hitBox ​

â€ĸ Optional hitBox: boolean

Inherited from ​

IUI.hitBox

Defined in ​

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


hitChildren ​

â€ĸ Optional hitChildren: boolean

Inherited from ​

IUI.hitChildren

Defined in ​

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


hitSelf ​

â€ĸ Optional hitSelf: boolean

Inherited from ​

IUI.hitSelf

Defined in ​

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


hitRadius ​

â€ĸ Optional hitRadius: number

Inherited from ​

IUI.hitRadius

Defined in ​

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


button ​

â€ĸ Optional button: boolean

Inherited from ​

IUI.button

Defined in ​

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


cursor ​

â€ĸ Optional cursor: ICursorType | ICursorType[]

Inherited from ​

IUI.cursor

Defined in ​

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


motionPath ​

â€ĸ Optional motionPath: boolean

Inherited from ​

IUI.motionPath

Defined in ​

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


motionPrecision ​

â€ĸ Optional motionPrecision: number

Inherited from ​

IUI.motionPrecision

Defined in ​

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


motion ​

â€ĸ Optional motion: number | IUnitData

Inherited from ​

IUI.motion

Defined in ​

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


motionRotation ​

â€ĸ Optional motionRotation: number | boolean

Inherited from ​

IUI.motionRotation

Defined in ​

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


normalStyle ​

â€ĸ Optional normalStyle: IObject

Inherited from ​

IUI.normalStyle

Defined in ​

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


event ​

â€ĸ Optional event: IEventMap

Inherited from ​

IUI.event

Defined in ​

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


data ​

â€ĸ Optional data: IObject

Inherited from ​

IUI.data

Defined in ​

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


noBounds ​

â€ĸ Optional noBounds: boolean

Inherited from ​

IUI.noBounds

Defined in ​

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


tag ​

â€ĸ tag: string

Inherited from ​

IUI.tag

Defined in ​

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


__tag ​

â€ĸ Readonly __tag: string

Inherited from ​

IUI.__tag

Defined in ​

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


innerName ​

â€ĸ Readonly innerName: string

Inherited from ​

IUI.innerName

Defined in ​

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


__DataProcessor ​

â€ĸ Readonly __DataProcessor: IObject

Inherited from ​

IUI.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

â€ĸ Readonly __LayoutProcessor: IObject

Inherited from ​

IUI.__LayoutProcessor

Defined in ​

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


leaferIsCreated ​

â€ĸ Readonly leaferIsCreated: boolean

Inherited from ​

IUI.leaferIsCreated

Defined in ​

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


leaferIsReady ​

â€ĸ Readonly leaferIsReady: boolean

Inherited from ​

IUI.leaferIsReady

Defined in ​

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


isApp ​

â€ĸ Optional Readonly isApp: boolean

Inherited from ​

IUI.isApp

Defined in ​

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


isLeafer ​

â€ĸ Optional Readonly isLeafer: boolean

Inherited from ​

IUI.isLeafer

Defined in ​

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


isBranch ​

â€ĸ Optional Readonly isBranch: boolean

Inherited from ​

IUI.isBranch

Defined in ​

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


isBranchLeaf ​

â€ĸ Optional Readonly isBranchLeaf: boolean

Inherited from ​

IUI.isBranchLeaf

Defined in ​

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


isOutside ​

â€ĸ Optional Readonly isOutside: boolean

Inherited from ​

IUI.isOutside

Defined in ​

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


syncEventer ​

â€ĸ Optional syncEventer: ILeaf

Inherited from ​

IUI.syncEventer

Defined in ​

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


lockNormalStyle ​

â€ĸ Optional lockNormalStyle: boolean

Inherited from ​

IUI.lockNormalStyle

Defined in ​

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


__layout ​

â€ĸ __layout: ILeafLayout

Inherited from ​

IUI.__layout

Defined in ​

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


__world ​

â€ĸ __world: IMatrixWithBoundsScaleData

Inherited from ​

IUI.__world

Defined in ​

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


__local ​

â€ĸ Optional __local: IMatrixWithBoundsData

Inherited from ​

IUI.__local

Defined in ​

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


__nowWorld ​

â€ĸ Optional __nowWorld: IMatrixWithBoundsScaleData

Inherited from ​

IUI.__nowWorld

Defined in ​

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


__cameraWorld ​

â€ĸ Optional __cameraWorld: IMatrixWithBoundsScaleData

Inherited from ​

IUI.__cameraWorld

Defined in ​

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


__localMatrix ​

â€ĸ Readonly __localMatrix: IMatrixData

Inherited from ​

IUI.__localMatrix

Defined in ​

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


__localBoxBounds ​

â€ĸ Readonly __localBoxBounds: IBoundsData

Inherited from ​

IUI.__localBoxBounds

Defined in ​

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


__worldOpacity ​

â€ĸ __worldOpacity: number

Inherited from ​

IUI.__worldOpacity

Defined in ​

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


worldTransform ​

â€ĸ Readonly worldTransform: IMatrixWithScaleData

Inherited from ​

IUI.worldTransform

Defined in ​

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


localTransform ​

â€ĸ Readonly localTransform: IMatrixData

Inherited from ​

IUI.localTransform

Defined in ​

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


boxBounds ​

â€ĸ Readonly boxBounds: IBoundsData

Inherited from ​

IUI.boxBounds

Defined in ​

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


renderBounds ​

â€ĸ Readonly renderBounds: IBoundsData

Inherited from ​

IUI.renderBounds

Defined in ​

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


worldBoxBounds ​

â€ĸ Readonly worldBoxBounds: IBoundsData

Inherited from ​

IUI.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

â€ĸ Readonly worldStrokeBounds: IBoundsData

Inherited from ​

IUI.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

â€ĸ Readonly worldRenderBounds: IBoundsData

Inherited from ​

IUI.worldRenderBounds

Defined in ​

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


worldOpacity ​

â€ĸ Readonly worldOpacity: number

Inherited from ​

IUI.worldOpacity

Defined in ​

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


__level ​

â€ĸ __level: number

Inherited from ​

IUI.__level

Defined in ​

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


__tempNumber ​

â€ĸ Optional __tempNumber: number

Inherited from ​

IUI.__tempNumber

Defined in ​

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


__worldFlipped ​

â€ĸ Readonly __worldFlipped: boolean

Inherited from ​

IUI.__worldFlipped

Defined in ​

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


__hasAutoLayout ​

â€ĸ Optional __hasAutoLayout: boolean

Inherited from ​

IUI.__hasAutoLayout

Defined in ​

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


__hasMotionPath ​

â€ĸ Optional __hasMotionPath: boolean

Inherited from ​

IUI.__hasMotionPath

Defined in ​

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


__hasMask ​

â€ĸ Optional __hasMask: boolean

Inherited from ​

IUI.__hasMask

Defined in ​

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


__hasEraser ​

â€ĸ Optional __hasEraser: boolean

Inherited from ​

IUI.__hasEraser

Defined in ​

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


__hitCanvas ​

â€ĸ Optional __hitCanvas: IHitCanvas

Inherited from ​

IUI.__hitCanvas

Defined in ​

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


__flowBounds ​

â€ĸ Optional __flowBounds: IBoundsData

Inherited from ​

IUI.__flowBounds

Defined in ​

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


__widthGrow ​

â€ĸ Optional __widthGrow: number

Inherited from ​

IUI.__widthGrow

Defined in ​

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


__heightGrow ​

â€ĸ Optional __heightGrow: number

Inherited from ​

IUI.__heightGrow

Defined in ​

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


__hasGrow ​

â€ĸ Optional __hasGrow: boolean

Inherited from ​

IUI.__hasGrow

Defined in ​

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


__onlyHitMask ​

â€ĸ Readonly __onlyHitMask: boolean

Inherited from ​

IUI.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

â€ĸ Readonly __ignoreHitWorld: boolean

Inherited from ​

IUI.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

â€ĸ Readonly __inLazyBounds: boolean

Inherited from ​

IUI.__inLazyBounds

Defined in ​

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


pathInputed ​

â€ĸ Readonly pathInputed: boolean

Inherited from ​

IUI.pathInputed

Defined in ​

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


destroyed ​

â€ĸ destroyed: boolean

Inherited from ​

IUI.destroyed

Defined in ​

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


innerId ​

â€ĸ Readonly innerId: number

Inherited from ​

IUI.innerId

Defined in ​

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


__captureMap ​

â€ĸ Optional __captureMap: IEventListenerMap

Inherited from ​

IUI.__captureMap

Defined in ​

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


__bubbleMap ​

â€ĸ Optional __bubbleMap: IEventListenerMap

Inherited from ​

IUI.__bubbleMap

Defined in ​

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


cornerRadius ​

â€ĸ Optional cornerRadius: string | IFourNumber

Inherited from ​

IUI.cornerRadius

Defined in ​

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


cornerSmoothing ​

â€ĸ Optional cornerSmoothing: number

Inherited from ​

IUI.cornerSmoothing

Defined in ​

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


fill ​

â€ĸ Optional fill: IFill

Inherited from ​

IUI.fill

Defined in ​

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


stroke ​

â€ĸ Optional stroke: IStroke

Inherited from ​

IUI.stroke

Defined in ​

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


strokeAlign ​

â€ĸ Optional strokeAlign: IStrokeAlign

Inherited from ​

IUI.strokeAlign

Defined in ​

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


strokeWidth ​

â€ĸ Optional strokeWidth: string | IFourNumber

Inherited from ​

IUI.strokeWidth

Defined in ​

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


strokeWidthFixed ​

â€ĸ Optional strokeWidthFixed: boolean

Inherited from ​

IUI.strokeWidthFixed

Defined in ​

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


strokeCap ​

â€ĸ Optional strokeCap: IStrokeCap

Inherited from ​

IUI.strokeCap

Defined in ​

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


strokeJoin ​

â€ĸ Optional strokeJoin: IStrokeJoin

Inherited from ​

IUI.strokeJoin

Defined in ​

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


dashPattern ​

â€ĸ Optional dashPattern: string | number[]

Inherited from ​

IUI.dashPattern

Defined in ​

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


dashOffset ​

â€ĸ Optional dashOffset: number

Inherited from ​

IUI.dashOffset

Defined in ​

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


miterLimit ​

â€ĸ Optional miterLimit: number

Inherited from ​

IUI.miterLimit

Defined in ​

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


startArrow ​

â€ĸ Optional startArrow: IArrowType

Inherited from ​

IUI.startArrow

Defined in ​

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


endArrow ​

â€ĸ Optional endArrow: IArrowType

Inherited from ​

IUI.endArrow

Defined in ​

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


fontFamily ​

â€ĸ Optional fontFamily: string

Inherited from ​

ITextStyleAttrData.fontFamily

Defined in ​

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


fontSize ​

â€ĸ Optional fontSize: number

Inherited from ​

ITextStyleAttrData.fontSize

Defined in ​

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


fontWeight ​

â€ĸ Optional fontWeight: IFontWeight

Inherited from ​

ITextStyleAttrData.fontWeight

Defined in ​

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


italic ​

â€ĸ Optional italic: boolean

Inherited from ​

ITextStyleAttrData.italic

Defined in ​

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


textCase ​

â€ĸ Optional textCase: ITextCase

Inherited from ​

ITextStyleAttrData.textCase

Defined in ​

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


textDecoration ​

â€ĸ Optional textDecoration: ITextDecoration

Inherited from ​

ITextStyleAttrData.textDecoration

Defined in ​

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


letterSpacing ​

â€ĸ Optional letterSpacing: number | IUnitData

Inherited from ​

ITextStyleAttrData.letterSpacing

Defined in ​

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


lineHeight ​

â€ĸ Optional lineHeight: number | IUnitData

Inherited from ​

ITextStyleAttrData.lineHeight

Defined in ​

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


paraIndent ​

â€ĸ Optional paraIndent: number

Inherited from ​

ITextStyleAttrData.paraIndent

Defined in ​

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


paraSpacing ​

â€ĸ Optional paraSpacing: number

Inherited from ​

ITextStyleAttrData.paraSpacing

Defined in ​

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


textAlign ​

â€ĸ Optional textAlign: ITextAlign

Inherited from ​

ITextStyleAttrData.textAlign

Defined in ​

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


verticalAlign ​

â€ĸ Optional verticalAlign: IVerticalAlign

Inherited from ​

ITextStyleAttrData.verticalAlign

Defined in ​

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


autoSizeAlign ​

â€ĸ Optional autoSizeAlign: boolean

Inherited from ​

ITextStyleAttrData.autoSizeAlign

Defined in ​

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


textWrap ​

â€ĸ Optional textWrap: ITextWrap

Inherited from ​

ITextStyleAttrData.textWrap

Defined in ​

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


textOverflow ​

â€ĸ Optional textOverflow: string

Inherited from ​

ITextStyleAttrData.textOverflow

Defined in ​

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


shadow ​

â€ĸ Optional shadow: string | IShadowEffect | IShadowEffect[]

Inherited from ​

IUI.shadow

Defined in ​

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


innerShadow ​

â€ĸ Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Inherited from ​

IUI.innerShadow

Defined in ​

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


blur ​

â€ĸ Optional blur: number | IBlurEffect

Inherited from ​

IUI.blur

Defined in ​

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


backgroundBlur ​

â€ĸ Optional backgroundBlur: number | IBlurEffect

Inherited from ​

IUI.backgroundBlur

Defined in ​

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


grayscale ​

â€ĸ Optional grayscale: number | IGrayscaleEffect

Inherited from ​

IUI.grayscale

Defined in ​

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


__ ​

â€ĸ __: ITextData

Overrides ​

IUI.__

Defined in ​

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


text ​

â€ĸ Optional text: string | number

Inherited from ​

ITextAttrData.text

Defined in ​

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


padding ​

â€ĸ Optional padding: IFourNumber

Inherited from ​

IUI.padding

Defined in ​

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


resizeFontSize ​

â€ĸ Optional resizeFontSize: boolean

Inherited from ​

ITextAttrData.resizeFontSize

Defined in ​

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


app ​

â€ĸ Readonly app: ILeafer

Inherited from ​

IUI.app

Defined in ​

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


leafer ​

â€ĸ Optional leafer: ILeafer

Inherited from ​

IUI.leafer

Defined in ​

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


parent ​

â€ĸ Optional parent: IGroup

Inherited from ​

IUI.parent

Defined in ​

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


zoomLayer ​

â€ĸ Optional zoomLayer: IGroup

Inherited from ​

IUI.zoomLayer

Defined in ​

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


isFrame ​

â€ĸ Optional Readonly isFrame: boolean

Inherited from ​

IUI.isFrame

Defined in ​

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


isOverflow ​

â€ĸ Optional isOverflow: boolean

Inherited from ​

IUI.isOverflow

Defined in ​

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


proxyData ​

â€ĸ Optional proxyData: IUIInputData

Inherited from ​

IUI.proxyData

Defined in ​

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


__proxyData ​

â€ĸ Optional __proxyData: IUIInputData

Inherited from ​

IUI.__proxyData

Defined in ​

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


animation ​

â€ĸ Optional animation: IAnimation

Inherited from ​

IUI.animation

Defined in ​

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


animationOut ​

â€ĸ Optional animationOut: IAnimation

Inherited from ​

IUI.animationOut

Defined in ​

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


editConfig ​

â€ĸ Optional editConfig: IEditorConfig

Inherited from ​

IUI.editConfig

Defined in ​

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


editOuter ​

â€ĸ editOuter: string

Inherited from ​

IUI.editOuter

Defined in ​

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


editInner ​

â€ĸ editInner: string

Inherited from ​

IUI.editInner

Defined in ​

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


children ​

â€ĸ Optional children: IUI[]

Inherited from ​

IUI.children

Defined in ​

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


__animate ​

â€ĸ Optional __animate: IAnimate

Inherited from ​

IUI.__animate

Defined in ​

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


pen ​

â€ĸ Readonly pen: IPathCreator

Inherited from ​

IUI.pen

Defined in ​

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


transition ​

â€ĸ Optional transition: ITransition

Inherited from ​

IUI.transition

Defined in ​

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


transitionOut ​

â€ĸ Optional transitionOut: ITransition

Inherited from ​

IUI.transitionOut

Defined in ​

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


states ​

â€ĸ Optional states: IStates

Inherited from ​

IUI.states

Defined in ​

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


state ​

â€ĸ Optional state: string

Inherited from ​

IUI.state

Defined in ​

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


hoverStyle ​

â€ĸ Optional hoverStyle: IStateStyle

Inherited from ​

IUI.hoverStyle

Defined in ​

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


pressStyle ​

â€ĸ Optional pressStyle: IStateStyle

Inherited from ​

IUI.pressStyle

Defined in ​

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


focusStyle ​

â€ĸ Optional focusStyle: IStateStyle

Inherited from ​

IUI.focusStyle

Defined in ​

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


selectedStyle ​

â€ĸ Optional selectedStyle: IStateStyle

Inherited from ​

IUI.selectedStyle

Defined in ​

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


disabledStyle ​

â€ĸ Optional disabledStyle: IStateStyle

Inherited from ​

IUI.disabledStyle

Defined in ​

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

Methods ​

resetCustom ​

▸ resetCustom(): void

Returns ​

void

Inherited from ​

IUI.resetCustom

Defined in ​

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


waitParent ​

▸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

IUI.waitParent

Defined in ​

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


waitLeafer ​

▸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Inherited from ​

IUI.waitLeafer

Defined in ​

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


nextRender ​

▸ nextRender(item, bind?, off?): void

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Inherited from ​

IUI.nextRender

Defined in ​

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


removeNextRender ​

▸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Inherited from ​

IUI.removeNextRender

Defined in ​

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


__bindLeafer ​

▸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Inherited from ​

IUI.__bindLeafer

Defined in ​

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


setAttr ​

▸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Inherited from ​

IUI.setAttr

Defined in ​

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


getAttr ​

▸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Inherited from ​

IUI.getAttr

Defined in ​

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


getComputedAttr ​

▸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Inherited from ​

IUI.getComputedAttr

Defined in ​

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


toString ​

▸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Inherited from ​

IUI.toString

Defined in ​

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


toSVG ​

▸ toSVG(): string

Returns ​

string

Inherited from ​

IUI.toSVG

Defined in ​

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


__SVG ​

▸ __SVG(data): void

Parameters ​

NameType
dataIObject

Returns ​

void

Inherited from ​

IUI.__SVG

Defined in ​

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


toHTML ​

▸ toHTML(): string

Returns ​

string

Inherited from ​

IUI.toHTML

Defined in ​

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


__setAttr ​

▸ __setAttr(attrName, newValue, checkFiniteNumber?): boolean

Parameters ​

NameType
attrNamestring
newValueIValue
checkFiniteNumber?boolean

Returns ​

boolean

Inherited from ​

IUI.__setAttr

Defined in ​

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


__getAttr ​

▸ __getAttr(attrName): IValue

Parameters ​

NameType
attrNamestring

Returns ​

IValue

Inherited from ​

IUI.__getAttr

Defined in ​

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


setProxyAttr ​

▸ setProxyAttr(name, newValue): void

Parameters ​

NameType
namestring
newValueIValue

Returns ​

void

Inherited from ​

IUI.setProxyAttr

Defined in ​

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


getProxyAttr ​

▸ getProxyAttr(name): IValue

Parameters ​

NameType
namestring

Returns ​

IValue

Inherited from ​

IUI.getProxyAttr

Defined in ​

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


focus ​

▸ focus(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Inherited from ​

IUI.focus

Defined in ​

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


updateState ​

▸ updateState(): void

Returns ​

void

Inherited from ​

IUI.updateState

Defined in ​

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


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Inherited from ​

IUI.updateLayout

Defined in ​

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


forceUpdate ​

▸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Inherited from ​

IUI.forceUpdate

Defined in ​

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


forceRender ​

▸ forceRender(bounds?, sync?): void

Parameters ​

NameType
bounds?IBoundsData
sync?boolean

Returns ​

void

Inherited from ​

IUI.forceRender

Defined in ​

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


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Inherited from ​

IUI.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Inherited from ​

IUI.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateLocalRenderBounds

Defined in ​

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


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateContentBounds

Defined in ​

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


__updateBoxBounds ​

▸ __updateBoxBounds(secondLayout?): void

Parameters ​

NameType
secondLayout?boolean

Returns ​

void

Inherited from ​

IUI.__updateBoxBounds

Defined in ​

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


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Inherited from ​

IUI.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Inherited from ​

IUI.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Inherited from ​

IUI.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Inherited from ​

IUI.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Inherited from ​

IUI.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Inherited from ​

IUI.__updateRenderSpread

Defined in ​

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


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Inherited from ​

IUI.__onUpdateSize

Defined in ​

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


__updateEraser ​

▸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Inherited from ​

IUI.__updateEraser

Defined in ​

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


__updateMask ​

▸ __updateMask(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Inherited from ​

IUI.__updateMask

Defined in ​

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


__renderMask ​

▸ __renderMask(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__renderMask

Defined in ​

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


__renderEraser ​

▸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__renderEraser

Defined in ​

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


__getNowWorld ​

▸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Inherited from ​

IUI.__getNowWorld

Defined in ​

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


getTransform ​

▸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Inherited from ​

IUI.getTransform

Defined in ​

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


getBounds ​

▸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Inherited from ​

IUI.getBounds

Defined in ​

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


getLayoutBounds ​

▸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters ​

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

Returns ​

ILayoutBoundsData

Inherited from ​

IUI.getLayoutBounds

Defined in ​

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


getLayoutPoints ​

▸ getLayoutPoints(type?, relative?): IPointData[]

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Inherited from ​

IUI.getLayoutPoints

Defined in ​

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


getWorldBounds ​

▸ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Inherited from ​

IUI.getWorldBounds

Defined in ​

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


worldToLocal ​

▸ worldToLocal(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

IUI.worldToLocal

Defined in ​

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


localToWorld ​

▸ localToWorld(local, to?, distance?, relative?): void

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

IUI.localToWorld

Defined in ​

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


worldToInner ​

▸ worldToInner(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

IUI.worldToInner

Defined in ​

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


innerToWorld ​

▸ innerToWorld(inner, to?, distance?, relative?): void

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Inherited from ​

IUI.innerToWorld

Defined in ​

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


getBoxPoint ​

▸ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getBoxPoint

Defined in ​

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


getBoxPointByInner ​

▸ getBoxPointByInner(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getBoxPointByInner

Defined in ​

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


getInnerPoint ​

▸ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getInnerPoint

Defined in ​

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


getInnerPointByBox ​

▸ getInnerPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getInnerPointByBox

Defined in ​

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


getInnerPointByLocal ​

▸ getInnerPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getInnerPointByLocal

Defined in ​

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


getLocalPoint ​

▸ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getLocalPoint

Defined in ​

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


getLocalPointByInner ​

▸ getLocalPointByInner(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getLocalPointByInner

Defined in ​

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


getPagePoint ​

▸ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getPagePoint

Defined in ​

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


getWorldPoint ​

▸ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getWorldPoint

Defined in ​

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


getWorldPointByBox ​

▸ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getWorldPointByBox

Defined in ​

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


getWorldPointByLocal ​

▸ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getWorldPointByLocal

Defined in ​

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


getWorldPointByPage ​

▸ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Inherited from ​

IUI.getWorldPointByPage

Defined in ​

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


setTransform ​

▸ setTransform(transform?, resize?): void

Parameters ​

NameType
transform?IMatrixData
resize?boolean

Returns ​

void

Inherited from ​

IUI.setTransform

Defined in ​

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


transform ​

▸ transform(transform?, resize?): void

Parameters ​

NameType
transform?IMatrixData
resize?boolean

Returns ​

void

Inherited from ​

IUI.transform

Defined in ​

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


move ​

▸ move(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Inherited from ​

IUI.move

Defined in ​

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


moveInner ​

▸ moveInner(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Inherited from ​

IUI.moveInner

Defined in ​

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


scaleOf ​

▸ scaleOf(origin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Inherited from ​

IUI.scaleOf

Defined in ​

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


rotateOf ​

▸ rotateOf(origin, rotation): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber

Returns ​

void

Inherited from ​

IUI.rotateOf

Defined in ​

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


skewOf ​

▸ skewOf(origin, skewX, skewY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Inherited from ​

IUI.skewOf

Defined in ​

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


transformWorld ​

▸ transformWorld(worldTransform?, resize?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean

Returns ​

void

Inherited from ​

IUI.transformWorld

Defined in ​

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


moveWorld ​

▸ moveWorld(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Inherited from ​

IUI.moveWorld

Defined in ​

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


scaleOfWorld ​

▸ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Inherited from ​

IUI.scaleOfWorld

Defined in ​

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


rotateOfWorld ​

▸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Inherited from ​

IUI.rotateOfWorld

Defined in ​

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


skewOfWorld ​

▸ skewOfWorld(worldOrigin, skewX, skewY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Inherited from ​

IUI.skewOfWorld

Defined in ​

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


flip ​

▸ flip(axis): void

Parameters ​

NameType
axisIAxis

Returns ​

void

Inherited from ​

IUI.flip

Defined in ​

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


scaleResize ​

▸ scaleResize(scaleX, scaleY, noResize?): void

Parameters ​

NameType
scaleXnumber
scaleYnumber
noResize?boolean

Returns ​

void

Inherited from ​

IUI.scaleResize

Defined in ​

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


__scaleResize ​

▸ __scaleResize(scaleX, scaleY): void

Parameters ​

NameType
scaleXnumber
scaleYnumber

Returns ​

void

Inherited from ​

IUI.__scaleResize

Defined in ​

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


resizeWidth ​

▸ resizeWidth(width): void

Parameters ​

NameType
widthnumber

Returns ​

void

Inherited from ​

IUI.resizeWidth

Defined in ​

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


resizeHeight ​

▸ resizeHeight(height): void

Parameters ​

NameType
heightnumber

Returns ​

void

Inherited from ​

IUI.resizeHeight

Defined in ​

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


__hitWorld ​

▸ __hitWorld(point): boolean

Parameters ​

NameType
pointIRadiusPointData

Returns ​

boolean

Inherited from ​

IUI.__hitWorld

Defined in ​

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


__hit ​

▸ __hit(local): boolean

Parameters ​

NameType
localIRadiusPointData

Returns ​

boolean

Inherited from ​

IUI.__hit

Defined in ​

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


__hitFill ​

▸ __hitFill(inner): boolean

Parameters ​

NameType
innerIRadiusPointData

Returns ​

boolean

Inherited from ​

IUI.__hitFill

Defined in ​

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


__hitStroke ​

▸ __hitStroke(inner, strokeWidth): boolean

Parameters ​

NameType
innerIRadiusPointData
strokeWidthnumber

Returns ​

boolean

Inherited from ​

IUI.__hitStroke

Defined in ​

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


__hitPixel ​

▸ __hitPixel(inner): boolean

Parameters ​

NameType
innerIRadiusPointData

Returns ​

boolean

Inherited from ​

IUI.__hitPixel

Defined in ​

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


__drawHitPath ​

▸ __drawHitPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Inherited from ​

IUI.__drawHitPath

Defined in ​

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


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Inherited from ​

IUI.__updateHitCanvas

Defined in ​

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


__render ​

▸ __render(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__render

Defined in ​

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


__drawFast ​

▸ __drawFast(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__drawFast

Defined in ​

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


__draw ​

▸ __draw(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__draw

Defined in ​

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


__clip ​

▸ __clip(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__clip

Defined in ​

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


__renderShape ​

▸ __renderShape(canvas, options, ignoreFill?, ignoreStroke?): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions
ignoreFill?boolean
ignoreStroke?boolean

Returns ​

void

Inherited from ​

IUI.__renderShape

Defined in ​

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


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Inherited from ​

IUI.__updateWorldOpacity

Defined in ​

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


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Inherited from ​

IUI.__updateChange

Defined in ​

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


__drawPath ​

▸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Inherited from ​

IUI.__drawPath

Defined in ​

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


__drawRenderPath ​

▸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Inherited from ​

IUI.__drawRenderPath

Defined in ​

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


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Inherited from ​

IUI.__updatePath

Defined in ​

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


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Inherited from ​

IUI.__updateRenderPath

Defined in ​

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


getMotionPathData ​

▸ getMotionPathData(): IMotionPathData

Returns ​

IMotionPathData

Inherited from ​

IUI.getMotionPathData

Defined in ​

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


getMotionPoint ​

▸ getMotionPoint(motionDistance): IRotationPointData

Parameters ​

NameType
motionDistancenumber | IUnitData

Returns ​

IRotationPointData

Inherited from ​

IUI.getMotionPoint

Defined in ​

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


getMotionTotal ​

▸ getMotionTotal(): number

Returns ​

number

Inherited from ​

IUI.getMotionTotal

Defined in ​

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


__updateMotionPath ​

▸ __updateMotionPath(): void

Returns ​

void

Inherited from ​

IUI.__updateMotionPath

Defined in ​

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


__runAnimation ​

▸ __runAnimation(type, complete?): void

Parameters ​

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

Returns ​

void

Inherited from ​

IUI.__runAnimation

Defined in ​

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


__emitLifeEvent ​

▸ __emitLifeEvent(type): void

Parameters ​

NameType
typestring

Returns ​

void

Inherited from ​

IUI.__emitLifeEvent

Defined in ​

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


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Inherited from ​

IUI.__updateSortChildren

Defined in ​

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


add ​

▸ add(child, index?): void

Parameters ​

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

Returns ​

void

Inherited from ​

IUI.add

Defined in ​

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


remove ​

▸ remove(child?, destroy?): void

Parameters ​

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

Returns ​

void

Inherited from ​

IUI.remove

Defined in ​

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


dropTo ​

▸ dropTo(parent, index?, resize?): void

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Inherited from ​

IUI.dropTo

Defined in ​

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


__realSetAttr ​

▸ __realSetAttr(name, newValue): void

Parameters ​

NameType
namestring
newValueIValue

Returns ​

void

Inherited from ​

IUI.__realSetAttr

Defined in ​

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


destroyEventer ​

▸ destroyEventer(): void

Returns ​

void

Inherited from ​

IUI.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 ​

IUI.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 ​

IUI.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 ​

IUI.on_

Defined in ​

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


off_ ​

▸ off_(id): void

Parameters ​

NameType
idIEventListenerId | IEventListenerId[]

Returns ​

void

Inherited from ​

IUI.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 ​

IUI.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 ​

IUI.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 ​

IUI.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 ​

IUI.hasEvent

Defined in ​

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


destroy ​

▸ destroy(): void

Returns ​

void

Inherited from ​

IUI.destroy

Defined in ​

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


reset ​

▸ reset(data?): void

Parameters ​

NameType
data?IUIInputData

Returns ​

void

Inherited from ​

IUI.reset

Defined in ​

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


set ​

▸ set(data, transition?): void

Parameters ​

NameType
dataIUIInputData
transition?ITransition | "temp"

Returns ​

void

Inherited from ​

IUI.set

Defined in ​

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


toJSON ​

▸ toJSON(options?): IUIJSONData

Parameters ​

NameType
options?IJSONOptions

Returns ​

IUIJSONData

Inherited from ​

IUI.toJSON

Defined in ​

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


get ​

▸ get(name?): IValue | IUIInputData

Parameters ​

NameType
name?string | string[] | IUIInputData

Returns ​

IValue | IUIInputData

Inherited from ​

IUI.get

Defined in ​

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


createProxyData ​

▸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Inherited from ​

IUI.createProxyData

Defined in ​

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


find ​

▸ find(condition, options?): IUI[]

Parameters ​

NameType
conditionstring | number | IFindCondition | IFindUIMethod
options?any

Returns ​

IUI[]

Inherited from ​

IUI.find

Defined in ​

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


findTag ​

▸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Inherited from ​

IUI.findTag

Defined in ​

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


findOne ​

▸ findOne(condition, options?): IUI

Parameters ​

NameType
conditionstring | number | IFindCondition | IFindUIMethod
options?any

Returns ​

IUI

Inherited from ​

IUI.findOne

Defined in ​

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


findId ​

▸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Inherited from ​

IUI.findId

Defined in ​

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


getPath ​

▸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Inherited from ​

IUI.getPath

Defined in ​

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


getPathString ​

▸ getPathString(curve?, pathForRender?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

string

Inherited from ​

IUI.getPathString

Defined in ​

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


load ​

▸ load(): void

Returns ​

void

Inherited from ​

IUI.load

Defined in ​

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


__drawPathByData ​

▸ __drawPathByData(drawer, data): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData

Returns ​

void

Inherited from ​

IUI.__drawPathByData

Defined in ​

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


__drawPathByBox ​

▸ __drawPathByBox(drawer): void

Parameters ​

NameType
drawerIPathDrawer

Returns ​

void

Inherited from ​

IUI.__drawPathByBox

Defined in ​

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


__drawAfterFill ​

▸ __drawAfterFill(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__drawAfterFill

Defined in ​

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


__drawContent ​

▸ __drawContent(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Inherited from ​

IUI.__drawContent

Defined in ​

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


animate ​

▸ animate(keyframe?, options?, type?, isTemp?): IAnimate

Parameters ​

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

Returns ​

IAnimate

Inherited from ​

IUI.animate

Defined in ​

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


killAnimate ​

▸ killAnimate(type?): void

Parameters ​

NameType
type?IAnimateType

Returns ​

void

Inherited from ​

IUI.killAnimate

Defined in ​

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


export ​

▸ export(filename, options?): Promise<IExportResult>

Parameters ​

NameType
filenamestring
options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Inherited from ​

IUI.export

Defined in ​

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


clone ​

▸ clone(data?): IUI

Parameters ​

NameType
data?IUIInputData

Returns ​

IUI

Inherited from ​

IUI.clone

Defined in ​

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

Released under the MIT License.