Skip to content

Class: Star ​

Hierarchy ​

  • UI

    â†ŗ Star

Implements ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

â€ĸ new Star(data?): Star

Parameters ​

NameType
data?IStarInputData

Returns ​

Star

Overrides ​

UI.constructor

Defined in ​

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

Properties ​

innerId ​

â€ĸ Readonly innerId: number

Implementation of ​

IStar.innerId

Inherited from ​

UI.innerId

Defined in ​

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


__layout ​

â€ĸ __layout: ILeafLayout

Implementation of ​

IStar.__layout

Inherited from ​

UI.__layout

Defined in ​

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


__world ​

â€ĸ __world: IMatrixWithBoundsScaleData

Implementation of ​

IStar.__world

Inherited from ​

UI.__world

Defined in ​

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


__local ​

â€ĸ Optional __local: IMatrixWithBoundsData

Implementation of ​

IStar.__local

Inherited from ​

UI.__local

Defined in ​

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


__nowWorld ​

â€ĸ Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

IStar.__nowWorld

Inherited from ​

UI.__nowWorld

Defined in ​

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


__cameraWorld ​

â€ĸ Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

IStar.__cameraWorld

Inherited from ​

UI.__cameraWorld

Defined in ​

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


__worldOpacity ​

â€ĸ __worldOpacity: number

Implementation of ​

IStar.__worldOpacity

Inherited from ​

UI.__worldOpacity

Defined in ​

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


__level ​

â€ĸ __level: number

Implementation of ​

IStar.__level

Inherited from ​

UI.__level

Defined in ​

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


__tempNumber ​

â€ĸ __tempNumber: number

Implementation of ​

IStar.__tempNumber

Inherited from ​

UI.__tempNumber

Defined in ​

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


__hasAutoLayout ​

â€ĸ Optional __hasAutoLayout: boolean

Implementation of ​

IStar.__hasAutoLayout

Inherited from ​

UI.__hasAutoLayout

Defined in ​

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


__hasMask ​

â€ĸ Optional __hasMask: boolean

Implementation of ​

IStar.__hasMask

Inherited from ​

UI.__hasMask

Defined in ​

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


__hasEraser ​

â€ĸ Optional __hasEraser: boolean

Implementation of ​

IStar.__hasEraser

Inherited from ​

UI.__hasEraser

Defined in ​

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


__hitCanvas ​

â€ĸ Optional __hitCanvas: IHitCanvas

Implementation of ​

IStar.__hitCanvas

Inherited from ​

UI.__hitCanvas

Defined in ​

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


__captureMap ​

â€ĸ Optional __captureMap: IEventListenerMap

Implementation of ​

IStar.__captureMap

Inherited from ​

UI.__captureMap

Defined in ​

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


__bubbleMap ​

â€ĸ Optional __bubbleMap: IEventListenerMap

Implementation of ​

IStar.__bubbleMap

Inherited from ​

UI.__bubbleMap

Defined in ​

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


__parentWait ​

â€ĸ Optional __parentWait: IFunction[]

Implementation of ​

IStar.__parentWait

Inherited from ​

UI.__parentWait

Defined in ​

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


__leaferWait ​

â€ĸ Optional __leaferWait: IFunction[]

Implementation of ​

IStar.__leaferWait

Inherited from ​

UI.__leaferWait

Defined in ​

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


noBounds ​

â€ĸ Optional noBounds: boolean

Implementation of ​

IStar.noBounds

Inherited from ​

UI.noBounds

Defined in ​

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


destroyed ​

â€ĸ destroyed: boolean

Implementation of ​

IStar.destroyed

Inherited from ​

UI.destroyed

Defined in ​

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


__ ​

â€ĸ __: IStarData

Implementation of ​

IStar.__

Overrides ​

UI.__

Defined in ​

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


corners ​

â€ĸ Optional corners: number

Implementation of ​

IStar.corners

Defined in ​

ui/packages/display/src/Star.ts:23


innerRadius ​

â€ĸ Optional innerRadius: number

Implementation of ​

IStar.innerRadius

Defined in ​

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


proxyData ​

â€ĸ Optional proxyData: IUIInputData

Implementation of ​

IStar.proxyData

Inherited from ​

UI.proxyData

Defined in ​

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


__proxyData ​

â€ĸ Optional __proxyData: IUIInputData

Implementation of ​

IStar.__proxyData

Inherited from ​

UI.__proxyData

Defined in ​

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


leafer ​

â€ĸ Optional leafer: ILeafer

Implementation of ​

IStar.leafer

Inherited from ​

UI.leafer

Defined in ​

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


parent ​

â€ĸ Optional parent: IGroup

Implementation of ​

IStar.parent

Inherited from ​

UI.parent

Defined in ​

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


zoomLayer ​

â€ĸ zoomLayer: IGroup

Implementation of ​

IStar.zoomLayer

Inherited from ​

UI.zoomLayer

Defined in ​

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


children ​

â€ĸ Optional children: IUI[]

Implementation of ​

IStar.children

Inherited from ​

UI.children

Defined in ​

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


id ​

â€ĸ Optional id: string

Implementation of ​

IStar.id

Inherited from ​

UI.id

Defined in ​

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


name ​

â€ĸ Optional name: string

Implementation of ​

IStar.name

Inherited from ​

UI.name

Defined in ​

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


className ​

â€ĸ Optional className: string

Implementation of ​

IStar.className

Inherited from ​

UI.className

Defined in ​

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


blendMode ​

â€ĸ Optional blendMode: IBlendMode

Implementation of ​

IStar.blendMode

Inherited from ​

UI.blendMode

Defined in ​

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


opacity ​

â€ĸ Optional opacity: number

Implementation of ​

IStar.opacity

Inherited from ​

UI.opacity

Defined in ​

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


visible ​

â€ĸ Optional visible: boolean | 0

Implementation of ​

IStar.visible

Inherited from ​

UI.visible

Defined in ​

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


selected ​

â€ĸ Optional selected: boolean

Implementation of ​

IStar.selected

Inherited from ​

UI.selected

Defined in ​

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


disabled ​

â€ĸ Optional disabled: boolean

Implementation of ​

IStar.disabled

Inherited from ​

UI.disabled

Defined in ​

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


locked ​

â€ĸ Optional locked: boolean

Implementation of ​

IStar.locked

Inherited from ​

UI.locked

Defined in ​

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


zIndex ​

â€ĸ Optional zIndex: number

Implementation of ​

IStar.zIndex

Inherited from ​

UI.zIndex

Defined in ​

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


mask ​

â€ĸ Optional mask: boolean | IMaskType

Implementation of ​

IStar.mask

Inherited from ​

UI.mask

Defined in ​

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


eraser ​

â€ĸ Optional eraser: boolean | IEraserType

Implementation of ​

IStar.eraser

Inherited from ​

UI.eraser

Defined in ​

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


x ​

â€ĸ Optional x: number

Implementation of ​

IStar.x

Inherited from ​

UI.x

Defined in ​

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


y ​

â€ĸ Optional y: number

Implementation of ​

IStar.y

Inherited from ​

UI.y

Defined in ​

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


width ​

â€ĸ Optional width: number

Implementation of ​

IStar.width

Inherited from ​

UI.width

Defined in ​

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


height ​

â€ĸ Optional height: number

Implementation of ​

IStar.height

Inherited from ​

UI.height

Defined in ​

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


scaleX ​

â€ĸ Optional scaleX: number

Implementation of ​

IStar.scaleX

Inherited from ​

UI.scaleX

Defined in ​

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


scaleY ​

â€ĸ Optional scaleY: number

Implementation of ​

IStar.scaleY

Inherited from ​

UI.scaleY

Defined in ​

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


rotation ​

â€ĸ Optional rotation: number

Implementation of ​

IStar.rotation

Inherited from ​

UI.rotation

Defined in ​

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


skewX ​

â€ĸ Optional skewX: number

Implementation of ​

IStar.skewX

Inherited from ​

UI.skewX

Defined in ​

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


skewY ​

â€ĸ Optional skewY: number

Implementation of ​

IStar.skewY

Inherited from ​

UI.skewY

Defined in ​

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


offsetX ​

â€ĸ Optional offsetX: number

Implementation of ​

IStar.offsetX

Inherited from ​

UI.offsetX

Defined in ​

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


offsetY ​

â€ĸ Optional offsetY: number

Implementation of ​

IStar.offsetY

Inherited from ​

UI.offsetY

Defined in ​

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


scrollX ​

â€ĸ Optional scrollX: number

Implementation of ​

IStar.scrollX

Inherited from ​

UI.scrollX

Defined in ​

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


scrollY ​

â€ĸ Optional scrollY: number

Implementation of ​

IStar.scrollY

Inherited from ​

UI.scrollY

Defined in ​

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


origin ​

â€ĸ Optional origin: IUnitPointData | IDirection

Implementation of ​

IStar.origin

Inherited from ​

UI.origin

Defined in ​

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


around ​

â€ĸ Optional around: IUnitPointData | IDirection

Implementation of ​

IStar.around

Inherited from ​

UI.around

Defined in ​

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


lazy ​

â€ĸ Optional lazy: boolean

Implementation of ​

IStar.lazy

Inherited from ​

UI.lazy

Defined in ​

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


pixelRatio ​

â€ĸ Optional pixelRatio: number

Implementation of ​

IStar.pixelRatio

Inherited from ​

UI.pixelRatio

Defined in ​

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


path ​

â€ĸ Optional path: string | IPathCommandData

Implementation of ​

IStar.path

Inherited from ​

UI.path

Defined in ​

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


windingRule ​

â€ĸ Optional windingRule: IWindingRule

Implementation of ​

IStar.windingRule

Inherited from ​

UI.windingRule

Defined in ​

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


closed ​

â€ĸ Optional closed: boolean

Implementation of ​

IStar.closed

Inherited from ​

UI.closed

Defined in ​

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


flow ​

â€ĸ Optional flow: IFlowType

Implementation of ​

IStar.flow

Inherited from ​

UI.flow

Defined in ​

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


padding ​

â€ĸ Optional padding: IFourNumber

Implementation of ​

IStar.padding

Inherited from ​

UI.padding

Defined in ​

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


gap ​

â€ĸ Optional gap: IGap | IPointGap

Implementation of ​

IStar.gap

Inherited from ​

UI.gap

Defined in ​

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


flowAlign ​

â€ĸ Optional flowAlign: IFlowAlign | IFlowAxisAlign

Implementation of ​

IStar.flowAlign

Inherited from ​

UI.flowAlign

Defined in ​

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


flowWrap ​

â€ĸ Optional flowWrap: IFlowWrap

Implementation of ​

IStar.flowWrap

Inherited from ​

UI.flowWrap

Defined in ​

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


itemBox ​

â€ĸ Optional itemBox: IFlowBoxType

Implementation of ​

IStar.itemBox

Inherited from ​

UI.itemBox

Defined in ​

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


inFlow ​

â€ĸ Optional inFlow: boolean

Implementation of ​

IStar.inFlow

Inherited from ​

UI.inFlow

Defined in ​

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


autoWidth ​

â€ĸ Optional autoWidth: IAutoSize

Implementation of ​

IStar.autoWidth

Inherited from ​

UI.autoWidth

Defined in ​

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


autoHeight ​

â€ĸ Optional autoHeight: IAutoSize

Implementation of ​

IStar.autoHeight

Inherited from ​

UI.autoHeight

Defined in ​

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


lockRatio ​

â€ĸ Optional lockRatio: boolean

Implementation of ​

IStar.lockRatio

Inherited from ​

UI.lockRatio

Defined in ​

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


autoBox ​

â€ĸ Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

IStar.autoBox

Inherited from ​

UI.autoBox

Defined in ​

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


widthRange ​

â€ĸ Optional widthRange: IRangeSize

Implementation of ​

IStar.widthRange

Inherited from ​

UI.widthRange

Defined in ​

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


heightRange ​

â€ĸ Optional heightRange: IRangeSize

Implementation of ​

IStar.heightRange

Inherited from ​

UI.heightRange

Defined in ​

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


draggable ​

â€ĸ Optional draggable: boolean | IAxis

Implementation of ​

IStar.draggable

Inherited from ​

UI.draggable

Defined in ​

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


dragBounds ​

â€ĸ Optional dragBounds: "parent" | IBoundsData

Implementation of ​

IStar.dragBounds

Inherited from ​

UI.dragBounds

Defined in ​

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


editable ​

â€ĸ Optional editable: boolean

Implementation of ​

IStar.editable

Inherited from ​

UI.editable

Defined in ​

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


hittable ​

â€ĸ Optional hittable: boolean

Implementation of ​

IStar.hittable

Inherited from ​

UI.hittable

Defined in ​

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


hitFill ​

â€ĸ Optional hitFill: IHitType

Implementation of ​

IStar.hitFill

Inherited from ​

UI.hitFill

Defined in ​

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


hitStroke ​

â€ĸ Optional hitStroke: IHitType

Implementation of ​

IStar.hitStroke

Inherited from ​

UI.hitStroke

Defined in ​

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


hitBox ​

â€ĸ Optional hitBox: boolean

Implementation of ​

IStar.hitBox

Inherited from ​

UI.hitBox

Defined in ​

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


hitChildren ​

â€ĸ Optional hitChildren: boolean

Implementation of ​

IStar.hitChildren

Inherited from ​

UI.hitChildren

Defined in ​

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


hitSelf ​

â€ĸ Optional hitSelf: boolean

Implementation of ​

IStar.hitSelf

Inherited from ​

UI.hitSelf

Defined in ​

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


hitRadius ​

â€ĸ Optional hitRadius: number

Implementation of ​

IStar.hitRadius

Inherited from ​

UI.hitRadius

Defined in ​

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


cursor ​

â€ĸ Optional cursor: ICursorType | ICursorType[]

Implementation of ​

IStar.cursor

Inherited from ​

UI.cursor

Defined in ​

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


fill ​

â€ĸ Optional fill: IFill

Implementation of ​

IStar.fill

Inherited from ​

UI.fill

Defined in ​

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


stroke ​

â€ĸ Optional stroke: IStroke

Implementation of ​

IStar.stroke

Inherited from ​

UI.stroke

Defined in ​

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


strokeAlign ​

â€ĸ Optional strokeAlign: IStrokeAlign

Implementation of ​

IStar.strokeAlign

Inherited from ​

UI.strokeAlign

Defined in ​

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


strokeWidth ​

â€ĸ Optional strokeWidth: string | IFourNumber

Implementation of ​

IStar.strokeWidth

Inherited from ​

UI.strokeWidth

Defined in ​

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


strokeWidthFixed ​

â€ĸ Optional strokeWidthFixed: boolean

Implementation of ​

IStar.strokeWidthFixed

Inherited from ​

UI.strokeWidthFixed

Defined in ​

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


strokeCap ​

â€ĸ Optional strokeCap: IStrokeCap

Implementation of ​

IStar.strokeCap

Inherited from ​

UI.strokeCap

Defined in ​

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


strokeJoin ​

â€ĸ Optional strokeJoin: IStrokeJoin

Implementation of ​

IStar.strokeJoin

Inherited from ​

UI.strokeJoin

Defined in ​

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


dashPattern ​

â€ĸ Optional dashPattern: string | number[]

Implementation of ​

IStar.dashPattern

Inherited from ​

UI.dashPattern

Defined in ​

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


dashOffset ​

â€ĸ Optional dashOffset: number

Implementation of ​

IStar.dashOffset

Inherited from ​

UI.dashOffset

Defined in ​

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


miterLimit ​

â€ĸ Optional miterLimit: number

Implementation of ​

IStar.miterLimit

Inherited from ​

UI.miterLimit

Defined in ​

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


startArrow ​

â€ĸ Optional startArrow: IArrowType

Implementation of ​

IStar.startArrow

Inherited from ​

UI.startArrow

Defined in ​

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


endArrow ​

â€ĸ Optional endArrow: IArrowType

Implementation of ​

IStar.endArrow

Inherited from ​

UI.endArrow

Defined in ​

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


cornerRadius ​

â€ĸ Optional cornerRadius: string | IFourNumber

Implementation of ​

IStar.cornerRadius

Inherited from ​

UI.cornerRadius

Defined in ​

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


cornerSmoothing ​

â€ĸ Optional cornerSmoothing: number

Implementation of ​

IStar.cornerSmoothing

Inherited from ​

UI.cornerSmoothing

Defined in ​

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


shadow ​

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

Implementation of ​

IStar.shadow

Inherited from ​

UI.shadow

Defined in ​

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


innerShadow ​

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

Implementation of ​

IStar.innerShadow

Inherited from ​

UI.innerShadow

Defined in ​

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


blur ​

â€ĸ Optional blur: number | IBlurEffect

Implementation of ​

IStar.blur

Inherited from ​

UI.blur

Defined in ​

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


backgroundBlur ​

â€ĸ Optional backgroundBlur: number | IBlurEffect

Implementation of ​

IStar.backgroundBlur

Inherited from ​

UI.backgroundBlur

Defined in ​

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


grayscale ​

â€ĸ Optional grayscale: number | IGrayscaleEffect

Implementation of ​

IStar.grayscale

Inherited from ​

UI.grayscale

Defined in ​

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


normalStyle ​

â€ĸ Optional normalStyle: IUIInputData

Implementation of ​

IStar.normalStyle

Inherited from ​

UI.normalStyle

Defined in ​

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


hoverStyle ​

â€ĸ Optional hoverStyle: IUIInputData

Implementation of ​

IStar.hoverStyle

Inherited from ​

UI.hoverStyle

Defined in ​

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


pressStyle ​

â€ĸ Optional pressStyle: IUIInputData

Implementation of ​

IStar.pressStyle

Inherited from ​

UI.pressStyle

Defined in ​

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


focusStyle ​

â€ĸ Optional focusStyle: IUIInputData

Implementation of ​

IStar.focusStyle

Inherited from ​

UI.focusStyle

Defined in ​

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


selectedStyle ​

â€ĸ Optional selectedStyle: IUIInputData

Implementation of ​

IStar.selectedStyle

Inherited from ​

UI.selectedStyle

Defined in ​

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


disabledStyle ​

â€ĸ Optional disabledStyle: IUIInputData

Implementation of ​

IStar.disabledStyle

Inherited from ​

UI.disabledStyle

Defined in ​

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


data ​

â€ĸ data: IObject

Implementation of ​

IStar.data

Inherited from ​

UI.data

Defined in ​

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

Accessors ​

tag ​

â€ĸ get tag(): string

Returns ​

string

Implementation of ​

IStar.tag

Inherited from ​

UI.tag

Defined in ​

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

â€ĸ set tag(_value): void

Parameters ​

NameType
_valuestring

Returns ​

void

Implementation of ​

IStar.tag

Inherited from ​

UI.tag

Defined in ​

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


innerName ​

â€ĸ get innerName(): string

Returns ​

string

Implementation of ​

IStar.innerName

Inherited from ​

UI.innerName

Defined in ​

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


__DataProcessor ​

â€ĸ get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

IStar.__DataProcessor

Inherited from ​

UI.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

â€ĸ get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

IStar.__LayoutProcessor

Inherited from ​

UI.__LayoutProcessor

Defined in ​

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


isLeafer ​

â€ĸ get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

IStar.isLeafer

Inherited from ​

UI.isLeafer

Defined in ​

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


isBranch ​

â€ĸ get isBranch(): boolean

Returns ​

boolean

Implementation of ​

IStar.isBranch

Inherited from ​

UI.isBranch

Defined in ​

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


isBranchLeaf ​

â€ĸ get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

IStar.isBranchLeaf

Inherited from ​

UI.isBranchLeaf

Defined in ​

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


__localMatrix ​

â€ĸ get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IStar.__localMatrix

Inherited from ​

UI.__localMatrix

Defined in ​

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


__localBoxBounds ​

â€ĸ get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IStar.__localBoxBounds

Inherited from ​

UI.__localBoxBounds

Defined in ​

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


worldTransform ​

â€ĸ get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IStar.worldTransform

Inherited from ​

UI.worldTransform

Defined in ​

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


localTransform ​

â€ĸ get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IStar.localTransform

Inherited from ​

UI.localTransform

Defined in ​

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


boxBounds ​

â€ĸ get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IStar.boxBounds

Inherited from ​

UI.boxBounds

Defined in ​

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


renderBounds ​

â€ĸ get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IStar.renderBounds

Inherited from ​

UI.renderBounds

Defined in ​

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


worldBoxBounds ​

â€ĸ get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IStar.worldBoxBounds

Inherited from ​

UI.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

â€ĸ get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IStar.worldStrokeBounds

Inherited from ​

UI.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

â€ĸ get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IStar.worldRenderBounds

Inherited from ​

UI.worldRenderBounds

Defined in ​

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


worldOpacity ​

â€ĸ get worldOpacity(): number

Returns ​

number

Implementation of ​

IStar.worldOpacity

Inherited from ​

UI.worldOpacity

Defined in ​

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


__worldFlipped ​

â€ĸ get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

IStar.__worldFlipped

Inherited from ​

UI.__worldFlipped

Defined in ​

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


__onlyHitMask ​

â€ĸ get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

IStar.__onlyHitMask

Inherited from ​

UI.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

â€ĸ get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

IStar.__ignoreHitWorld

Inherited from ​

UI.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

â€ĸ get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

IStar.__inLazyBounds

Inherited from ​

UI.__inLazyBounds

Defined in ​

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


pathInputed ​

â€ĸ get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

IStar.pathInputed

Inherited from ​

UI.pathInputed

Defined in ​

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


event ​

â€ĸ set event(map): void

Parameters ​

NameType
mapIEventMap

Returns ​

void

Implementation of ​

IStar.event

Inherited from ​

UI.event

Defined in ​

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


__tag ​

â€ĸ get __tag(): string

Returns ​

string

Implementation of ​

IStar.__tag

Overrides ​

UI.__tag

Defined in ​

ui/packages/display/src/Star.ts:17


app ​

â€ĸ get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

IStar.app

Inherited from ​

UI.app

Defined in ​

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


isFrame ​

â€ĸ get isFrame(): boolean

Returns ​

boolean

Implementation of ​

IStar.isFrame

Inherited from ​

UI.isFrame

Defined in ​

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


scale ​

â€ĸ get scale(): number | IPointData

Returns ​

number | IPointData

Implementation of ​

IStar.scale

Inherited from ​

UI.scale

Defined in ​

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

â€ĸ set scale(value): void

Parameters ​

NameType
valuenumber | IPointData

Returns ​

void

Implementation of ​

IStar.scale

Inherited from ​

UI.scale

Defined in ​

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


pen ​

â€ĸ get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

IStar.pen

Inherited from ​

UI.pen

Defined in ​

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


editConfig ​

â€ĸ get editConfig(): IEditorConfig

Returns ​

IEditorConfig

Implementation of ​

IStar.editConfig

Inherited from ​

UI.editConfig

Defined in ​

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


editOuter ​

â€ĸ get editOuter(): string

Returns ​

string

Implementation of ​

IStar.editOuter

Inherited from ​

UI.editOuter

Defined in ​

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


editInner ​

â€ĸ get editInner(): string

Returns ​

string

Implementation of ​

IStar.editInner

Inherited from ​

UI.editInner

Defined in ​

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

Methods ​

resetCustom ​

▸ resetCustom(): void

Returns ​

void

Implementation of ​

IStar.resetCustom

Inherited from ​

UI.resetCustom

Defined in ​

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


waitParent ​

▸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IStar.waitParent

Inherited from ​

UI.waitParent

Defined in ​

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


waitLeafer ​

▸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IStar.waitLeafer

Inherited from ​

UI.waitLeafer

Defined in ​

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


nextRender ​

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

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Implementation of ​

IStar.nextRender

Inherited from ​

UI.nextRender

Defined in ​

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


removeNextRender ​

▸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Implementation of ​

IStar.removeNextRender

Inherited from ​

UI.removeNextRender

Defined in ​

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


__bindLeafer ​

▸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Implementation of ​

IStar.__bindLeafer

Inherited from ​

UI.__bindLeafer

Defined in ​

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


setAttr ​

▸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Implementation of ​

IStar.setAttr

Inherited from ​

UI.setAttr

Defined in ​

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


getAttr ​

▸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IStar.getAttr

Inherited from ​

UI.getAttr

Defined in ​

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


getComputedAttr ​

▸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IStar.getComputedAttr

Inherited from ​

UI.getComputedAttr

Defined in ​

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


toJSON ​

▸ toJSON(options?): IObject

Parameters ​

NameType
options?IJSONOptions

Returns ​

IObject

Implementation of ​

IStar.toJSON

Inherited from ​

UI.toJSON

Defined in ​

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


toString ​

▸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Implementation of ​

IStar.toString

Inherited from ​

UI.toString

Defined in ​

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


toSVG ​

▸ toSVG(): string

Returns ​

string

Implementation of ​

IStar.toSVG

Inherited from ​

UI.toSVG

Defined in ​

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


__SVG ​

▸ __SVG(_data): void

Parameters ​

NameType
_dataIObject

Returns ​

void

Implementation of ​

IStar.__SVG

Inherited from ​

UI.__SVG

Defined in ​

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


toHTML ​

▸ toHTML(): string

Returns ​

string

Implementation of ​

IStar.toHTML

Inherited from ​

UI.toHTML

Defined in ​

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


__setAttr ​

▸ __setAttr(_attrName, _newValue): boolean

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

boolean

Implementation of ​

IStar.__setAttr

Inherited from ​

UI.__setAttr

Defined in ​

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


__getAttr ​

▸ __getAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IStar.__getAttr

Inherited from ​

UI.__getAttr

Defined in ​

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


setProxyAttr ​

▸ setProxyAttr(_attrName, _newValue): void

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

void

Implementation of ​

IStar.setProxyAttr

Inherited from ​

UI.setProxyAttr

Defined in ​

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


getProxyAttr ​

▸ getProxyAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IStar.getProxyAttr

Inherited from ​

UI.getProxyAttr

Defined in ​

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


focus ​

▸ focus(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IStar.focus

Inherited from ​

UI.focus

Defined in ​

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


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Implementation of ​

IStar.updateLayout

Inherited from ​

UI.updateLayout

Defined in ​

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


forceUpdate ​

▸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Implementation of ​

IStar.forceUpdate

Inherited from ​

UI.forceUpdate

Defined in ​

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


forceRender ​

▸ forceRender(_bounds?): void

Parameters ​

NameType
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IStar.forceRender

Inherited from ​

UI.forceRender

Defined in ​

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


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

IStar.__updateWorldMatrix

Inherited from ​

UI.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

IStar.__updateLocalMatrix

Inherited from ​

UI.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateWorldBounds

Inherited from ​

UI.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateLocalBounds

Inherited from ​

UI.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateLocalBoxBounds

Inherited from ​

UI.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateLocalStrokeBounds

Inherited from ​

UI.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateLocalRenderBounds

Inherited from ​

UI.__updateLocalRenderBounds

Defined in ​

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


__updateBoxBounds ​

▸ __updateBoxBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateBoxBounds

Inherited from ​

UI.__updateBoxBounds

Defined in ​

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


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateContentBounds

Inherited from ​

UI.__updateContentBounds

Defined in ​

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


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateStrokeBounds

Inherited from ​

UI.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Implementation of ​

IStar.__updateRenderBounds

Inherited from ​

UI.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

IStar.__updateAutoLayout

Inherited from ​

UI.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

IStar.__updateFlowLayout

Inherited from ​

UI.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

IStar.__updateNaturalSize

Inherited from ​

UI.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Implementation of ​

IStar.__updateStrokeSpread

Inherited from ​

UI.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Implementation of ​

IStar.__updateRenderSpread

Inherited from ​

UI.__updateRenderSpread

Defined in ​

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


__updateEraser ​

▸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IStar.__updateEraser

Inherited from ​

UI.__updateEraser

Defined in ​

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


__renderEraser ​

▸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Implementation of ​

IStar.__renderEraser

Inherited from ​

UI.__renderEraser

Defined in ​

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


__updateMask ​

▸ __updateMask(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IStar.__updateMask

Inherited from ​

UI.__updateMask

Defined in ​

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


__renderMask ​

▸ __renderMask(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IStar.__renderMask

Inherited from ​

UI.__renderMask

Defined in ​

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


__getNowWorld ​

▸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Implementation of ​

IStar.__getNowWorld

Inherited from ​

UI.__getNowWorld

Defined in ​

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


getTransform ​

▸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Implementation of ​

IStar.getTransform

Inherited from ​

UI.getTransform

Defined in ​

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


getBounds ​

▸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Implementation of ​

IStar.getBounds

Inherited from ​

UI.getBounds

Defined in ​

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


getLayoutBounds ​

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

Parameters ​

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

Returns ​

ILayoutBoundsData

Implementation of ​

IStar.getLayoutBounds

Inherited from ​

UI.getLayoutBounds

Defined in ​

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


getLayoutPoints ​

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

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Implementation of ​

IStar.getLayoutPoints

Inherited from ​

UI.getLayoutPoints

Defined in ​

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


getWorldBounds ​

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

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Implementation of ​

IStar.getWorldBounds

Inherited from ​

UI.getWorldBounds

Defined in ​

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


worldToLocal ​

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

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IStar.worldToLocal

Inherited from ​

UI.worldToLocal

Defined in ​

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


localToWorld ​

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

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IStar.localToWorld

Inherited from ​

UI.localToWorld

Defined in ​

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


worldToInner ​

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

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IStar.worldToInner

Inherited from ​

UI.worldToInner

Defined in ​

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


innerToWorld ​

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

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IStar.innerToWorld

Inherited from ​

UI.innerToWorld

Defined in ​

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


getInnerPoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getInnerPoint

Inherited from ​

UI.getInnerPoint

Defined in ​

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


getInnerPointByLocal ​

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

Parameters ​

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getInnerPointByLocal

Inherited from ​

UI.getInnerPointByLocal

Defined in ​

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


getLocalPoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getLocalPoint

Inherited from ​

UI.getLocalPoint

Defined in ​

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


getLocalPointByInner ​

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

Parameters ​

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getLocalPointByInner

Inherited from ​

UI.getLocalPointByInner

Defined in ​

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


getWorldPoint ​

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

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getWorldPoint

Inherited from ​

UI.getWorldPoint

Defined in ​

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


getWorldPointByLocal ​

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

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getWorldPointByLocal

Inherited from ​

UI.getWorldPointByLocal

Defined in ​

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


getPagePoint ​

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

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getPagePoint

Inherited from ​

UI.getPagePoint

Defined in ​

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


getWorldPointByPage ​

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

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IStar.getWorldPointByPage

Inherited from ​

UI.getWorldPointByPage

Defined in ​

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


setTransform ​

▸ setTransform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IStar.setTransform

Inherited from ​

UI.setTransform

Defined in ​

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


transform ​

▸ transform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IStar.transform

Inherited from ​

UI.transform

Defined in ​

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


move ​

▸ move(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

IStar.move

Inherited from ​

UI.move

Defined in ​

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


moveInner ​

▸ moveInner(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

IStar.moveInner

Inherited from ​

UI.moveInner

Defined in ​

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


scaleOf ​

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

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

IStar.scaleOf

Inherited from ​

UI.scaleOf

Defined in ​

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


rotateOf ​

▸ rotateOf(origin, rotation): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber

Returns ​

void

Implementation of ​

IStar.rotateOf

Inherited from ​

UI.rotateOf

Defined in ​

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


skewOf ​

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

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

IStar.skewOf

Inherited from ​

UI.skewOf

Defined in ​

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


transformWorld ​

▸ transformWorld(worldTransform?, resize?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IStar.transformWorld

Inherited from ​

UI.transformWorld

Defined in ​

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


moveWorld ​

▸ moveWorld(x, y?): void

Parameters ​

NameType
xnumber | IPointData
y?number

Returns ​

void

Implementation of ​

IStar.moveWorld

Inherited from ​

UI.moveWorld

Defined in ​

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


scaleOfWorld ​

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

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

IStar.scaleOfWorld

Inherited from ​

UI.scaleOfWorld

Defined in ​

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


rotateOfWorld ​

▸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Implementation of ​

IStar.rotateOfWorld

Inherited from ​

UI.rotateOfWorld

Defined in ​

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


skewOfWorld ​

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

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

IStar.skewOfWorld

Inherited from ​

UI.skewOfWorld

Defined in ​

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


flip ​

▸ flip(axis): void

Parameters ​

NameType
axisIAxis

Returns ​

void

Implementation of ​

IStar.flip

Inherited from ​

UI.flip

Defined in ​

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


scaleResize ​

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

Parameters ​

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns ​

void

Implementation of ​

IStar.scaleResize

Inherited from ​

UI.scaleResize

Defined in ​

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


__scaleResize ​

▸ __scaleResize(_scaleX, _scaleY): void

Parameters ​

NameType
_scaleXnumber
_scaleYnumber

Returns ​

void

Implementation of ​

IStar.__scaleResize

Inherited from ​

UI.__scaleResize

Defined in ​

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


resizeWidth ​

▸ resizeWidth(_width): void

Parameters ​

NameType
_widthnumber

Returns ​

void

Implementation of ​

IStar.resizeWidth

Inherited from ​

UI.resizeWidth

Defined in ​

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


resizeHeight ​

▸ resizeHeight(_height): void

Parameters ​

NameType
_heightnumber

Returns ​

void

Implementation of ​

IStar.resizeHeight

Inherited from ​

UI.resizeHeight

Defined in ​

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


__hitWorld ​

▸ __hitWorld(_point): boolean

Parameters ​

NameType
_pointIRadiusPointData

Returns ​

boolean

Implementation of ​

IStar.__hitWorld

Inherited from ​

UI.__hitWorld

Defined in ​

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


__hit ​

▸ __hit(_local): boolean

Parameters ​

NameType
_localIRadiusPointData

Returns ​

boolean

Implementation of ​

IStar.__hit

Inherited from ​

UI.__hit

Defined in ​

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


__hitFill ​

▸ __hitFill(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IStar.__hitFill

Inherited from ​

UI.__hitFill

Defined in ​

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


__hitStroke ​

▸ __hitStroke(_inner, _strokeWidth): boolean

Parameters ​

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns ​

boolean

Implementation of ​

IStar.__hitStroke

Inherited from ​

UI.__hitStroke

Defined in ​

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


__hitPixel ​

▸ __hitPixel(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IStar.__hitPixel

Inherited from ​

UI.__hitPixel

Defined in ​

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


__drawHitPath ​

▸ __drawHitPath(_canvas): void

Parameters ​

NameType
_canvasILeaferCanvas

Returns ​

void

Implementation of ​

IStar.__drawHitPath

Inherited from ​

UI.__drawHitPath

Defined in ​

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


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

IStar.__updateHitCanvas

Inherited from ​

UI.__updateHitCanvas

Defined in ​

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


__render ​

▸ __render(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IStar.__render

Inherited from ​

UI.__render

Defined in ​

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


__drawFast ​

▸ __drawFast(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IStar.__drawFast

Inherited from ​

UI.__drawFast

Defined in ​

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


__draw ​

▸ __draw(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IStar.__draw

Inherited from ​

UI.__draw

Defined in ​

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


__clip ​

▸ __clip(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IStar.__clip

Inherited from ​

UI.__clip

Defined in ​

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


__renderShape ​

▸ __renderShape(_canvas, _options, _ignoreFill?, _ignoreStroke?): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_ignoreFill?boolean
_ignoreStroke?boolean

Returns ​

void

Implementation of ​

IStar.__renderShape

Inherited from ​

UI.__renderShape

Defined in ​

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


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

IStar.__updateWorldOpacity

Inherited from ​

UI.__updateWorldOpacity

Defined in ​

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


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Implementation of ​

IStar.__updateChange

Inherited from ​

UI.__updateChange

Defined in ​

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


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

IStar.__updateSortChildren

Inherited from ​

UI.__updateSortChildren

Defined in ​

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


add ​

▸ add(_child, _index?): void

Parameters ​

NameType
_childILeaf
_index?number

Returns ​

void

Implementation of ​

IStar.add

Inherited from ​

UI.add

Defined in ​

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


remove ​

▸ remove(_child?, destroy?): void

Parameters ​

NameType
_child?ILeaf
destroy?boolean

Returns ​

void

Implementation of ​

IStar.remove

Inherited from ​

UI.remove

Defined in ​

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


dropTo ​

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

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Implementation of ​

IStar.dropTo

Inherited from ​

UI.dropTo

Defined in ​

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


on ​

▸ on(_type, _listener, _options?): void

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IStar.on

Inherited from ​

UI.on

Defined in ​

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


off ​

▸ off(_type?, _listener?, _options?): void

Parameters ​

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

Returns ​

void

Implementation of ​

IStar.off

Inherited from ​

UI.off

Defined in ​

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


on_ ​

▸ on_(_type, _listener, _bind?, _options?): IEventListenerId

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_bind?IObject
_options?IEventOption

Returns ​

IEventListenerId

Implementation of ​

IStar.on_

Inherited from ​

UI.on_

Defined in ​

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


off_ ​

▸ off_(_id): void

Parameters ​

NameType
_idIEventListenerId | IEventListenerId[]

Returns ​

void

Implementation of ​

IStar.off_

Inherited from ​

UI.off_

Defined in ​

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


once ​

▸ once(_type, _listener, _capture?): void

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns ​

void

Implementation of ​

IStar.once

Inherited from ​

UI.once

Defined in ​

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


emit ​

▸ emit(_type, _event?, _capture?): void

Parameters ​

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IStar.emit

Inherited from ​

UI.emit

Defined in ​

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


emitEvent ​

▸ emitEvent(_event?, _capture?): void

Parameters ​

NameType
_event?IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IStar.emitEvent

Inherited from ​

UI.emitEvent

Defined in ​

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


hasEvent ​

▸ hasEvent(_type, _capture?): boolean

Parameters ​

NameType
_typestring
_capture?boolean

Returns ​

boolean

Implementation of ​

IStar.hasEvent

Inherited from ​

UI.hasEvent

Defined in ​

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


changeAttr ​

▸ changeAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

UI.changeAttr

Defined in ​

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


addAttr ​

▸ addAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

UI.addAttr

Defined in ​

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


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Implementation of ​

IStar.__updatePath

Overrides ​

UI.__updatePath

Defined in ​

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


reset ​

▸ reset(_data?): void

Parameters ​

NameType
_data?IUIInputData

Returns ​

void

Implementation of ​

IStar.reset

Inherited from ​

UI.reset

Defined in ​

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


set ​

▸ set(data): void

Parameters ​

NameType
dataIUIInputData

Returns ​

void

Implementation of ​

IStar.set

Inherited from ​

UI.set

Defined in ​

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


get ​

▸ get(name?): IValue | IUIInputData

Parameters ​

NameType
name?string | string[] | IUIInputData

Returns ​

IValue | IUIInputData

Implementation of ​

IStar.get

Inherited from ​

UI.get

Defined in ​

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


createProxyData ​

▸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

IStar.createProxyData

Inherited from ​

UI.createProxyData

Defined in ​

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


find ​

▸ find(_condition, _options?): IUI[]

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI[]

Implementation of ​

IStar.find

Inherited from ​

UI.find

Defined in ​

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


findTag ​

▸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Implementation of ​

IStar.findTag

Inherited from ​

UI.findTag

Defined in ​

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


findOne ​

▸ findOne(_condition, _options?): IUI

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI

Implementation of ​

IStar.findOne

Inherited from ​

UI.findOne

Defined in ​

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


findId ​

▸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Implementation of ​

IStar.findId

Inherited from ​

UI.findId

Defined in ​

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


getPath ​

▸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Implementation of ​

IStar.getPath

Inherited from ​

UI.getPath

Defined in ​

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


getPathString ​

▸ getPathString(curve?, pathForRender?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

string

Implementation of ​

IStar.getPathString

Inherited from ​

UI.getPathString

Defined in ​

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


load ​

▸ load(): void

Returns ​

void

Implementation of ​

IStar.load

Inherited from ​

UI.load

Defined in ​

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


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

IStar.__onUpdateSize

Inherited from ​

UI.__onUpdateSize

Defined in ​

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


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Implementation of ​

IStar.__updateRenderPath

Inherited from ​

UI.__updateRenderPath

Defined in ​

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


__drawRenderPath ​

▸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IStar.__drawRenderPath

Inherited from ​

UI.__drawRenderPath

Defined in ​

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


__drawPath ​

▸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IStar.__drawPath

Inherited from ​

UI.__drawPath

Defined in ​

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


__drawPathByData ​

▸ __drawPathByData(drawer, data): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData

Returns ​

void

Implementation of ​

IStar.__drawPathByData

Inherited from ​

UI.__drawPathByData

Defined in ​

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


__drawPathByBox ​

▸ __drawPathByBox(drawer): void

Parameters ​

NameType
drawerIPathDrawer

Returns ​

void

Implementation of ​

IStar.__drawPathByBox

Inherited from ​

UI.__drawPathByBox

Defined in ​

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


export ​

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

Parameters ​

NameType
filenamestring
options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Implementation of ​

IStar.export

Inherited from ​

UI.export

Defined in ​

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


clone ​

▸ clone(): IUI

Returns ​

IUI

Implementation of ​

IStar.clone

Inherited from ​

UI.clone

Defined in ​

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


one ​

▸ one(data, x?, y?, width?, height?): IUI

Parameters ​

NameType
dataIUIInputData
x?number
y?number
width?number
height?number

Returns ​

IUI

Inherited from ​

UI.one

Defined in ​

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


registerUI ​

▸ registerUI(): void

Returns ​

void

Inherited from ​

UI.registerUI

Defined in ​

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


registerData ​

▸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

UI.registerData

Defined in ​

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


setEditConfig ​

▸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

UI.setEditConfig

Defined in ​

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


setEditOuter ​

▸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

UI.setEditOuter

Defined in ​

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


setEditInner ​

▸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

UI.setEditInner

Defined in ​

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


destroy ​

▸ destroy(): void

Returns ​

void

Implementation of ​

IStar.destroy

Inherited from ​

UI.destroy

Defined in ​

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

Released under the MIT License.