įŽäŊä¸æ
Class: Ellipse â
Hierarchy â
âŗ
Ellipse
Implements â
Table of contents â
Constructors â
Properties â
- innerId
- __layout
- __world
- __local
- __nowWorld
- __cameraWorld
- __worldOpacity
- __level
- __tempNumber
- __hasAutoLayout
- __hasMask
- __hasEraser
- __hitCanvas
- __captureMap
- __bubbleMap
- __parentWait
- __leaferWait
- noBounds
- destroyed
- __
- innerRadius
- startAngle
- endAngle
- proxyData
- __proxyData
- leafer
- parent
- zoomLayer
- children
- id
- name
- className
- blendMode
- opacity
- visible
- selected
- disabled
- locked
- zIndex
- mask
- eraser
- x
- y
- width
- height
- scaleX
- scaleY
- rotation
- skewX
- skewY
- offsetX
- offsetY
- scrollX
- scrollY
- origin
- around
- lazy
- pixelRatio
- path
- windingRule
- closed
- flow
- padding
- gap
- flowAlign
- flowWrap
- itemBox
- inFlow
- autoWidth
- autoHeight
- lockRatio
- autoBox
- widthRange
- heightRange
- draggable
- dragBounds
- editable
- hittable
- hitFill
- hitStroke
- hitBox
- hitChildren
- hitSelf
- hitRadius
- cursor
- fill
- stroke
- strokeAlign
- strokeWidth
- strokeWidthFixed
- strokeCap
- strokeJoin
- dashPattern
- dashOffset
- miterLimit
- startArrow
- endArrow
- cornerRadius
- cornerSmoothing
- shadow
- innerShadow
- blur
- backgroundBlur
- grayscale
- normalStyle
- hoverStyle
- pressStyle
- focusStyle
- selectedStyle
- disabledStyle
- data
Accessors â
- tag
- innerName
- __DataProcessor
- __LayoutProcessor
- isLeafer
- isBranch
- isBranchLeaf
- __localMatrix
- __localBoxBounds
- worldTransform
- localTransform
- boxBounds
- renderBounds
- worldBoxBounds
- worldStrokeBounds
- worldRenderBounds
- worldOpacity
- __worldFlipped
- __onlyHitMask
- __ignoreHitWorld
- __inLazyBounds
- pathInputed
- event
- __tag
- app
- isFrame
- scale
- pen
- editConfig
- editOuter
- editInner
Methods â
- resetCustom
- waitParent
- waitLeafer
- nextRender
- removeNextRender
- __bindLeafer
- setAttr
- getAttr
- getComputedAttr
- toJSON
- toString
- toSVG
- __SVG
- toHTML
- __setAttr
- __getAttr
- setProxyAttr
- getProxyAttr
- focus
- updateLayout
- forceUpdate
- forceRender
- __updateWorldMatrix
- __updateLocalMatrix
- __updateWorldBounds
- __updateLocalBounds
- __updateLocalBoxBounds
- __updateLocalStrokeBounds
- __updateLocalRenderBounds
- __updateBoxBounds
- __updateContentBounds
- __updateStrokeBounds
- __updateRenderBounds
- __updateAutoLayout
- __updateFlowLayout
- __updateNaturalSize
- __updateStrokeSpread
- __updateRenderSpread
- __updateEraser
- __renderEraser
- __updateMask
- __renderMask
- __getNowWorld
- getTransform
- getBounds
- getLayoutBounds
- getLayoutPoints
- getWorldBounds
- worldToLocal
- localToWorld
- worldToInner
- innerToWorld
- getInnerPoint
- getInnerPointByLocal
- getLocalPoint
- getLocalPointByInner
- getWorldPoint
- getWorldPointByLocal
- getPagePoint
- getWorldPointByPage
- setTransform
- transform
- move
- moveInner
- scaleOf
- rotateOf
- skewOf
- transformWorld
- moveWorld
- scaleOfWorld
- rotateOfWorld
- skewOfWorld
- flip
- scaleResize
- __scaleResize
- resizeWidth
- resizeHeight
- __hitWorld
- __hit
- __hitFill
- __hitStroke
- __hitPixel
- __drawHitPath
- __updateHitCanvas
- __render
- __drawFast
- __draw
- __clip
- __renderShape
- __updateWorldOpacity
- __updateChange
- __updateSortChildren
- add
- remove
- dropTo
- on
- off
- on_
- off_
- once
- emit
- emitEvent
- hasEvent
- changeAttr
- addAttr
- __updatePath
- reset
- set
- get
- createProxyData
- find
- findTag
- findOne
- findId
- getPath
- getPathString
- load
- __onUpdateSize
- __updateRenderPath
- __drawRenderPath
- __drawPath
- __drawPathByData
- __drawPathByBox
- export
- clone
- one
- registerUI
- registerData
- setEditConfig
- setEditOuter
- setEditInner
- destroy
Constructors â
constructor â
âĸ new Ellipse(data?
): Ellipse
Parameters â
Name | Type |
---|---|
data? | IEllipseInputData |
Returns â
Overrides â
Defined in â
ui/packages/display/src/Ellipse.ts:29
Properties â
innerId â
âĸ Readonly
innerId: number
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:29
__layout â
âĸ __layout: ILeafLayout
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:43
__world â
âĸ __world: IMatrixWithBoundsScaleData
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:45
__local â
âĸ Optional
__local: IMatrixWithBoundsData
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:46
__nowWorld â
âĸ Optional
__nowWorld: IMatrixWithBoundsScaleData
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:48
__cameraWorld â
âĸ Optional
__cameraWorld: IMatrixWithBoundsScaleData
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:49
__worldOpacity â
âĸ __worldOpacity: number
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:54
__level â
âĸ __level: number
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:70
__tempNumber â
âĸ __tempNumber: number
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:71
__hasAutoLayout â
âĸ Optional
__hasAutoLayout: boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:75
__hasMask â
âĸ Optional
__hasMask: boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:76
__hasEraser â
âĸ Optional
__hasEraser: boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:77
__hitCanvas â
âĸ Optional
__hitCanvas: IHitCanvas
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:78
__captureMap â
âĸ Optional
__captureMap: IEventListenerMap
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:89
__bubbleMap â
âĸ Optional
__bubbleMap: IEventListenerMap
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:90
__parentWait â
âĸ Optional
__parentWait: IFunction
[]
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:92
__leaferWait â
âĸ Optional
__leaferWait: IFunction
[]
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:93
noBounds â
âĸ Optional
noBounds: boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:99
destroyed â
âĸ destroyed: boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:101
__ â
âĸ __: IEllipseData
Implementation of â
Overrides â
Defined in â
ui/packages/display/src/Ellipse.ts:18
innerRadius â
âĸ Optional
innerRadius: number
Implementation of â
Defined in â
ui/packages/display/src/Ellipse.ts:21
startAngle â
âĸ Optional
startAngle: number
Implementation of â
Defined in â
ui/packages/display/src/Ellipse.ts:24
endAngle â
âĸ Optional
endAngle: number
Implementation of â
Defined in â
ui/packages/display/src/Ellipse.ts:27
proxyData â
âĸ Optional
proxyData: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:21
__proxyData â
âĸ Optional
__proxyData: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:22
leafer â
âĸ Optional
leafer: ILeafer
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:26
parent â
âĸ Optional
parent: IGroup
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:27
zoomLayer â
âĸ zoomLayer: IGroup
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:30
children â
âĸ Optional
children: IUI
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:34
id â
âĸ Optional
id: string
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:40
name â
âĸ Optional
name: string
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:43
className â
âĸ Optional
className: string
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:46
blendMode â
âĸ Optional
blendMode: IBlendMode
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:51
opacity â
âĸ Optional
opacity: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:54
visible â
âĸ Optional
visible: boolean
| 0
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:57
selected â
âĸ Optional
selected: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:61
disabled â
âĸ Optional
disabled: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:64
locked â
âĸ Optional
locked: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:67
zIndex â
âĸ Optional
zIndex: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:71
mask â
âĸ Optional
mask: boolean
| IMaskType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:75
eraser â
âĸ Optional
eraser: boolean
| IEraserType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:78
x â
âĸ Optional
x: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:83
y â
âĸ Optional
y: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:86
width â
âĸ Optional
width: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:90
height â
âĸ Optional
height: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:93
scaleX â
âĸ Optional
scaleX: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:97
scaleY â
âĸ Optional
scaleY: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:100
rotation â
âĸ Optional
rotation: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:104
skewX â
âĸ Optional
skewX: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:108
skewY â
âĸ Optional
skewY: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:111
offsetX â
âĸ Optional
offsetX: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:116
offsetY â
âĸ Optional
offsetY: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:119
scrollX â
âĸ Optional
scrollX: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:123
scrollY â
âĸ Optional
scrollY: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:126
origin â
âĸ Optional
origin: IUnitPointData
| IDirection
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:131
around â
âĸ Optional
around: IUnitPointData
| IDirection
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:134
lazy â
âĸ Optional
lazy: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:139
pixelRatio â
âĸ Optional
pixelRatio: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:142
path â
âĸ Optional
path: string
| IPathCommandData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:147
windingRule â
âĸ Optional
windingRule: IWindingRule
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:150
closed â
âĸ Optional
closed: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:153
flow â
âĸ Optional
flow: IFlowType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:158
padding â
âĸ Optional
padding: IFourNumber
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:161
gap â
âĸ Optional
gap: IGap
| IPointGap
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:164
flowAlign â
âĸ Optional
flowAlign: IFlowAlign
| IFlowAxisAlign
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:167
flowWrap â
âĸ Optional
flowWrap: IFlowWrap
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:170
itemBox â
âĸ Optional
itemBox: IFlowBoxType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:173
inFlow â
âĸ Optional
inFlow: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:177
autoWidth â
âĸ Optional
autoWidth: IAutoSize
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:180
autoHeight â
âĸ Optional
autoHeight: IAutoSize
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:183
lockRatio â
âĸ Optional
lockRatio: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:186
autoBox â
âĸ Optional
autoBox: IAutoBoxData
| IConstraint
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:189
widthRange â
âĸ Optional
widthRange: IRangeSize
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:193
heightRange â
âĸ Optional
heightRange: IRangeSize
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:196
draggable â
âĸ Optional
draggable: boolean
| IAxis
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:201
dragBounds â
âĸ Optional
dragBounds: "parent"
| IBoundsData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:204
editable â
âĸ Optional
editable: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:208
hittable â
âĸ Optional
hittable: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:213
hitFill â
âĸ Optional
hitFill: IHitType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:216
hitStroke â
âĸ Optional
hitStroke: IHitType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:219
hitBox â
âĸ Optional
hitBox: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:222
hitChildren â
âĸ Optional
hitChildren: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:225
hitSelf â
âĸ Optional
hitSelf: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:228
hitRadius â
âĸ Optional
hitRadius: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:231
cursor â
âĸ Optional
cursor: ICursorType
| ICursorType
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:234
fill â
âĸ Optional
fill: IFill
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:242
stroke â
âĸ Optional
stroke: IStroke
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:247
strokeAlign â
âĸ Optional
strokeAlign: IStrokeAlign
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:250
strokeWidth â
âĸ Optional
strokeWidth: string
| IFourNumber
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:253
strokeWidthFixed â
âĸ Optional
strokeWidthFixed: boolean
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:256
strokeCap â
âĸ Optional
strokeCap: IStrokeCap
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:259
strokeJoin â
âĸ Optional
strokeJoin: IStrokeJoin
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:262
dashPattern â
âĸ Optional
dashPattern: string
| number
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:265
dashOffset â
âĸ Optional
dashOffset: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:268
miterLimit â
âĸ Optional
miterLimit: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:271
startArrow â
âĸ Optional
startArrow: IArrowType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:277
endArrow â
âĸ Optional
endArrow: IArrowType
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:280
cornerRadius â
âĸ Optional
cornerRadius: string
| IFourNumber
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:285
cornerSmoothing â
âĸ Optional
cornerSmoothing: number
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:288
shadow â
âĸ Optional
shadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:293
innerShadow â
âĸ Optional
innerShadow: string
| IShadowEffect
| IShadowEffect
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:296
blur â
âĸ Optional
blur: number
| IBlurEffect
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:299
backgroundBlur â
âĸ Optional
backgroundBlur: number
| IBlurEffect
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:302
grayscale â
âĸ Optional
grayscale: number
| IGrayscaleEffect
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:305
normalStyle â
âĸ Optional
normalStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:311
hoverStyle â
âĸ Optional
hoverStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:314
pressStyle â
âĸ Optional
pressStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:317
focusStyle â
âĸ Optional
focusStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:320
selectedStyle â
âĸ Optional
selectedStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:323
disabledStyle â
âĸ Optional
disabledStyle: IUIInputData
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:326
data â
âĸ data: IObject
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:331
Accessors â
tag â
âĸ get
tag(): string
Returns â
string
Implementation of â
Inherited from â
UI.tag
Defined in â
leafer/packages/display/src/Leaf.ts:24
âĸ set
tag(_value
): void
Parameters â
Name | Type |
---|---|
_value | string |
Returns â
void
Implementation of â
Inherited from â
UI.tag
Defined in â
leafer/packages/display/src/Leaf.ts:25
innerName â
âĸ get
innerName(): string
Returns â
string
Implementation of â
Inherited from â
UI.innerName
Defined in â
leafer/packages/display/src/Leaf.ts:30
__DataProcessor â
âĸ get
__DataProcessor(): typeof LeafData
Returns â
typeof LeafData
Implementation of â
Inherited from â
UI.__DataProcessor
Defined in â
leafer/packages/display/src/Leaf.ts:32
__LayoutProcessor â
âĸ get
__LayoutProcessor(): typeof LeafLayout
Returns â
typeof LeafLayout
Implementation of â
Inherited from â
UI.__LayoutProcessor
Defined in â
leafer/packages/display/src/Leaf.ts:33
isLeafer â
âĸ get
isLeafer(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.isLeafer
Defined in â
leafer/packages/display/src/Leaf.ts:38
isBranch â
âĸ get
isBranch(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.isBranch
Defined in â
leafer/packages/display/src/Leaf.ts:39
isBranchLeaf â
âĸ get
isBranchLeaf(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.isBranchLeaf
Defined in â
leafer/packages/display/src/Leaf.ts:40
__localMatrix â
âĸ get
__localMatrix(): IMatrixData
Returns â
Implementation of â
Inherited from â
UI.__localMatrix
Defined in â
leafer/packages/display/src/Leaf.ts:51
__localBoxBounds â
âĸ get
__localBoxBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
UI.__localBoxBounds
Defined in â
leafer/packages/display/src/Leaf.ts:52
worldTransform â
âĸ get
worldTransform(): IMatrixWithScaleData
Returns â
Implementation of â
Inherited from â
UI.worldTransform
Defined in â
leafer/packages/display/src/Leaf.ts:57
localTransform â
âĸ get
localTransform(): IMatrixData
Returns â
Implementation of â
Inherited from â
UI.localTransform
Defined in â
leafer/packages/display/src/Leaf.ts:58
boxBounds â
âĸ get
boxBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
UI.boxBounds
Defined in â
leafer/packages/display/src/Leaf.ts:61
renderBounds â
âĸ get
renderBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
UI.renderBounds
Defined in â
leafer/packages/display/src/Leaf.ts:62
worldBoxBounds â
âĸ get
worldBoxBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
UI.worldBoxBounds
Defined in â
leafer/packages/display/src/Leaf.ts:63
worldStrokeBounds â
âĸ get
worldStrokeBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
UI.worldStrokeBounds
Defined in â
leafer/packages/display/src/Leaf.ts:64
worldRenderBounds â
âĸ get
worldRenderBounds(): IBoundsData
Returns â
Implementation of â
Inherited from â
UI.worldRenderBounds
Defined in â
leafer/packages/display/src/Leaf.ts:65
worldOpacity â
âĸ get
worldOpacity(): number
Returns â
number
Implementation of â
Inherited from â
UI.worldOpacity
Defined in â
leafer/packages/display/src/Leaf.ts:68
__worldFlipped â
âĸ get
__worldFlipped(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.__worldFlipped
Defined in â
leafer/packages/display/src/Leaf.ts:73
__onlyHitMask â
âĸ get
__onlyHitMask(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.__onlyHitMask
Defined in â
leafer/packages/display/src/Leaf.ts:80
__ignoreHitWorld â
âĸ get
__ignoreHitWorld(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.__ignoreHitWorld
Defined in â
leafer/packages/display/src/Leaf.ts:81
__inLazyBounds â
âĸ get
__inLazyBounds(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.__inLazyBounds
Defined in â
leafer/packages/display/src/Leaf.ts:82
pathInputed â
âĸ get
pathInputed(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.pathInputed
Defined in â
leafer/packages/display/src/Leaf.ts:84
event â
âĸ set
event(map
): void
Parameters â
Name | Type |
---|---|
map | IEventMap |
Returns â
void
Implementation of â
Inherited from â
UI.event
Defined in â
leafer/packages/display/src/Leaf.ts:87
__tag â
âĸ get
__tag(): string
Returns â
string
Implementation of â
Overrides â
UI.__tag
Defined in â
ui/packages/display/src/Ellipse.ts:15
app â
âĸ get
app(): ILeafer
Returns â
Implementation of â
Inherited from â
UI.app
Defined in â
ui/packages/display/src/UI.ts:24
isFrame â
âĸ get
isFrame(): boolean
Returns â
boolean
Implementation of â
Inherited from â
UI.isFrame
Defined in â
ui/packages/display/src/UI.ts:32
scale â
âĸ get
scale(): number
| IPointData
Returns â
number
| IPointData
Implementation of â
Inherited from â
UI.scale
Defined in â
ui/packages/display/src/UI.ts:343
âĸ set
scale(value
): void
Parameters â
Name | Type |
---|---|
value | number | IPointData |
Returns â
void
Implementation of â
Inherited from â
UI.scale
Defined in â
ui/packages/display/src/UI.ts:334
pen â
âĸ get
pen(): IPathCreator
Returns â
Implementation of â
Inherited from â
UI.pen
Defined in â
ui/packages/display/src/UI.ts:348
editConfig â
âĸ get
editConfig(): IEditorConfig
Returns â
Implementation of â
Inherited from â
UI.editConfig
Defined in â
ui/packages/display/src/UI.ts:358
editOuter â
âĸ get
editOuter(): string
Returns â
string
Implementation of â
Inherited from â
UI.editOuter
Defined in â
ui/packages/display/src/UI.ts:360
editInner â
âĸ get
editInner(): string
Returns â
string
Implementation of â
Inherited from â
UI.editInner
Defined in â
ui/packages/display/src/UI.ts:362
Methods â
resetCustom â
⸠resetCustom(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:127
waitParent â
⸠waitParent(item
, bind?
): void
Parameters â
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:133
waitLeafer â
⸠waitLeafer(item
, bind?
): void
Parameters â
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:138
nextRender â
⸠nextRender(item
, bind?
, off?
): void
Parameters â
Name | Type |
---|---|
item | IFunction |
bind? | IObject |
off? | "off" |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:143
removeNextRender â
⸠removeNextRender(item
): void
Parameters â
Name | Type |
---|---|
item | IFunction |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:147
__bindLeafer â
⸠__bindLeafer(leafer
): void
Parameters â
Name | Type |
---|---|
leafer | ILeaferBase |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:151
setAttr â
⸠setAttr(name
, value
): void
Parameters â
Name | Type |
---|---|
name | string |
value | any |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:179
getAttr â
⸠getAttr(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:180
getComputedAttr â
⸠getComputedAttr(name
): any
Parameters â
Name | Type |
---|---|
name | string |
Returns â
any
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:182
toJSON â
⸠toJSON(options?
): IObject
Parameters â
Name | Type |
---|---|
options? | IJSONOptions |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:184
toString â
⸠toString(options?
): string
Parameters â
Name | Type |
---|---|
options? | IJSONOptions |
Returns â
string
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:189
toSVG â
⸠toSVG(): string
Returns â
string
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:193
__SVG â
⸠__SVG(_data
): void
Parameters â
Name | Type |
---|---|
_data | IObject |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:195
toHTML â
⸠toHTML(): string
Returns â
string
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:197
__setAttr â
⸠__setAttr(_attrName
, _newValue
): boolean
Parameters â
Name | Type |
---|---|
_attrName | string |
_newValue | IValue |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:201
__getAttr â
⸠__getAttr(_attrName
): IValue
Parameters â
Name | Type |
---|---|
_attrName | string |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:203
setProxyAttr â
⸠setProxyAttr(_attrName
, _newValue
): void
Parameters â
Name | Type |
---|---|
_attrName | string |
_newValue | IValue |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:205
getProxyAttr â
⸠getProxyAttr(_attrName
): IValue
Parameters â
Name | Type |
---|---|
_attrName | string |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:207
focus â
⸠focus(_value?
): void
Parameters â
Name | Type |
---|---|
_value? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:227
updateLayout â
⸠updateLayout(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:231
forceUpdate â
⸠forceUpdate(attrName?
): void
Parameters â
Name | Type |
---|---|
attrName? | string |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:235
forceRender â
⸠forceRender(_bounds?
): void
Parameters â
Name | Type |
---|---|
_bounds? | IBoundsData |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:243
__updateWorldMatrix â
⸠__updateWorldMatrix(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:249
__updateLocalMatrix â
⸠__updateLocalMatrix(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:251
__updateWorldBounds â
⸠__updateWorldBounds(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:257
__updateLocalBounds â
⸠__updateLocalBounds(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:259
__updateLocalBoxBounds â
⸠__updateLocalBoxBounds(): void
Returns â
void
Implementation of â
IEllipse.__updateLocalBoxBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:262
__updateLocalStrokeBounds â
⸠__updateLocalStrokeBounds(): void
Returns â
void
Implementation of â
IEllipse.__updateLocalStrokeBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:264
__updateLocalRenderBounds â
⸠__updateLocalRenderBounds(): void
Returns â
void
Implementation of â
IEllipse.__updateLocalRenderBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:266
__updateBoxBounds â
⸠__updateBoxBounds(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:270
__updateContentBounds â
⸠__updateContentBounds(): void
Returns â
void
Implementation of â
IEllipse.__updateContentBounds
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:272
__updateStrokeBounds â
⸠__updateStrokeBounds(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:274
__updateRenderBounds â
⸠__updateRenderBounds(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:276
__updateAutoLayout â
⸠__updateAutoLayout(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:279
__updateFlowLayout â
⸠__updateFlowLayout(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:281
__updateNaturalSize â
⸠__updateNaturalSize(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:283
__updateStrokeSpread â
⸠__updateStrokeSpread(): number
Returns â
number
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:286
__updateRenderSpread â
⸠__updateRenderSpread(): number
Returns â
number
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:288
__updateEraser â
⸠__updateEraser(value?
): void
Parameters â
Name | Type |
---|---|
value? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:295
__renderEraser â
⸠__renderEraser(canvas
, options
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:299
__updateMask â
⸠__updateMask(value?
): void
Parameters â
Name | Type |
---|---|
value? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:307
__renderMask â
⸠__renderMask(_canvas
, _options
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:313
__getNowWorld â
⸠__getNowWorld(options
): IMatrixWithBoundsScaleData
Parameters â
Name | Type |
---|---|
options | IRenderOptions |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:321
getTransform â
⸠getTransform(relative?
): IMatrixData
Parameters â
Name | Type |
---|---|
relative? | ILeaf | ILocationType |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:333
getBounds â
⸠getBounds(type?
, relative?
): IBoundsData
Parameters â
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:338
getLayoutBounds â
⸠getLayoutBounds(type?
, relative?
, unscale?
): ILayoutBoundsData
Parameters â
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
unscale? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:342
getLayoutPoints â
⸠getLayoutPoints(type?
, relative?
): IPointData
[]
Parameters â
Name | Type |
---|---|
type? | IBoundsType |
relative? | ILeaf | ILocationType |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:346
getWorldBounds â
⸠getWorldBounds(inner
, relative?
, change?
): IBoundsData
Parameters â
Name | Type |
---|---|
inner | IBoundsData |
relative? | ILeaf |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:351
worldToLocal â
⸠worldToLocal(world
, to?
, distance?
, relative?
): void
Parameters â
Name | Type |
---|---|
world | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:359
localToWorld â
⸠localToWorld(local
, to?
, distance?
, relative?
): void
Parameters â
Name | Type |
---|---|
local | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:367
worldToInner â
⸠worldToInner(world
, to?
, distance?
, relative?
): void
Parameters â
Name | Type |
---|---|
world | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:375
innerToWorld â
⸠innerToWorld(inner
, to?
, distance?
, relative?
): void
Parameters â
Name | Type |
---|---|
inner | IPointData |
to? | IPointData |
distance? | boolean |
relative? | ILeaf |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:383
getInnerPoint â
⸠getInnerPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:390
getInnerPointByLocal â
⸠getInnerPointByLocal(local
, _relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
local | IPointData |
_relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:396
getLocalPoint â
⸠getLocalPoint(world
, relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:400
getLocalPointByInner â
⸠getLocalPointByInner(inner
, _relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
inner | IPointData |
_relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:406
getWorldPoint â
⸠getWorldPoint(inner
, relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
inner | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:410
getWorldPointByLocal â
⸠getWorldPointByLocal(local
, relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
local | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:416
getPagePoint â
⸠getPagePoint(world
, relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
world | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:422
getWorldPointByPage â
⸠getWorldPointByPage(page
, relative?
, distance?
, change?
): IPointData
Parameters â
Name | Type |
---|---|
page | IPointData |
relative? | ILeaf |
distance? | boolean |
change? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:427
setTransform â
⸠setTransform(matrix
, resize?
): void
Parameters â
Name | Type |
---|---|
matrix | IMatrixData |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:435
transform â
⸠transform(matrix
, resize?
): void
Parameters â
Name | Type |
---|---|
matrix | IMatrixData |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:439
move â
⸠move(x
, y?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:443
moveInner â
⸠moveInner(x
, y?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:448
scaleOf â
⸠scaleOf(origin
, scaleX
, scaleY?
, resize?
): void
Parameters â
Name | Type |
---|---|
origin | IPointData | IDirection |
scaleX | number |
scaleY? | number |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:452
rotateOf â
⸠rotateOf(origin
, rotation
): void
Parameters â
Name | Type |
---|---|
origin | IPointData | IDirection |
rotation | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:456
skewOf â
⸠skewOf(origin
, skewX
, skewY?
, resize?
): void
Parameters â
Name | Type |
---|---|
origin | IPointData | IDirection |
skewX | number |
skewY? | number |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:460
transformWorld â
⸠transformWorld(worldTransform?
, resize?
): void
Parameters â
Name | Type |
---|---|
worldTransform? | IMatrixData |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:465
moveWorld â
⸠moveWorld(x
, y?
): void
Parameters â
Name | Type |
---|---|
x | number | IPointData |
y? | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:469
scaleOfWorld â
⸠scaleOfWorld(worldOrigin
, scaleX
, scaleY?
, resize?
): void
Parameters â
Name | Type |
---|---|
worldOrigin | IPointData |
scaleX | number |
scaleY? | number |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:473
rotateOfWorld â
⸠rotateOfWorld(worldOrigin
, rotation
): void
Parameters â
Name | Type |
---|---|
worldOrigin | IPointData |
rotation | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:477
skewOfWorld â
⸠skewOfWorld(worldOrigin
, skewX
, skewY?
, resize?
): void
Parameters â
Name | Type |
---|---|
worldOrigin | IPointData |
skewX | number |
skewY? | number |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:481
flip â
⸠flip(axis
): void
Parameters â
Name | Type |
---|---|
axis | IAxis |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:485
scaleResize â
⸠scaleResize(scaleX
, scaleY?
, _noResize?
): void
Parameters â
Name | Type | Default value |
---|---|---|
scaleX | number | undefined |
scaleY | number | scaleX |
_noResize? | boolean | undefined |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:492
__scaleResize â
⸠__scaleResize(_scaleX
, _scaleY
): void
Parameters â
Name | Type |
---|---|
_scaleX | number |
_scaleY | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:497
resizeWidth â
⸠resizeWidth(_width
): void
Parameters â
Name | Type |
---|---|
_width | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:500
resizeHeight â
⸠resizeHeight(_height
): void
Parameters â
Name | Type |
---|---|
_height | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:502
__hitWorld â
⸠__hitWorld(_point
): boolean
Parameters â
Name | Type |
---|---|
_point | IRadiusPointData |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:507
__hit â
⸠__hit(_local
): boolean
Parameters â
Name | Type |
---|---|
_local | IRadiusPointData |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:509
__hitFill â
⸠__hitFill(_inner
): boolean
Parameters â
Name | Type |
---|---|
_inner | IRadiusPointData |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:511
__hitStroke â
⸠__hitStroke(_inner
, _strokeWidth
): boolean
Parameters â
Name | Type |
---|---|
_inner | IRadiusPointData |
_strokeWidth | number |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:513
__hitPixel â
⸠__hitPixel(_inner
): boolean
Parameters â
Name | Type |
---|---|
_inner | IRadiusPointData |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:515
__drawHitPath â
⸠__drawHitPath(_canvas
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:517
__updateHitCanvas â
⸠__updateHitCanvas(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:519
__render â
⸠__render(_canvas
, _options
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:526
__drawFast â
⸠__drawFast(_canvas
, _options
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:528
__draw â
⸠__draw(_canvas
, _options
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:530
__clip â
⸠__clip(_canvas
, _options
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:533
__renderShape â
⸠__renderShape(_canvas
, _options
, _ignoreFill?
, _ignoreStroke?
): void
Parameters â
Name | Type |
---|---|
_canvas | ILeaferCanvas |
_options | IRenderOptions |
_ignoreFill? | boolean |
_ignoreStroke? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:535
__updateWorldOpacity â
⸠__updateWorldOpacity(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:538
__updateChange â
⸠__updateChange(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:540
__updateSortChildren â
⸠__updateSortChildren(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:558
add â
⸠add(_child
, _index?
): void
Parameters â
Name | Type |
---|---|
_child | ILeaf |
_index? | number |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:560
remove â
⸠remove(_child?
, destroy?
): void
Parameters â
Name | Type |
---|---|
_child? | ILeaf |
destroy? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:562
dropTo â
⸠dropTo(parent
, index?
, resize?
): void
Parameters â
Name | Type |
---|---|
parent | ILeaf |
index? | number |
resize? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:566
on â
⸠on(_type
, _listener
, _options?
): void
Parameters â
Name | Type |
---|---|
_type | string | string [] |
_listener | IFunction |
_options? | IEventOption |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:575
off â
⸠off(_type?
, _listener?
, _options?
): void
Parameters â
Name | Type |
---|---|
_type? | string | string [] |
_listener? | IFunction |
_options? | IEventOption |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:577
on_ â
⸠on_(_type
, _listener
, _bind?
, _options?
): IEventListenerId
Parameters â
Name | Type |
---|---|
_type | string | string [] |
_listener | IFunction |
_bind? | IObject |
_options? | IEventOption |
Returns â
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:579
off_ â
⸠off_(_id
): void
Parameters â
Name | Type |
---|---|
_id | IEventListenerId | IEventListenerId [] |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:581
once â
⸠once(_type
, _listener
, _capture?
): void
Parameters â
Name | Type |
---|---|
_type | string | string [] |
_listener | IFunction |
_capture? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:583
emit â
⸠emit(_type
, _event?
, _capture?
): void
Parameters â
Name | Type |
---|---|
_type | string |
_event? | IObject | IEvent |
_capture? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:585
emitEvent â
⸠emitEvent(_event?
, _capture?
): void
Parameters â
Name | Type |
---|---|
_event? | IEvent |
_capture? | boolean |
Returns â
void
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:587
hasEvent â
⸠hasEvent(_type
, _capture?
): boolean
Parameters â
Name | Type |
---|---|
_type | string |
_capture? | boolean |
Returns â
boolean
Implementation of â
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:589
changeAttr â
⸠changeAttr(attrName
, defaultValue
, fn?
): void
Parameters â
Name | Type |
---|---|
attrName | string |
defaultValue | IValue |
fn? | IAttrDecorator |
Returns â
void
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:593
addAttr â
⸠addAttr(attrName
, defaultValue
, fn?
): void
Parameters â
Name | Type |
---|---|
attrName | string |
defaultValue | IValue |
fn? | IAttrDecorator |
Returns â
void
Inherited from â
Defined in â
leafer/packages/display/src/Leaf.ts:597
__updatePath â
⸠__updatePath(): void
Returns â
void
Implementation of â
Overrides â
Defined in â
ui/packages/display/src/Ellipse.ts:33
reset â
⸠reset(_data?
): void
Parameters â
Name | Type |
---|---|
_data? | IUIInputData |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:373
set â
⸠set(data
): void
Parameters â
Name | Type |
---|---|
data | IUIInputData |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:376
get â
⸠get(name?
): IValue
| IUIInputData
Parameters â
Name | Type |
---|---|
name? | string | string [] | IUIInputData |
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:380
createProxyData â
⸠createProxyData(): IUIInputData
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:384
find â
⸠find(_condition
, _options?
): IUI
[]
Parameters â
Name | Type |
---|---|
_condition | string | number | IFindCondition | IFindUIMethod |
_options? | any |
Returns â
IUI
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:389
findTag â
⸠findTag(tag
): IUI
[]
Parameters â
Name | Type |
---|---|
tag | string | string [] |
Returns â
IUI
[]
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:391
findOne â
⸠findOne(_condition
, _options?
): IUI
Parameters â
Name | Type |
---|---|
_condition | string | number | IFindCondition | IFindUIMethod |
_options? | any |
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:393
findId â
⸠findId(id
): IUI
Parameters â
Name | Type |
---|---|
id | string | number |
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:395
getPath â
⸠getPath(curve?
, pathForRender?
): IPathCommandData
Parameters â
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:400
getPathString â
⸠getPathString(curve?
, pathForRender?
): string
Parameters â
Name | Type |
---|---|
curve? | boolean |
pathForRender? | boolean |
Returns â
string
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:407
load â
⸠load(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:412
__onUpdateSize â
⸠__onUpdateSize(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:416
__updateRenderPath â
⸠__updateRenderPath(): void
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:423
__drawRenderPath â
⸠__drawRenderPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:431
__drawPath â
⸠__drawPath(canvas
): void
Parameters â
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:436
__drawPathByData â
⸠__drawPathByData(drawer
, data
): void
Parameters â
Name | Type |
---|---|
drawer | IPathDrawer |
data | IPathCommandData |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:441
__drawPathByBox â
⸠__drawPathByBox(drawer
): void
Parameters â
Name | Type |
---|---|
drawer | IPathDrawer |
Returns â
void
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:449
export â
⸠export(filename
, options?
): Promise
<IExportResult
>
Parameters â
Name | Type |
---|---|
filename | string |
options? | number | boolean | IExportOptions |
Returns â
Promise
<IExportResult
>
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:462
clone â
⸠clone(): IUI
Returns â
Implementation of â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:466
one â
⸠one(data
, x?
, y?
, width?
, height?
): IUI
Parameters â
Name | Type |
---|---|
data | IUIInputData |
x? | number |
y? | number |
width? | number |
height? | number |
Returns â
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:470
registerUI â
⸠registerUI(): void
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:474
registerData â
⸠registerData(data
): void
Parameters â
Name | Type |
---|---|
data | IUIData |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:478
setEditConfig â
⸠setEditConfig(_config
): void
Parameters â
Name | Type |
---|---|
_config | IEditorConfig | IEditorConfigFunction |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:485
setEditOuter â
⸠setEditOuter(_toolName
): void
Parameters â
Name | Type |
---|---|
_toolName | string | IEditToolFunction |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:487
setEditInner â
⸠setEditInner(_editorName
): void
Parameters â
Name | Type |
---|---|
_editorName | string | IEditToolFunction |
Returns â
void
Inherited from â
Defined in â
ui/packages/display/src/UI.ts:489
destroy â
⸠destroy(): void
Returns â
void