Skip to content

Class: EditBox ​

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

• new EditBox(editor): EditBox

Parameters ​

NameType
editorIEditor

Returns ​

EditBox

Overrides ​

Group.constructor

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:75

Properties ​

editor ​

• editor: IEditor

Implementation of ​

IEditBox.editor

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:16


dragging ​

• dragging: boolean

Implementation of ​

IEditBox.dragging

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:18


gesturing ​

• gesturing: boolean

Implementation of ​

IEditBox.gesturing

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:19


moving ​

• moving: boolean

Implementation of ​

IEditBox.moving

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:21


resizing ​

• resizing: boolean

Implementation of ​

IEditBox.resizing

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:22


rotating ​

• rotating: boolean

Implementation of ​

IEditBox.rotating

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:23


skewing ​

• skewing: boolean

Implementation of ​

IEditBox.skewing

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:24


view ​

• view: IGroup

Implementation of ​

IEditBox.view

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:26


rect ​

• rect: IEditPoint

Implementation of ​

IEditBox.rect

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:28


circle ​

• circle: IEditPoint

Implementation of ​

IEditBox.circle

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:29


buttons ​

• buttons: IGroup

Implementation of ​

IEditBox.buttons

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:30


resizePoints ​

• resizePoints: IEditPoint[] = []

Implementation of ​

IEditBox.resizePoints

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:32


rotatePoints ​

• rotatePoints: IEditPoint[] = []

Implementation of ​

IEditBox.rotatePoints

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:33


resizeLines ​

• resizeLines: IEditPoint[] = []

Implementation of ​

IEditBox.resizeLines

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:34


enterPoint ​

• enterPoint: IEditPoint

Implementation of ​

IEditBox.enterPoint

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:36


dragPoint ​

• dragPoint: IEditPoint

Implementation of ​

IEditBox.dragPoint

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:37


dragStartData ​

• dragStartData: IEditorDragStartData

Implementation of ​

IEditBox.dragStartData

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:39


config ​

• config: IEditorConfig

Implementation of ​

IEditBox.config

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:41


mergedConfig ​

• mergedConfig: IEditorConfig

Implementation of ​

IEditBox.mergedConfig

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:42


_target ​

• Protected _target: IUI

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:49


_transformTool ​

• Protected _transformTool: ITransformTool

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:55


__eventIds ​

• Protected __eventIds: IEventListenerId[] = []

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:73


innerId ​

• Readonly innerId: number

Implementation of ​

IEditBox.innerId

Inherited from ​

Group.innerId

Defined in ​

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


skipJSON ​

• Optional skipJSON: boolean

Implementation of ​

IEditBox.skipJSON

Inherited from ​

Group.skipJSON

Defined in ​

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


syncEventer ​

• Optional syncEventer: ILeaf

Implementation of ​

IEditBox.syncEventer

Inherited from ​

Group.syncEventer

Defined in ​

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


lockNormalStyle ​

• Optional lockNormalStyle: boolean

Implementation of ​

IEditBox.lockNormalStyle

Inherited from ​

Group.lockNormalStyle

Defined in ​

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


__layout ​

• __layout: ILeafLayout

Implementation of ​

IEditBox.__layout

Inherited from ​

Group.__layout

Defined in ​

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


__world ​

• __world: IMatrixWithBoundsScaleData

Implementation of ​

IEditBox.__world

Inherited from ​

Group.__world

Defined in ​

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


__local ​

• Optional __local: IMatrixWithBoundsData

Implementation of ​

IEditBox.__local

Inherited from ​

Group.__local

Defined in ​

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


__nowWorld ​

• Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

IEditBox.__nowWorld

Inherited from ​

Group.__nowWorld

Defined in ​

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


__cameraWorld ​

• Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

IEditBox.__cameraWorld

Inherited from ​

Group.__cameraWorld

Defined in ​

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


__worldOpacity ​

• __worldOpacity: number

Implementation of ​

IEditBox.__worldOpacity

Inherited from ​

Group.__worldOpacity

Defined in ​

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


__scrollWorld ​

• Optional __scrollWorld: IMatrixWithBoundsScaleData

Implementation of ​

IEditBox.__scrollWorld

Inherited from ​

Group.__scrollWorld

Defined in ​

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


__level ​

• __level: number

Implementation of ​

IEditBox.__level

Inherited from ​

Group.__level

Defined in ​

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


__tempNumber ​

• __tempNumber: number

Implementation of ​

IEditBox.__tempNumber

Inherited from ​

Group.__tempNumber

Defined in ​

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


__hasAutoLayout ​

• Optional __hasAutoLayout: boolean

Implementation of ​

IEditBox.__hasAutoLayout

Inherited from ​

Group.__hasAutoLayout

Defined in ​

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


__hasMask ​

• Optional __hasMask: boolean

Implementation of ​

IEditBox.__hasMask

Inherited from ​

Group.__hasMask

Defined in ​

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


__hasEraser ​

• Optional __hasEraser: boolean

Implementation of ​

IEditBox.__hasEraser

Inherited from ​

Group.__hasEraser

Defined in ​

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


__hitCanvas ​

• Optional __hitCanvas: IHitCanvas

Implementation of ​

IEditBox.__hitCanvas

Inherited from ​

Group.__hitCanvas

Defined in ​

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


__captureMap ​

• Optional __captureMap: IEventListenerMap

Implementation of ​

IEditBox.__captureMap

Inherited from ​

Group.__captureMap

Defined in ​

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


__bubbleMap ​

• Optional __bubbleMap: IEventListenerMap

Implementation of ​

IEditBox.__bubbleMap

Inherited from ​

Group.__bubbleMap

Defined in ​

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


__hasLocalEvent ​

• Optional __hasLocalEvent: boolean

Implementation of ​

IEditBox.__hasLocalEvent

Inherited from ​

Group.__hasLocalEvent

Defined in ​

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


__hasWorldEvent ​

• Optional __hasWorldEvent: boolean

Implementation of ​

IEditBox.__hasWorldEvent

Inherited from ​

Group.__hasWorldEvent

Defined in ​

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


destroyed ​

• destroyed: boolean

Implementation of ​

IEditBox.destroyed

Inherited from ​

Group.destroyed

Defined in ​

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


__ ​

• __: IGroupData

Implementation of ​

IEditBox.__

Inherited from ​

Group.__

Defined in ​

src/ui/packages/display/src/Group.ts:19


width ​

• Optional width: number

Implementation of ​

IEditBox.width

Inherited from ​

Group.width

Defined in ​

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


height ​

• Optional height: number

Implementation of ​

IEditBox.height

Inherited from ​

Group.height

Defined in ​

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


children ​

• children: IUI[]

Implementation of ​

IEditBox.children

Inherited from ​

Group.children

Defined in ​

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


topChildren ​

• Optional topChildren: IUI[]

Implementation of ​

IEditBox.topChildren

Inherited from ​

Group.topChildren

Defined in ​

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


childlessJSON ​

• Optional childlessJSON: boolean

Implementation of ​

IEditBox.childlessJSON

Inherited from ​

Group.childlessJSON

Defined in ​

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


proxyData ​

• Optional proxyData: IUIInputData

Implementation of ​

IEditBox.proxyData

Inherited from ​

Group.proxyData

Defined in ​

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


__proxyData ​

• Optional __proxyData: IUIInputData

Implementation of ​

IEditBox.__proxyData

Inherited from ​

Group.__proxyData

Defined in ​

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


leafer ​

• Optional leafer: ILeafer

Implementation of ​

IEditBox.leafer

Inherited from ​

Group.leafer

Defined in ​

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


parent ​

• Optional parent: IGroup

Implementation of ​

IEditBox.parent

Inherited from ​

Group.parent

Defined in ​

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


zoomLayer ​

• zoomLayer: IGroup

Implementation of ​

IEditBox.zoomLayer

Inherited from ​

Group.zoomLayer

Defined in ​

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


startLinker ​

• Optional startLinker: ILinker[]

Implementation of ​

IEditBox.startLinker

Inherited from ​

Group.startLinker

Defined in ​

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


endLinker ​

• Optional endLinker: ILinker[]

Implementation of ​

IEditBox.endLinker

Inherited from ​

Group.endLinker

Defined in ​

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


id ​

• Optional id: string

Implementation of ​

IEditBox.id

Inherited from ​

Group.id

Defined in ​

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


name ​

• Optional name: string

Implementation of ​

IEditBox.name

Inherited from ​

Group.name

Defined in ​

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


className ​

• Optional className: string

Implementation of ​

IEditBox.className

Inherited from ​

Group.className

Defined in ​

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


blendMode ​

• Optional blendMode: IBlendMode

Implementation of ​

IEditBox.blendMode

Inherited from ​

Group.blendMode

Defined in ​

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


opacity ​

• Optional opacity: number

Implementation of ​

IEditBox.opacity

Inherited from ​

Group.opacity

Defined in ​

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


visible ​

• Optional visible: boolean | 0

Implementation of ​

IEditBox.visible

Inherited from ​

Group.visible

Defined in ​

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


locked ​

• Optional locked: boolean

Implementation of ​

IEditBox.locked

Inherited from ​

Group.locked

Defined in ​

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


dim ​

• Optional dim: number | boolean

Implementation of ​

IEditBox.dim

Inherited from ​

Group.dim

Defined in ​

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


dimskip ​

• Optional dimskip: boolean

Implementation of ​

IEditBox.dimskip

Inherited from ​

Group.dimskip

Defined in ​

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


bright ​

• Optional bright: boolean

Implementation of ​

IEditBox.bright

Inherited from ​

Group.bright

Defined in ​

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


zIndex ​

• Optional zIndex: number

Implementation of ​

IEditBox.zIndex

Inherited from ​

Group.zIndex

Defined in ​

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


mask ​

• Optional mask: boolean | IMaskType

Implementation of ​

IEditBox.mask

Inherited from ​

Group.mask

Defined in ​

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


eraser ​

• Optional eraser: boolean | IEraserType

Implementation of ​

IEditBox.eraser

Inherited from ​

Group.eraser

Defined in ​

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


x ​

• Optional x: number

Implementation of ​

IEditBox.x

Inherited from ​

Group.x

Defined in ​

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


y ​

• Optional y: number

Implementation of ​

IEditBox.y

Inherited from ​

Group.y

Defined in ​

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


scaleX ​

• Optional scaleX: number

Implementation of ​

IEditBox.scaleX

Inherited from ​

Group.scaleX

Defined in ​

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


scaleY ​

• Optional scaleY: number

Implementation of ​

IEditBox.scaleY

Inherited from ​

Group.scaleY

Defined in ​

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


scaleFixed ​

• Optional scaleFixed: IScaleFixed

Implementation of ​

IEditBox.scaleFixed

Inherited from ​

Group.scaleFixed

Defined in ​

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


rotation ​

• Optional rotation: number

Implementation of ​

IEditBox.rotation

Inherited from ​

Group.rotation

Defined in ​

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


skewX ​

• Optional skewX: number

Implementation of ​

IEditBox.skewX

Inherited from ​

Group.skewX

Defined in ​

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


skewY ​

• Optional skewY: number

Implementation of ​

IEditBox.skewY

Inherited from ​

Group.skewY

Defined in ​

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


offsetX ​

• Optional offsetX: number

Implementation of ​

IEditBox.offsetX

Inherited from ​

Group.offsetX

Defined in ​

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


offsetY ​

• Optional offsetY: number

Implementation of ​

IEditBox.offsetY

Inherited from ​

Group.offsetY

Defined in ​

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


scrollX ​

• Optional scrollX: number

Implementation of ​

IEditBox.scrollX

Inherited from ​

Group.scrollX

Defined in ​

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


scrollY ​

• Optional scrollY: number

Implementation of ​

IEditBox.scrollY

Inherited from ​

Group.scrollY

Defined in ​

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


origin ​

• Optional origin: IUnitPointData | IDirection

Implementation of ​

IEditBox.origin

Inherited from ​

Group.origin

Defined in ​

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


around ​

• Optional around: IUnitPointData | IDirection

Implementation of ​

IEditBox.around

Inherited from ​

Group.around

Defined in ​

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


lazy ​

• Optional lazy: boolean

Implementation of ​

IEditBox.lazy

Inherited from ​

Group.lazy

Defined in ​

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


pixelRatio ​

• Optional pixelRatio: number

Implementation of ​

IEditBox.pixelRatio

Inherited from ​

Group.pixelRatio

Defined in ​

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


renderSpread ​

• Optional renderSpread: IFourNumber

Implementation of ​

IEditBox.renderSpread

Inherited from ​

Group.renderSpread

Defined in ​

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


path ​

• Optional path: string | IPathCommandData | IPathCommandNode[] | IPathCommandObject[]

Implementation of ​

IEditBox.path

Inherited from ​

Group.path

Defined in ​

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


windingRule ​

• Optional windingRule: IWindingRule

Implementation of ​

IEditBox.windingRule

Inherited from ​

Group.windingRule

Defined in ​

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


closed ​

• Optional closed: boolean

Implementation of ​

IEditBox.closed

Inherited from ​

Group.closed

Defined in ​

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


flow ​

• Optional flow: IFlowType

Implementation of ​

IEditBox.flow

Inherited from ​

Group.flow

Defined in ​

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


padding ​

• Optional padding: IFourNumber

Implementation of ​

IEditBox.padding

Inherited from ​

Group.padding

Defined in ​

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


gap ​

• Optional gap: IGap | IPointGap

Implementation of ​

IEditBox.gap

Inherited from ​

Group.gap

Defined in ​

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


flowAlign ​

• Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of ​

IEditBox.flowAlign

Inherited from ​

Group.flowAlign

Defined in ​

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


flowWrap ​

• Optional flowWrap: IFlowWrap

Implementation of ​

IEditBox.flowWrap

Inherited from ​

Group.flowWrap

Defined in ​

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


itemBox ​

• Optional itemBox: IFlowBoxType

Implementation of ​

IEditBox.itemBox

Inherited from ​

Group.itemBox

Defined in ​

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


inFlow ​

• Optional inFlow: boolean

Implementation of ​

IEditBox.inFlow

Inherited from ​

Group.inFlow

Defined in ​

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


autoWidth ​

• Optional autoWidth: IAutoSize

Implementation of ​

IEditBox.autoWidth

Inherited from ​

Group.autoWidth

Defined in ​

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


autoHeight ​

• Optional autoHeight: IAutoSize

Implementation of ​

IEditBox.autoHeight

Inherited from ​

Group.autoHeight

Defined in ​

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


lockRatio ​

• Optional lockRatio: boolean

Implementation of ​

IEditBox.lockRatio

Inherited from ​

Group.lockRatio

Defined in ​

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


autoBox ​

• Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

IEditBox.autoBox

Inherited from ​

Group.autoBox

Defined in ​

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


widthRange ​

• Optional widthRange: IRangeSize

Implementation of ​

IEditBox.widthRange

Inherited from ​

Group.widthRange

Defined in ​

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


heightRange ​

• Optional heightRange: IRangeSize

Implementation of ​

IEditBox.heightRange

Inherited from ​

Group.heightRange

Defined in ​

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


draggable ​

• Optional draggable: boolean | IAxis

Implementation of ​

IEditBox.draggable

Inherited from ​

Group.draggable

Defined in ​

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


dragBounds ​

• Optional dragBounds: "parent" | IBoundsData

Implementation of ​

IEditBox.dragBounds

Inherited from ​

Group.dragBounds

Defined in ​

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


dragBoundsType ​

• Optional dragBoundsType: IDragBoundsType

Implementation of ​

IEditBox.dragBoundsType

Inherited from ​

Group.dragBoundsType

Defined in ​

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


editable ​

• Optional editable: boolean

Implementation of ​

IEditBox.editable

Inherited from ​

Group.editable

Defined in ​

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


hittable ​

• Optional hittable: boolean

Implementation of ​

IEditBox.hittable

Inherited from ​

Group.hittable

Defined in ​

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


hitFill ​

• Optional hitFill: IHitType

Implementation of ​

IEditBox.hitFill

Inherited from ​

Group.hitFill

Defined in ​

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


hitStroke ​

• Optional hitStroke: IHitType

Implementation of ​

IEditBox.hitStroke

Inherited from ​

Group.hitStroke

Defined in ​

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


hitBox ​

• Optional hitBox: boolean

Implementation of ​

IEditBox.hitBox

Inherited from ​

Group.hitBox

Defined in ​

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


hitChildren ​

• Optional hitChildren: boolean

Implementation of ​

IEditBox.hitChildren

Inherited from ​

Group.hitChildren

Defined in ​

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


hitSelf ​

• Optional hitSelf: boolean

Implementation of ​

IEditBox.hitSelf

Inherited from ​

Group.hitSelf

Defined in ​

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


hitRadius ​

• Optional hitRadius: number

Implementation of ​

IEditBox.hitRadius

Inherited from ​

Group.hitRadius

Defined in ​

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


cursor ​

• Optional cursor: ICursorType | ICursorType[]

Implementation of ​

IEditBox.cursor

Inherited from ​

Group.cursor

Defined in ​

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


fill ​

• Optional fill: IFill

Implementation of ​

IEditBox.fill

Inherited from ​

Group.fill

Defined in ​

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


stroke ​

• Optional stroke: IStroke

Implementation of ​

IEditBox.stroke

Inherited from ​

Group.stroke

Defined in ​

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


strokeAlign ​

• Optional strokeAlign: IStrokeAlign

Implementation of ​

IEditBox.strokeAlign

Inherited from ​

Group.strokeAlign

Defined in ​

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


strokeWidth ​

• Optional strokeWidth: string | IFourNumber

Implementation of ​

IEditBox.strokeWidth

Inherited from ​

Group.strokeWidth

Defined in ​

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


strokeScaleFixed ​

• Optional strokeScaleFixed: IScaleFixed

Implementation of ​

IEditBox.strokeScaleFixed

Inherited from ​

Group.strokeScaleFixed

Defined in ​

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


strokeCap ​

• Optional strokeCap: IStrokeCap

Implementation of ​

IEditBox.strokeCap

Inherited from ​

Group.strokeCap

Defined in ​

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


strokeJoin ​

• Optional strokeJoin: IStrokeJoin

Implementation of ​

IEditBox.strokeJoin

Inherited from ​

Group.strokeJoin

Defined in ​

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


dashPattern ​

• Optional dashPattern: string | number[]

Implementation of ​

IEditBox.dashPattern

Inherited from ​

Group.dashPattern

Defined in ​

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


dashOffset ​

• Optional dashOffset: number

Implementation of ​

IEditBox.dashOffset

Inherited from ​

Group.dashOffset

Defined in ​

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


miterLimit ​

• Optional miterLimit: number

Implementation of ​

IEditBox.miterLimit

Inherited from ​

Group.miterLimit

Defined in ​

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


startArrow ​

• Optional startArrow: IArrowStyle

Implementation of ​

IEditBox.startArrow

Inherited from ​

Group.startArrow

Defined in ​

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


endArrow ​

• Optional endArrow: IArrowStyle

Implementation of ​

IEditBox.endArrow

Inherited from ​

Group.endArrow

Defined in ​

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


cornerRadius ​

• Optional cornerRadius: string | IFourNumber

Implementation of ​

IEditBox.cornerRadius

Inherited from ​

Group.cornerRadius

Defined in ​

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


cornerSmoothing ​

• Optional cornerSmoothing: number

Implementation of ​

IEditBox.cornerSmoothing

Inherited from ​

Group.cornerSmoothing

Defined in ​

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


shadow ​

• Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IEditBox.shadow

Inherited from ​

Group.shadow

Defined in ​

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


innerShadow ​

• Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IEditBox.innerShadow

Inherited from ​

Group.innerShadow

Defined in ​

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


blur ​

• Optional blur: number | IBlurEffect

Implementation of ​

IEditBox.blur

Inherited from ​

Group.blur

Defined in ​

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


backgroundBlur ​

• Optional backgroundBlur: number | IBlurEffect

Implementation of ​

IEditBox.backgroundBlur

Inherited from ​

Group.backgroundBlur

Defined in ​

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


grayscale ​

• Optional grayscale: number | IGrayscaleEffect

Implementation of ​

IEditBox.grayscale

Inherited from ​

Group.grayscale

Defined in ​

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


filter ​

• Optional filter: IFilter | IFilter[]

Implementation of ​

IEditBox.filter

Inherited from ​

Group.filter

Defined in ​

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


complex ​

• Optional complex: boolean

Implementation of ​

IEditBox.complex

Inherited from ​

Group.complex

Defined in ​

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


animation ​

• Optional animation: IAnimation | IAnimation[]

Implementation of ​

IEditBox.animation

Inherited from ​

Group.animation

Defined in ​

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


animationOut ​

• Optional animationOut: IAnimation | IAnimation[]

Implementation of ​

IEditBox.animationOut

Inherited from ​

Group.animationOut

Defined in ​

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


transition ​

• Optional transition: ITransition

Implementation of ​

IEditBox.transition

Inherited from ​

Group.transition

Defined in ​

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


transitionOut ​

• Optional transitionOut: ITransition

Implementation of ​

IEditBox.transitionOut

Inherited from ​

Group.transitionOut

Defined in ​

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


motionPath ​

• Optional motionPath: boolean

Implementation of ​

IEditBox.motionPath

Inherited from ​

Group.motionPath

Defined in ​

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


motionPrecision ​

• Optional motionPrecision: number

Implementation of ​

IEditBox.motionPrecision

Inherited from ​

Group.motionPrecision

Defined in ​

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


motion ​

• Optional motion: number | IUnitData

Implementation of ​

IEditBox.motion

Inherited from ​

Group.motion

Defined in ​

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


motionRotation ​

• Optional motionRotation: number | boolean

Implementation of ​

IEditBox.motionRotation

Inherited from ​

Group.motionRotation

Defined in ​

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


states ​

• Optional states: IStates

Implementation of ​

IEditBox.states

Inherited from ​

Group.states

Defined in ​

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


state ​

• Optional state: string

Implementation of ​

IEditBox.state

Inherited from ​

Group.state

Defined in ​

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


selected ​

• Optional selected: boolean

Implementation of ​

IEditBox.selected

Inherited from ​

Group.selected

Defined in ​

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


disabled ​

• Optional disabled: boolean

Implementation of ​

IEditBox.disabled

Inherited from ​

Group.disabled

Defined in ​

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


normalStyle ​

• Optional normalStyle: IStateStyle

Implementation of ​

IEditBox.normalStyle

Inherited from ​

Group.normalStyle

Defined in ​

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


hoverStyle ​

• Optional hoverStyle: IStateStyle

Implementation of ​

IEditBox.hoverStyle

Inherited from ​

Group.hoverStyle

Defined in ​

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


pressStyle ​

• Optional pressStyle: IStateStyle

Implementation of ​

IEditBox.pressStyle

Inherited from ​

Group.pressStyle

Defined in ​

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


focusStyle ​

• Optional focusStyle: IStateStyle

Implementation of ​

IEditBox.focusStyle

Inherited from ​

Group.focusStyle

Defined in ​

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


selectedStyle ​

• Optional selectedStyle: IStateStyle

Implementation of ​

IEditBox.selectedStyle

Inherited from ​

Group.selectedStyle

Defined in ​

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


disabledStyle ​

• Optional disabledStyle: IStateStyle

Implementation of ​

IEditBox.disabledStyle

Inherited from ​

Group.disabledStyle

Defined in ​

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


placeholderStyle ​

• Optional placeholderStyle: IStateStyle

Implementation of ​

IEditBox.placeholderStyle

Inherited from ​

Group.placeholderStyle

Defined in ​

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


placeholderColor ​

• Optional placeholderColor: string

Implementation of ​

IEditBox.placeholderColor

Inherited from ​

Group.placeholderColor

Defined in ​

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


placeholderDelay ​

• Optional placeholderDelay: number

Implementation of ​

IEditBox.placeholderDelay

Inherited from ​

Group.placeholderDelay

Defined in ​

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


button ​

• Optional button: boolean

Implementation of ​

IEditBox.button

Inherited from ​

Group.button

Defined in ​

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


editConfig ​

• editConfig: IEditorConfig

Implementation of ​

IEditBox.editConfig

Inherited from ​

Group.editConfig

Defined in ​

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


editOuter ​

• editOuter: string

Implementation of ​

IEditBox.editOuter

Inherited from ​

Group.editOuter

Defined in ​

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


editInner ​

• editInner: string

Implementation of ​

IEditBox.editInner

Inherited from ​

Group.editInner

Defined in ​

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


data ​

• data: IObject

Implementation of ​

IEditBox.data

Inherited from ​

Group.data

Defined in ​

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


useFastShadow ​

• Optional useFastShadow: boolean

Implementation of ​

IEditBox.useFastShadow

Inherited from ​

Group.useFastShadow

Defined in ​

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


__box ​

• Optional __box: IUI

Implementation of ​

IEditBox.__box

Inherited from ​

Group.__box

Defined in ​

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


__animate ​

• Optional __animate: IAnimate | IAnimateList

Implementation of ​

IEditBox.__animate

Inherited from ​

Group.__animate

Defined in ​

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

Accessors ​

mergeConfig ​

• get mergeConfig(): IEditorConfig

Returns ​

IEditorConfig

Implementation of ​

IEditBox.mergeConfig

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:44


target ​

• get target(): IUI

Returns ​

IUI

Implementation of ​

IEditBox.target

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:50

• set target(target): void

Parameters ​

NameType
targetIUI

Returns ​

void

Implementation of ​

IEditBox.target

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:51


single ​

• get single(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.single

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:53


transformTool ​

• get transformTool(): ITransformTool

Returns ​

ITransformTool

Implementation of ​

IEditBox.transformTool

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:56

• set transformTool(tool): void

Parameters ​

NameType
toolITransformTool

Returns ​

void

Implementation of ​

IEditBox.transformTool

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:57


flipped ​

• get flipped(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.flipped

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:60


flippedX ​

• get flippedX(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.flippedX

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:61


flippedY ​

• get flippedY(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.flippedY

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:62


flippedOne ​

• get flippedOne(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.flippedOne

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:63


canUse ​

• get canUse(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.canUse

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:65


canGesture ​

• get canGesture(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.canGesture

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:66


canDragLimitAnimate ​

• get canDragLimitAnimate(): boolean

Returns ​

boolean

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:71


tag ​

• get tag(): string

Returns ​

string

Implementation of ​

IEditBox.tag

Inherited from ​

Group.tag

Defined in ​

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

• set tag(_value): void

Parameters ​

NameType
_valuestring

Returns ​

void

Implementation of ​

IEditBox.tag

Inherited from ​

Group.tag

Defined in ​

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


innerName ​

• get innerName(): string

Returns ​

string

Implementation of ​

IEditBox.innerName

Inherited from ​

Group.innerName

Defined in ​

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


__DataProcessor ​

• get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

IEditBox.__DataProcessor

Inherited from ​

Group.__DataProcessor

Defined in ​

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


__LayoutProcessor ​

• get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

IEditBox.__LayoutProcessor

Inherited from ​

Group.__LayoutProcessor

Defined in ​

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


leaferIsCreated ​

• get leaferIsCreated(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.leaferIsCreated

Inherited from ​

Group.leaferIsCreated

Defined in ​

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


leaferIsReady ​

• get leaferIsReady(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.leaferIsReady

Inherited from ​

Group.leaferIsReady

Defined in ​

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


isLeafer ​

• get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.isLeafer

Inherited from ​

Group.isLeafer

Defined in ​

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


isBranchLeaf ​

• get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.isBranchLeaf

Inherited from ​

Group.isBranchLeaf

Defined in ​

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


__localMatrix ​

• get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IEditBox.__localMatrix

Inherited from ​

Group.__localMatrix

Defined in ​

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


__localBoxBounds ​

• get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IEditBox.__localBoxBounds

Inherited from ​

Group.__localBoxBounds

Defined in ​

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


worldTransform ​

• get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IEditBox.worldTransform

Inherited from ​

Group.worldTransform

Defined in ​

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


localTransform ​

• get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IEditBox.localTransform

Inherited from ​

Group.localTransform

Defined in ​

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


scrollWorldTransform ​

• get scrollWorldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IEditBox.scrollWorldTransform

Inherited from ​

Group.scrollWorldTransform

Defined in ​

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


boxBounds ​

• get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IEditBox.boxBounds

Inherited from ​

Group.boxBounds

Defined in ​

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


renderBounds ​

• get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IEditBox.renderBounds

Inherited from ​

Group.renderBounds

Defined in ​

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


worldBoxBounds ​

• get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IEditBox.worldBoxBounds

Inherited from ​

Group.worldBoxBounds

Defined in ​

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


worldStrokeBounds ​

• get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IEditBox.worldStrokeBounds

Inherited from ​

Group.worldStrokeBounds

Defined in ​

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


worldRenderBounds ​

• get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IEditBox.worldRenderBounds

Inherited from ​

Group.worldRenderBounds

Defined in ​

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


worldOpacity ​

• get worldOpacity(): number

Returns ​

number

Implementation of ​

IEditBox.worldOpacity

Inherited from ​

Group.worldOpacity

Defined in ​

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


__worldFlipped ​

• get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.__worldFlipped

Inherited from ​

Group.__worldFlipped

Defined in ​

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


__onlyHitMask ​

• get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.__onlyHitMask

Inherited from ​

Group.__onlyHitMask

Defined in ​

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


__ignoreHitWorld ​

• get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.__ignoreHitWorld

Inherited from ​

Group.__ignoreHitWorld

Defined in ​

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


__inLazyBounds ​

• get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.__inLazyBounds

Inherited from ​

Group.__inLazyBounds

Defined in ​

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


pathInputed ​

• get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.pathInputed

Inherited from ​

Group.pathInputed

Defined in ​

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


event ​

• set event(map): void

Parameters ​

NameType
mapIEventParamsMap

Returns ​

void

Implementation of ​

IEditBox.event

Inherited from ​

Group.event

Defined in ​

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


__tag ​

• get __tag(): string

Returns ​

string

Implementation of ​

IEditBox.__tag

Inherited from ​

Group.__tag

Defined in ​

src/ui/packages/display/src/Group.ts:14


isBranch ​

• get isBranch(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.isBranch

Inherited from ​

Group.isBranch

Defined in ​

src/ui/packages/display/src/Group.ts:16


app ​

• get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

IEditBox.app

Inherited from ​

Group.app

Defined in ​

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


isFrame ​

• get isFrame(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.isFrame

Inherited from ​

Group.isFrame

Defined in ​

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


strokeWidthFixed ​

• get strokeWidthFixed(): IScaleFixed

Returns ​

IScaleFixed

Inherited from ​

Group.strokeWidthFixed

Defined in ​

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

• set strokeWidthFixed(value): void

Parameters ​

NameType
valueIScaleFixed

Returns ​

void

Inherited from ​

Group.strokeWidthFixed

Defined in ​

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


scale ​

• get scale(): number | IPointData

Returns ​

number | IPointData

Implementation of ​

IEditBox.scale

Inherited from ​

Group.scale

Defined in ​

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

• set scale(value): void

Parameters ​

NameType
valuenumber | IPointData

Returns ​

void

Implementation of ​

IEditBox.scale

Inherited from ​

Group.scale

Defined in ​

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


isAutoWidth ​

• get isAutoWidth(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.isAutoWidth

Inherited from ​

Group.isAutoWidth

Defined in ​

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


isAutoHeight ​

• get isAutoHeight(): boolean

Returns ​

boolean

Implementation of ​

IEditBox.isAutoHeight

Inherited from ​

Group.isAutoHeight

Defined in ​

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


pen ​

• get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

IEditBox.pen

Inherited from ​

Group.pen

Defined in ​

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

Methods ​

create ​

â–¸ create(): void

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:83


load ​

â–¸ load(): void

Returns ​

void

Implementation of ​

IEditBox.load

Overrides ​

Group.load

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:112


update ​

â–¸ update(): void

Returns ​

void

Implementation of ​

IEditBox.update

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:153


unload ​

â–¸ unload(): void

Returns ​

void

Implementation of ​

IEditBox.unload

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:161


updateBounds ​

â–¸ updateBounds(bounds): void

Parameters ​

NameType
boundsIBoundsData

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:167


layoutCircle ​

â–¸ layoutCircle(): void

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:237


layoutButtons ​

â–¸ layoutButtons(): void

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:243


setButtonPosition ​

â–¸ setButtonPosition(buttons, direction, buttonsMargin, useMiddlePoint): void

Parameters ​

NameType
buttonsIUI
directionnumber
buttonsMarginnumber
useMiddlePointboolean

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:261


getPointStyle ​

â–¸ getPointStyle(userStyle?): IBoxInputData

Parameters ​

NameType
userStyle?IBoxInputData

Returns ​

IBoxInputData

Implementation of ​

IEditBox.getPointStyle

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:279


getPointsStyle ​

â–¸ getPointsStyle(): IBoxInputData[]

Returns ​

IBoxInputData[]

Implementation of ​

IEditBox.getPointsStyle

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:285


getMiddlePointsStyle ​

â–¸ getMiddlePointsStyle(): IBoxInputData[]

Returns ​

IBoxInputData[]

Implementation of ​

IEditBox.getMiddlePointsStyle

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:290


getResizeLinesStyle ​

â–¸ getResizeLinesStyle(): IBoxInputData[]

Returns ​

IBoxInputData[]

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:295


onDragStart ​

â–¸ onDragStart(e): void

Parameters ​

NameType
eDragEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:303


onDrag ​

â–¸ onDrag(e): void

Parameters ​

NameType
eDragEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:325


onDragEnd ​

â–¸ onDragEnd(e): void

Parameters ​

NameType
eDragEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:339


onTransformStart ​

â–¸ onTransformStart(e): void

Parameters ​

NameType
eIUIEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:346


onTransformEnd ​

â–¸ onTransformEnd(e): void

Parameters ​

NameType
eIUIEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:359


onMove ​

â–¸ onMove(e): void

Parameters ​

NameType
eMoveEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:370


onScale ​

â–¸ onScale(e): void

Parameters ​

NameType
eZoomEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:384


onRotate ​

â–¸ onRotate(e): void

Parameters ​

NameType
eRotateEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:398


isHoldRotateKey ​

â–¸ isHoldRotateKey(e): boolean

Parameters ​

NameType
eIUIEvent

Returns ​

boolean

Implementation of ​

IEditBox.isHoldRotateKey

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:414


onKey ​

â–¸ onKey(e): void

Parameters ​

NameType
eKeyEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:420


onArrow ​

â–¸ onArrow(e): void

Parameters ​

NameType
eIKeyEvent

Returns ​

void

Implementation of ​

IEditBox.onArrow

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:424


onDoubleTap ​

â–¸ onDoubleTap(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:451


onLongPress ​

â–¸ onLongPress(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:456


openInner ​

â–¸ openInner(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:461


listenPointEvents ​

â–¸ listenPointEvents(point, type, direction): void

Parameters ​

NameType
pointIEditPoint
typeIEditPointType
directionDirection9

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:481


__listenEvents ​

â–¸ __listenEvents(): void

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:497


__removeListenEvents ​

â–¸ __removeListenEvents(): void

Returns ​

void

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:521


destroy ​

â–¸ destroy(): void

Returns ​

void

Implementation of ​

IEditBox.destroy

Overrides ​

Group.destroy

Defined in ​

src/in/packages/editor/src/display/EditBox.ts:525


resetCustom ​

â–¸ resetCustom(): void

Returns ​

void

Implementation of ​

IEditBox.resetCustom

Inherited from ​

Group.resetCustom

Defined in ​

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


waitParent ​

â–¸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IEditBox.waitParent

Inherited from ​

Group.waitParent

Defined in ​

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


waitLeafer ​

â–¸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IEditBox.waitLeafer

Inherited from ​

Group.waitLeafer

Defined in ​

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


nextRender ​

â–¸ nextRender(item, bind?, off?): void

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Implementation of ​

IEditBox.nextRender

Inherited from ​

Group.nextRender

Defined in ​

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


removeNextRender ​

â–¸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Implementation of ​

IEditBox.removeNextRender

Inherited from ​

Group.removeNextRender

Defined in ​

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


__bindLeafer ​

â–¸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Implementation of ​

IEditBox.__bindLeafer

Inherited from ​

Group.__bindLeafer

Defined in ​

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


setAttr ​

â–¸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Implementation of ​

IEditBox.setAttr

Inherited from ​

Group.setAttr

Defined in ​

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


getAttr ​

â–¸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IEditBox.getAttr

Inherited from ​

Group.getAttr

Defined in ​

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


getComputedAttr ​

â–¸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IEditBox.getComputedAttr

Inherited from ​

Group.getComputedAttr

Defined in ​

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


toString ​

â–¸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Implementation of ​

IEditBox.toString

Inherited from ​

Group.toString

Defined in ​

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


toSVG ​

â–¸ toSVG(): string

Returns ​

string

Implementation of ​

IEditBox.toSVG

Inherited from ​

Group.toSVG

Defined in ​

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


__SVG ​

â–¸ __SVG(_data): void

Parameters ​

NameType
_dataIObject

Returns ​

void

Implementation of ​

IEditBox.__SVG

Inherited from ​

Group.__SVG

Defined in ​

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


toHTML ​

â–¸ toHTML(): string

Returns ​

string

Implementation of ​

IEditBox.toHTML

Inherited from ​

Group.toHTML

Defined in ​

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


__setAttr ​

â–¸ __setAttr(_attrName, _newValue): boolean

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

boolean

Implementation of ​

IEditBox.__setAttr

Inherited from ​

Group.__setAttr

Defined in ​

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


__getAttr ​

â–¸ __getAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IEditBox.__getAttr

Inherited from ​

Group.__getAttr

Defined in ​

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


setProxyAttr ​

â–¸ setProxyAttr(_attrName, _newValue): void

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

void

Implementation of ​

IEditBox.setProxyAttr

Inherited from ​

Group.setProxyAttr

Defined in ​

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


getProxyAttr ​

â–¸ getProxyAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IEditBox.getProxyAttr

Inherited from ​

Group.getProxyAttr

Defined in ​

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


focus ​

â–¸ focus(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IEditBox.focus

Inherited from ​

Group.focus

Defined in ​

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


updateState ​

â–¸ updateState(): void

Returns ​

void

Implementation of ​

IEditBox.updateState

Inherited from ​

Group.updateState

Defined in ​

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


updateLayout ​

â–¸ updateLayout(): void

Returns ​

void

Implementation of ​

IEditBox.updateLayout

Inherited from ​

Group.updateLayout

Defined in ​

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


forceUpdate ​

â–¸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Implementation of ​

IEditBox.forceUpdate

Inherited from ​

Group.forceUpdate

Defined in ​

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


forceRender ​

â–¸ forceRender(_bounds?, _sync?): void

Parameters ​

NameType
_bounds?IBoundsData
_sync?boolean

Returns ​

void

Implementation of ​

IEditBox.forceRender

Inherited from ​

Group.forceRender

Defined in ​

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


__extraUpdate ​

â–¸ __extraUpdate(): void

Returns ​

void

Implementation of ​

IEditBox.__extraUpdate

Inherited from ​

Group.__extraUpdate

Defined in ​

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


__updateWorldMatrix ​

â–¸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

IEditBox.__updateWorldMatrix

Inherited from ​

Group.__updateWorldMatrix

Defined in ​

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


__updateLocalMatrix ​

â–¸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

IEditBox.__updateLocalMatrix

Inherited from ​

Group.__updateLocalMatrix

Defined in ​

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


__updateWorldBounds ​

â–¸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

IEditBox.__updateWorldBounds

Inherited from ​

Group.__updateWorldBounds

Defined in ​

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


__updateLocalBounds ​

â–¸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

IEditBox.__updateLocalBounds

Inherited from ​

Group.__updateLocalBounds

Defined in ​

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


__updateLocalBoxBounds ​

â–¸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

IEditBox.__updateLocalBoxBounds

Inherited from ​

Group.__updateLocalBoxBounds

Defined in ​

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


__updateLocalStrokeBounds ​

â–¸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

IEditBox.__updateLocalStrokeBounds

Inherited from ​

Group.__updateLocalStrokeBounds

Defined in ​

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


__updateLocalRenderBounds ​

â–¸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

IEditBox.__updateLocalRenderBounds

Inherited from ​

Group.__updateLocalRenderBounds

Defined in ​

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


__updateBoxBounds ​

â–¸ __updateBoxBounds(_secondLayout?, _bounds?): void

Parameters ​

NameType
_secondLayout?boolean
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IEditBox.__updateBoxBounds

Inherited from ​

Group.__updateBoxBounds

Defined in ​

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


__updateContentBounds ​

â–¸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

IEditBox.__updateContentBounds

Inherited from ​

Group.__updateContentBounds

Defined in ​

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


__updateStrokeBounds ​

â–¸ __updateStrokeBounds(_bounds?): void

Parameters ​

NameType
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IEditBox.__updateStrokeBounds

Inherited from ​

Group.__updateStrokeBounds

Defined in ​

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


__updateRenderBounds ​

â–¸ __updateRenderBounds(_bounds?): void

Parameters ​

NameType
_bounds?IBoundsData

Returns ​

void

Implementation of ​

IEditBox.__updateRenderBounds

Inherited from ​

Group.__updateRenderBounds

Defined in ​

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


__updateAutoLayout ​

â–¸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

IEditBox.__updateAutoLayout

Inherited from ​

Group.__updateAutoLayout

Defined in ​

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


__updateFlowLayout ​

â–¸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

IEditBox.__updateFlowLayout

Inherited from ​

Group.__updateFlowLayout

Defined in ​

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


__updateNaturalSize ​

â–¸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

IEditBox.__updateNaturalSize

Inherited from ​

Group.__updateNaturalSize

Defined in ​

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


__updateStrokeSpread ​

â–¸ __updateStrokeSpread(): IFourNumber

Returns ​

IFourNumber

Implementation of ​

IEditBox.__updateStrokeSpread

Inherited from ​

Group.__updateStrokeSpread

Defined in ​

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


__updateRenderSpread ​

â–¸ __updateRenderSpread(): IFourNumber

Returns ​

IFourNumber

Implementation of ​

IEditBox.__updateRenderSpread

Inherited from ​

Group.__updateRenderSpread

Defined in ​

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


__updateEraser ​

â–¸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IEditBox.__updateEraser

Inherited from ​

Group.__updateEraser

Defined in ​

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


__renderEraser ​

â–¸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__renderEraser

Inherited from ​

Group.__renderEraser

Defined in ​

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


__updateMask ​

â–¸ __updateMask(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IEditBox.__updateMask

Inherited from ​

Group.__updateMask

Defined in ​

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


__renderMask ​

â–¸ __renderMask(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__renderMask

Inherited from ​

Group.__renderMask

Defined in ​

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


__getNowWorld ​

â–¸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Implementation of ​

IEditBox.__getNowWorld

Inherited from ​

Group.__getNowWorld

Defined in ​

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


getClampRenderScale ​

â–¸ getClampRenderScale(): number

Returns ​

number

Implementation of ​

IEditBox.getClampRenderScale

Inherited from ​

Group.getClampRenderScale

Defined in ​

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


getRenderScaleData ​

â–¸ getRenderScaleData(abs?, scaleFixed?, unscale?): IScaleData

Parameters ​

NameTypeDefault value
abs?booleanundefined
scaleFixed?IScaleFixedundefined
unscalebooleantrue

Returns ​

IScaleData

Implementation of ​

IEditBox.getRenderScaleData

Inherited from ​

Group.getRenderScaleData

Defined in ​

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


getTransform ​

â–¸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Implementation of ​

IEditBox.getTransform

Inherited from ​

Group.getTransform

Defined in ​

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


getBounds ​

â–¸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Implementation of ​

IEditBox.getBounds

Inherited from ​

Group.getBounds

Defined in ​

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


getLayoutBounds ​

â–¸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters ​

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

Returns ​

ILayoutBoundsData

Implementation of ​

IEditBox.getLayoutBounds

Inherited from ​

Group.getLayoutBounds

Defined in ​

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


getLayoutPoints ​

â–¸ getLayoutPoints(type?, relative?): IPointData[]

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Implementation of ​

IEditBox.getLayoutPoints

Inherited from ​

Group.getLayoutPoints

Defined in ​

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


getWorldBounds ​

â–¸ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Implementation of ​

IEditBox.getWorldBounds

Inherited from ​

Group.getWorldBounds

Defined in ​

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


worldToLocal ​

â–¸ worldToLocal(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IEditBox.worldToLocal

Inherited from ​

Group.worldToLocal

Defined in ​

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


localToWorld ​

â–¸ localToWorld(local, to?, distance?, relative?): void

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IEditBox.localToWorld

Inherited from ​

Group.localToWorld

Defined in ​

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


worldToInner ​

â–¸ worldToInner(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IEditBox.worldToInner

Inherited from ​

Group.worldToInner

Defined in ​

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


innerToWorld ​

â–¸ innerToWorld(inner, to?, distance?, relative?): void

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IEditBox.innerToWorld

Inherited from ​

Group.innerToWorld

Defined in ​

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


getBoxPoint ​

â–¸ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getBoxPoint

Inherited from ​

Group.getBoxPoint

Defined in ​

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


getBoxPointByInner ​

â–¸ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getBoxPointByInner

Inherited from ​

Group.getBoxPointByInner

Defined in ​

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


getInnerPoint ​

â–¸ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getInnerPoint

Inherited from ​

Group.getInnerPoint

Defined in ​

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


getInnerPointByBox ​

â–¸ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getInnerPointByBox

Inherited from ​

Group.getInnerPointByBox

Defined in ​

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


getInnerPointByLocal ​

â–¸ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getInnerPointByLocal

Inherited from ​

Group.getInnerPointByLocal

Defined in ​

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


getLocalPoint ​

â–¸ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getLocalPoint

Inherited from ​

Group.getLocalPoint

Defined in ​

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


getLocalPointByInner ​

â–¸ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getLocalPointByInner

Inherited from ​

Group.getLocalPointByInner

Defined in ​

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


getPagePoint ​

â–¸ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getPagePoint

Inherited from ​

Group.getPagePoint

Defined in ​

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


getWorldPoint ​

â–¸ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getWorldPoint

Inherited from ​

Group.getWorldPoint

Defined in ​

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


getWorldPointByBox ​

â–¸ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getWorldPointByBox

Inherited from ​

Group.getWorldPointByBox

Defined in ​

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


getWorldPointByLocal ​

â–¸ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getWorldPointByLocal

Inherited from ​

Group.getWorldPointByLocal

Defined in ​

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


getWorldPointByPage ​

â–¸ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IEditBox.getWorldPointByPage

Inherited from ​

Group.getWorldPointByPage

Defined in ​

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


setTransform ​

â–¸ setTransform(matrix, resize?, transition?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.setTransform

Inherited from ​

Group.setTransform

Defined in ​

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


transform ​

â–¸ transform(matrix, resize?, transition?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.transform

Inherited from ​

Group.transform

Defined in ​

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


move ​

â–¸ move(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.move

Inherited from ​

Group.move

Defined in ​

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


moveInner ​

â–¸ moveInner(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.moveInner

Inherited from ​

Group.moveInner

Defined in ​

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


scaleOf ​

â–¸ scaleOf(origin, scaleX, scaleY?, resize?, transition?): void

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?ITransition
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.scaleOf

Inherited from ​

Group.scaleOf

Defined in ​

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


rotateOf ​

â–¸ rotateOf(origin, rotation, transition?): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.rotateOf

Inherited from ​

Group.rotateOf

Defined in ​

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


skewOf ​

â–¸ skewOf(origin, skewX, skewY?, resize?, transition?): void

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.skewOf

Inherited from ​

Group.skewOf

Defined in ​

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


transformWorld ​

â–¸ transformWorld(worldTransform?, resize?, transition?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.transformWorld

Inherited from ​

Group.transformWorld

Defined in ​

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


moveWorld ​

â–¸ moveWorld(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.moveWorld

Inherited from ​

Group.moveWorld

Defined in ​

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


scaleOfWorld ​

â–¸ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?, transition?): void

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?ITransition
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.scaleOfWorld

Inherited from ​

Group.scaleOfWorld

Defined in ​

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


rotateOfWorld ​

â–¸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Implementation of ​

IEditBox.rotateOfWorld

Inherited from ​

Group.rotateOfWorld

Defined in ​

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


skewOfWorld ​

â–¸ skewOfWorld(worldOrigin, skewX, skewY?, resize?, transition?): void

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.skewOfWorld

Inherited from ​

Group.skewOfWorld

Defined in ​

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


flip ​

â–¸ flip(axis, transition?): void

Parameters ​

NameType
axisIAxis
transition?ITransition

Returns ​

void

Implementation of ​

IEditBox.flip

Inherited from ​

Group.flip

Defined in ​

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


scaleResize ​

â–¸ scaleResize(scaleX, scaleY?, _noResize?): void

Parameters ​

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns ​

void

Implementation of ​

IEditBox.scaleResize

Inherited from ​

Group.scaleResize

Defined in ​

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


__scaleResize ​

â–¸ __scaleResize(_scaleX, _scaleY): void

Parameters ​

NameType
_scaleXnumber
_scaleYnumber

Returns ​

void

Implementation of ​

IEditBox.__scaleResize

Inherited from ​

Group.__scaleResize

Defined in ​

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


resizeWidth ​

â–¸ resizeWidth(_width): void

Parameters ​

NameType
_widthnumber

Returns ​

void

Implementation of ​

IEditBox.resizeWidth

Inherited from ​

Group.resizeWidth

Defined in ​

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


resizeHeight ​

â–¸ resizeHeight(_height): void

Parameters ​

NameType
_heightnumber

Returns ​

void

Implementation of ​

IEditBox.resizeHeight

Inherited from ​

Group.resizeHeight

Defined in ​

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


hit ​

â–¸ hit(_world, _hitRadius?): boolean

Parameters ​

NameType
_worldIPointData
_hitRadius?number

Returns ​

boolean

Implementation of ​

IEditBox.hit

Inherited from ​

Group.hit

Defined in ​

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


__hitWorld ​

â–¸ __hitWorld(_point, _forceHitFill?): boolean

Parameters ​

NameType
_pointIRadiusPointData
_forceHitFill?boolean

Returns ​

boolean

Implementation of ​

IEditBox.__hitWorld

Inherited from ​

Group.__hitWorld

Defined in ​

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


__hit ​

â–¸ __hit(_local, _forceHitFill?): boolean

Parameters ​

NameType
_localIRadiusPointData
_forceHitFill?boolean

Returns ​

boolean

Implementation of ​

IEditBox.__hit

Inherited from ​

Group.__hit

Defined in ​

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


__hitFill ​

â–¸ __hitFill(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IEditBox.__hitFill

Inherited from ​

Group.__hitFill

Defined in ​

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


__hitStroke ​

â–¸ __hitStroke(_inner, _strokeWidth): boolean

Parameters ​

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns ​

boolean

Implementation of ​

IEditBox.__hitStroke

Inherited from ​

Group.__hitStroke

Defined in ​

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


__hitPixel ​

â–¸ __hitPixel(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IEditBox.__hitPixel

Inherited from ​

Group.__hitPixel

Defined in ​

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


__drawHitPath ​

â–¸ __drawHitPath(_canvas): void

Parameters ​

NameType
_canvasILeaferCanvas

Returns ​

void

Implementation of ​

IEditBox.__drawHitPath

Inherited from ​

Group.__drawHitPath

Defined in ​

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


__updateHitCanvas ​

â–¸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

IEditBox.__updateHitCanvas

Inherited from ​

Group.__updateHitCanvas

Defined in ​

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


__render ​

â–¸ __render(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__render

Inherited from ​

Group.__render

Defined in ​

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


__drawFast ​

â–¸ __drawFast(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__drawFast

Inherited from ​

Group.__drawFast

Defined in ​

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


__draw ​

â–¸ __draw(_canvas, _options, _originCanvas?): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_originCanvas?ILeaferCanvas

Returns ​

void

Implementation of ​

IEditBox.__draw

Inherited from ​

Group.__draw

Defined in ​

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


__clip ​

â–¸ __clip(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__clip

Inherited from ​

Group.__clip

Defined in ​

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


__renderShape ​

â–¸ __renderShape(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__renderShape

Inherited from ​

Group.__renderShape

Defined in ​

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


__drawShape ​

â–¸ __drawShape(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.__drawShape

Inherited from ​

Group.__drawShape

Defined in ​

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


__updateWorldOpacity ​

â–¸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

IEditBox.__updateWorldOpacity

Inherited from ​

Group.__updateWorldOpacity

Defined in ​

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


__updateChange ​

â–¸ __updateChange(): void

Returns ​

void

Implementation of ​

IEditBox.__updateChange

Inherited from ​

Group.__updateChange

Defined in ​

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


__updatePath ​

â–¸ __updatePath(): void

Returns ​

void

Implementation of ​

IEditBox.__updatePath

Inherited from ​

Group.__updatePath

Defined in ​

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


getMotionPathData ​

â–¸ getMotionPathData(): IMotionPathData

Returns ​

IMotionPathData

Implementation of ​

IEditBox.getMotionPathData

Inherited from ​

Group.getMotionPathData

Defined in ​

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


getMotionPoint ​

â–¸ getMotionPoint(_motionDistance): IRotationPointData

Parameters ​

NameType
_motionDistancenumber | IUnitData

Returns ​

IRotationPointData

Implementation of ​

IEditBox.getMotionPoint

Inherited from ​

Group.getMotionPoint

Defined in ​

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


getMotionTotal ​

â–¸ getMotionTotal(): number

Returns ​

number

Implementation of ​

IEditBox.getMotionTotal

Inherited from ​

Group.getMotionTotal

Defined in ​

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


__updateMotionPath ​

â–¸ __updateMotionPath(): void

Returns ​

void

Implementation of ​

IEditBox.__updateMotionPath

Inherited from ​

Group.__updateMotionPath

Defined in ​

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


__runAnimation ​

â–¸ __runAnimation(_type, _complete?): void

Parameters ​

NameType
_type"in" | "out"
_complete?IFunction

Returns ​

void

Implementation of ​

IEditBox.__runAnimation

Inherited from ​

Group.__runAnimation

Defined in ​

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


__updateSortChildren ​

â–¸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

IEditBox.__updateSortChildren

Inherited from ​

Group.__updateSortChildren

Defined in ​

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


dropTo ​

â–¸ dropTo(parent, index?, resize?): void

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Implementation of ​

IEditBox.dropTo

Inherited from ​

Group.dropTo

Defined in ​

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


on ​

â–¸ on(_type, _listener?, _options?): void

Parameters ​

NameType
_typestring | string[] | IEventParamsMap | IEventParams[]
_listener?IFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IEditBox.on

Inherited from ​

Group.on

Defined in ​

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


off ​

â–¸ off(_type?, _listener?, _options?): void

Parameters ​

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

Returns ​

void

Implementation of ​

IEditBox.off

Inherited from ​

Group.off

Defined in ​

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


on_ ​

â–¸ on_(_type, _listener?, _bind?, _options?): IEventListenerId

Parameters ​

NameType
_typestring | string[] | IEventParams[]
_listener?IFunction
_bind?IObject
_options?IEventOption

Returns ​

IEventListenerId

Implementation of ​

IEditBox.on_

Inherited from ​

Group.on_

Defined in ​

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


off_ ​

â–¸ off_(_id): void

Parameters ​

NameType
_idIEventListenerId | IEventListenerId[]

Returns ​

void

Implementation of ​

IEditBox.off_

Inherited from ​

Group.off_

Defined in ​

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


once ​

â–¸ once(_type, _listener?, _captureOrBind?, _capture?): void

Parameters ​

NameType
_typestring | string[] | IEventParams[]
_listener?IFunction
_captureOrBind?boolean | IObject
_capture?boolean

Returns ​

void

Implementation of ​

IEditBox.once

Inherited from ​

Group.once

Defined in ​

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


emit ​

â–¸ emit(_type, _event?, _capture?): void

Parameters ​

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IEditBox.emit

Inherited from ​

Group.emit

Defined in ​

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


emitEvent ​

â–¸ emitEvent(_event?, _capture?): void

Parameters ​

NameType
_event?IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IEditBox.emitEvent

Inherited from ​

Group.emitEvent

Defined in ​

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


hasEvent ​

â–¸ hasEvent(_type, _capture?): boolean

Parameters ​

NameType
_typestring
_capture?boolean

Returns ​

boolean

Implementation of ​

IEditBox.hasEvent

Inherited from ​

Group.hasEvent

Defined in ​

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


changeAttr ​

â–¸ changeAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValueFunction | IValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Group.changeAttr

Defined in ​

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


addAttr ​

â–¸ addAttr(attrName, defaultValue, fn?, helpValue?): void

Parameters ​

NameType
attrNamestring
defaultValueIValueFunction | IValue
fn?IAttrDecorator
helpValue?IValue

Returns ​

void

Inherited from ​

Group.addAttr

Defined in ​

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


__emitLifeEvent ​

â–¸ __emitLifeEvent(type): void

Parameters ​

NameType
typestring

Returns ​

void

Implementation of ​

IEditBox.__emitLifeEvent

Inherited from ​

Group.__emitLifeEvent

Defined in ​

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


reset ​

â–¸ reset(data?): void

Parameters ​

NameType
data?IGroupInputData

Returns ​

void

Implementation of ​

IEditBox.reset

Inherited from ​

Group.reset

Defined in ​

src/ui/packages/display/src/Group.ts:35


__setBranch ​

â–¸ __setBranch(): void

Returns ​

void

Inherited from ​

Group.__setBranch

Defined in ​

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


set ​

â–¸ set(data, transition?): void

Parameters ​

NameType
dataIUIInputData
transition?ITransition | "temp"

Returns ​

void

Implementation of ​

IEditBox.set

Inherited from ​

Group.set

Defined in ​

src/ui/packages/display/src/Group.ts:47


toJSON ​

â–¸ toJSON(options?): IUIJSONData

Parameters ​

NameType
options?IJSONOptions

Returns ​

IUIJSONData

Implementation of ​

IEditBox.toJSON

Inherited from ​

Group.toJSON

Defined in ​

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


pick ​

â–¸ pick(_hitPoint, _options?): IPickResult

Parameters ​

NameType
_hitPointIPointData
_options?IPickOptions

Returns ​

IPickResult

Implementation of ​

IEditBox.pick

Inherited from ​

Group.pick

Defined in ​

src/ui/packages/display/src/Group.ts:76


addAt ​

â–¸ addAt(child, index): void

Parameters ​

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

Returns ​

void

Implementation of ​

IEditBox.addAt

Inherited from ​

Group.addAt

Defined in ​

src/ui/packages/display/src/Group.ts:81


addAfter ​

â–¸ addAfter(child, after): void

Parameters ​

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

Returns ​

void

Implementation of ​

IEditBox.addAfter

Inherited from ​

Group.addAfter

Defined in ​

src/ui/packages/display/src/Group.ts:85


addBefore ​

â–¸ addBefore(child, before): void

Parameters ​

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

Returns ​

void

Implementation of ​

IEditBox.addBefore

Inherited from ​

Group.addBefore

Defined in ​

src/ui/packages/display/src/Group.ts:89


add ​

â–¸ add(_child, _index?): void

Parameters ​

NameType
_childIUIInputData | IUI | IUI[] | IUIInputData[]
_index?number

Returns ​

void

Implementation of ​

IEditBox.add

Inherited from ​

Group.add

Defined in ​

src/ui/packages/display/src/Group.ts:95


addMany ​

â–¸ addMany(..._children): void

Parameters ​

NameType
..._childrenIUI[] | IUIInputData[]

Returns ​

void

Implementation of ​

IEditBox.addMany

Inherited from ​

Group.addMany

Defined in ​

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


remove ​

â–¸ remove(_child?, _destroy?): void

Parameters ​

NameType
_child?string | number | IFindCondition | IUI | IFindUIMethod
_destroy?boolean

Returns ​

void

Implementation of ​

IEditBox.remove

Inherited from ​

Group.remove

Defined in ​

src/ui/packages/display/src/Group.ts:99


removeAll ​

â–¸ removeAll(_destroy?): void

Parameters ​

NameType
_destroy?boolean

Returns ​

void

Implementation of ​

IEditBox.removeAll

Inherited from ​

Group.removeAll

Defined in ​

src/ui/packages/display/src/Group.ts:101


clear ​

â–¸ clear(): void

Returns ​

void

Implementation of ​

IEditBox.clear

Inherited from ​

Group.clear

Defined in ​

src/ui/packages/display/src/Group.ts:103


get ​

â–¸ get<K>(name?): IUIInputData | EditBox[K]

Type parameters ​

NameType
Kextends keyof EditBox

Parameters ​

NameType
name?IUIInputData | K | K[]

Returns ​

IUIInputData | EditBox[K]

Implementation of ​

IEditBox.get

Inherited from ​

Group.get

Defined in ​

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


createProxyData ​

â–¸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

IEditBox.createProxyData

Inherited from ​

Group.createProxyData

Defined in ​

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


clearProxyData ​

â–¸ clearProxyData(): void

Returns ​

void

Implementation of ​

IEditBox.clearProxyData

Inherited from ​

Group.clearProxyData

Defined in ​

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


find ​

â–¸ find(_condition, _options?): IUI[]

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI[]

Implementation of ​

IEditBox.find

Inherited from ​

Group.find

Defined in ​

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


findTag ​

â–¸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Implementation of ​

IEditBox.findTag

Inherited from ​

Group.findTag

Defined in ​

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


findOne ​

â–¸ findOne(_condition, _options?): IUI

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI

Implementation of ​

IEditBox.findOne

Inherited from ​

Group.findOne

Defined in ​

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


findId ​

â–¸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Implementation of ​

IEditBox.findId

Inherited from ​

Group.findId

Defined in ​

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


getPath ​

â–¸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Implementation of ​

IEditBox.getPath

Inherited from ​

Group.getPath

Defined in ​

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


getPathString ​

â–¸ getPathString(curve?, pathForRender?, floatLength?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns ​

string

Implementation of ​

IEditBox.getPathString

Inherited from ​

Group.getPathString

Defined in ​

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


asPath ​

â–¸ asPath(curve?, pathForRender?): void

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

void

Implementation of ​

IEditBox.asPath

Inherited from ​

Group.asPath

Defined in ​

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


__onUpdateSize ​

â–¸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

IEditBox.__onUpdateSize

Inherited from ​

Group.__onUpdateSize

Defined in ​

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


__updateRenderPath ​

â–¸ __updateRenderPath(updateCache?): void

Parameters ​

NameType
updateCache?boolean

Returns ​

void

Implementation of ​

IEditBox.__updateRenderPath

Inherited from ​

Group.__updateRenderPath

Defined in ​

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


__drawRenderPath ​

â–¸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IEditBox.__drawRenderPath

Inherited from ​

Group.__drawRenderPath

Defined in ​

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


__drawPath ​

â–¸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IEditBox.__drawPath

Inherited from ​

Group.__drawPath

Defined in ​

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


__drawPathByData ​

â–¸ __drawPathByData(drawer, data, ignoreCornerRadius?): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData
ignoreCornerRadius?boolean

Returns ​

void

Implementation of ​

IEditBox.__drawPathByData

Inherited from ​

Group.__drawPathByData

Defined in ​

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


__drawPathByBox ​

â–¸ __drawPathByBox(drawer, ignoreCornerRadius?): void

Parameters ​

NameType
drawerIPathDrawer
ignoreCornerRadius?boolean

Returns ​

void

Implementation of ​

IEditBox.__drawPathByBox

Inherited from ​

Group.__drawPathByBox

Defined in ​

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


drawImagePlaceholder ​

â–¸ drawImagePlaceholder(_paint, canvas, renderOptions): void

Parameters ​

NameType
_paintILeafPaint
canvasILeaferCanvas
renderOptionsIRenderOptions

Returns ​

void

Implementation of ​

IEditBox.drawImagePlaceholder

Inherited from ​

Group.drawImagePlaceholder

Defined in ​

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


animate ​

â–¸ animate(keyframe?, _options?, _type?, _isTemp?): IAnimate

Parameters ​

NameType
keyframe?IAnimation | IUIInputData | IKeyframe[] | IAnimation[]
_options?ITransition
_type?IAnimateType
_isTemp?boolean

Returns ​

IAnimate

Implementation of ​

IEditBox.animate

Inherited from ​

Group.animate

Defined in ​

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


killAnimate ​

â–¸ killAnimate(_type?, _nextStyle?): void

Parameters ​

NameType
_type?IAnimateType
_nextStyle?IUIInputData

Returns ​

void

Implementation of ​

IEditBox.killAnimate

Inherited from ​

Group.killAnimate

Defined in ​

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


export ​

â–¸ export(_filename, _options?): Promise<IExportResult>

Parameters ​

NameType
_filenamestring
_options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Implementation of ​

IEditBox.export

Inherited from ​

Group.export

Defined in ​

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


syncExport ​

â–¸ syncExport(_filename, _options?): IExportResult

Parameters ​

NameType
_filenamestring
_options?number | boolean | IExportOptions

Returns ​

IExportResult

Implementation of ​

IEditBox.syncExport

Inherited from ​

Group.syncExport

Defined in ​

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


clone ​

â–¸ clone(data?): this

Parameters ​

NameType
data?IUIInputData

Returns ​

this

Implementation of ​

IEditBox.clone

Inherited from ​

Group.clone

Defined in ​

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


one ​

â–¸ one<T>(this, data, x?, y?, width?, height?): T

Type parameters ​

NameType
Textends UI<IUIInputData>

Parameters ​

NameType
this(...args: any[]) => T
dataIUIInputData
x?number
y?number
width?number
height?number

Returns ​

T

Inherited from ​

Group.one

Defined in ​

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


registerUI ​

â–¸ registerUI(): void

Returns ​

void

Inherited from ​

Group.registerUI

Defined in ​

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


registerData ​

â–¸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

Group.registerData

Defined in ​

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


setEditConfig ​

â–¸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

Group.setEditConfig

Defined in ​

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


setEditOuter ​

â–¸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditOuter

Defined in ​

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


setEditInner ​

â–¸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditInner

Defined in ​

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

Released under the MIT License.