Skip to content
导航

Class: Vector

Hierarchy

Implements

Table of contents

Accessors

Properties

Methods

Constructors

Accessors

tagName

get tagName(): string

Returns

string

Implementation of

IVector.tagName

Inherited from

Group.tagName

Defined in

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


__DataProcessor

get __DataProcessor(): typeof LeafData

Returns

typeof LeafData

Implementation of

IVector.__DataProcessor

Inherited from

Group.__DataProcessor

Defined in

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


__LayoutProcessor

get __LayoutProcessor(): typeof LeafLayout

Returns

typeof LeafLayout

Implementation of

IVector.__LayoutProcessor

Inherited from

Group.__LayoutProcessor

Defined in

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


worldTransform

get worldTransform(): IMatrixData

Returns

IMatrixData

Implementation of

IVector.worldTransform

Inherited from

Group.worldTransform

Defined in

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


localTransform

get localTransform(): IMatrixData

Returns

IMatrixData

Implementation of

IVector.localTransform

Inherited from

Group.localTransform

Defined in

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


worldBoxBounds

get worldBoxBounds(): IBoundsData

Returns

IBoundsData

Implementation of

IVector.worldBoxBounds

Inherited from

Group.worldBoxBounds

Defined in

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


worldStrokeBounds

get worldStrokeBounds(): IBoundsData

Returns

IBoundsData

Implementation of

IVector.worldStrokeBounds

Inherited from

Group.worldStrokeBounds

Defined in

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


worldRenderBounds

get worldRenderBounds(): IBoundsData

Returns

IBoundsData

Implementation of

IVector.worldRenderBounds

Inherited from

Group.worldRenderBounds

Defined in

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


worldOpacity

get worldOpacity(): number

Returns

number

Implementation of

IVector.worldOpacity

Inherited from

Group.worldOpacity

Defined in

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


mask

get mask(): IUI

Returns

IUI

Inherited from

Group.mask

Defined in

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

set mask(child): void

Parameters

NameType
childIUI

Returns

void

Inherited from

Group.mask

Defined in

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


__tag

get __tag(): string

Returns

string

Implementation of

IVector.__tag

Overrides

Group.__tag

Defined in

ui/packages/display/src/Vector.ts:12

Properties

innerId

Readonly innerId: number

Implementation of

IVector.innerId

Inherited from

Group.innerId

Defined in

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


leafer

Optional leafer: ILeafer

Implementation of

IVector.leafer

Inherited from

Group.leafer

Defined in

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


isLeafer

isLeafer: boolean

Implementation of

IVector.isLeafer

Inherited from

Group.isLeafer

Defined in

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


__isBranch

__isBranch: boolean

Implementation of

IVector.__isBranch

Inherited from

Group.__isBranch

Defined in

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


__isBranchLeaf

__isBranchLeaf: boolean

Implementation of

IVector.__isBranchLeaf

Inherited from

Group.__isBranchLeaf

Defined in

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


__layout

__layout: ILeafLayout

Implementation of

IVector.__layout

Inherited from

Group.__layout

Defined in

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


__local

__local: IMatrixWithBoundsData

Implementation of

IVector.__local

Inherited from

Group.__local

Defined in

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


__world

__world: IMatrixWithBoundsData

Implementation of

IVector.__world

Inherited from

Group.__world

Defined in

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


__worldOpacity

__worldOpacity: number

Implementation of

IVector.__worldOpacity

Inherited from

Group.__worldOpacity

Defined in

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


__level

__level: number

Implementation of

IVector.__level

Inherited from

Group.__level

Defined in

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


__tempNumber

__tempNumber: number

Implementation of

IVector.__tempNumber

Inherited from

Group.__tempNumber

Defined in

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


__hasMask

Optional __hasMask: boolean

Implementation of

IVector.__hasMask

Inherited from

Group.__hasMask

Defined in

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


__hitCanvas

Optional __hitCanvas: ILeaferCanvas

Implementation of

IVector.__hitCanvas

Inherited from

Group.__hitCanvas

Defined in

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


__captureMap

Optional __captureMap: IEventListenerMap

Implementation of

IVector.__captureMap

Inherited from

Group.__captureMap

Defined in

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


__bubbleMap

Optional __bubbleMap: IEventListenerMap

Implementation of

IVector.__bubbleMap

Inherited from

Group.__bubbleMap

Defined in

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


__parentWait

Optional __parentWait: IFunction[]

Implementation of

IVector.__parentWait

Inherited from

Group.__parentWait

Defined in

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


children

children: IUI[]

Implementation of

IVector.children

Inherited from

Group.children

Defined in

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


parent

Optional parent: IGroup

Implementation of

IVector.parent

Inherited from

Group.parent

Defined in

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


id

id: string

Implementation of

IVector.id

Inherited from

Group.id

Defined in

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


name

name: string

Implementation of

IVector.name

Inherited from

Group.name

Defined in

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


className

className: string

Implementation of

IVector.className

Inherited from

Group.className

Defined in

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


blendMode

blendMode: IBlendMode

Implementation of

IVector.blendMode

Inherited from

Group.blendMode

Defined in

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


opacity

opacity: number

Implementation of

IVector.opacity

Inherited from

Group.opacity

Defined in

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


visible

visible: boolean

Implementation of

IVector.visible

Inherited from

Group.visible

Defined in

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


isMask

isMask: boolean

Implementation of

IVector.isMask

Inherited from

Group.isMask

Defined in

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


zIndex

zIndex: number

Implementation of

IVector.zIndex

Inherited from

Group.zIndex

Defined in

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


locked

locked: boolean

Inherited from

Group.locked

Defined in

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


x

x: number

Implementation of

IVector.x

Inherited from

Group.x

Defined in

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


y

y: number

Implementation of

IVector.y

Inherited from

Group.y

Defined in

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


width

width: number

Implementation of

IVector.width

Inherited from

Group.width

Defined in

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


height

height: number

Implementation of

IVector.height

Inherited from

Group.height

Defined in

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


scaleX

scaleX: number

Implementation of

IVector.scaleX

Inherited from

Group.scaleX

Defined in

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


scaleY

scaleY: number

Implementation of

IVector.scaleY

Inherited from

Group.scaleY

Defined in

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


rotation

rotation: number

Implementation of

IVector.rotation

Inherited from

Group.rotation

Defined in

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


skewX

skewX: number

Implementation of

IVector.skewX

Inherited from

Group.skewX

Defined in

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


skewY

skewY: number

Implementation of

IVector.skewY

Inherited from

Group.skewY

Defined in

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


draggable

draggable: boolean

Implementation of

IVector.draggable

Inherited from

Group.draggable

Defined in

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


hittable

hittable: boolean

Implementation of

IVector.hittable

Inherited from

Group.hittable

Defined in

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


hitType

hitType: IHitType

Implementation of

IVector.hitType

Inherited from

Group.hitType

Defined in

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


hitChildren

hitChildren: boolean

Implementation of

IVector.hitChildren

Inherited from

Group.hitChildren

Defined in

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


fill

fill: string | IPaint | IPaint[]

Implementation of

IVector.fill

Inherited from

Group.fill

Defined in

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


stroke

stroke: string | IPaint | IPaint[]

Implementation of

IVector.stroke

Inherited from

Group.stroke

Defined in

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


strokeAlign

strokeAlign: IStrokeAlign

Implementation of

IVector.strokeAlign

Inherited from

Group.strokeAlign

Defined in

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


strokeWidth

strokeWidth: string | number | number[]

Implementation of

IVector.strokeWidth

Inherited from

Group.strokeWidth

Defined in

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


strokeCap

strokeCap: IStrokeCap

Implementation of

IVector.strokeCap

Inherited from

Group.strokeCap

Defined in

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


strokeJoin

strokeJoin: IStrokeJoin

Implementation of

IVector.strokeJoin

Inherited from

Group.strokeJoin

Defined in

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


dashPattern

dashPattern: string | number[]

Implementation of

IVector.dashPattern

Inherited from

Group.dashPattern

Defined in

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


dashOffset

dashOffset: number

Implementation of

IVector.dashOffset

Inherited from

Group.dashOffset

Defined in

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


miterLimit

miterLimit: number

Implementation of

IVector.miterLimit

Inherited from

Group.miterLimit

Defined in

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


cornerRadius

cornerRadius: string | number | number[]

Implementation of

IVector.cornerRadius

Inherited from

Group.cornerRadius

Defined in

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


cornerSmoothing

cornerSmoothing: number

Implementation of

IVector.cornerSmoothing

Inherited from

Group.cornerSmoothing

Defined in

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


shadow

shadow: string | IShadowEffect | IShadowEffect[]

Implementation of

IVector.shadow

Inherited from

Group.shadow

Defined in

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


innerShadow

innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of

IVector.innerShadow

Inherited from

Group.innerShadow

Defined in

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


blur

blur: number | IBlurEffect

Implementation of

IVector.blur

Inherited from

Group.blur

Defined in

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


backgroundBlur

backgroundBlur: number | IBlurEffect

Implementation of

IVector.backgroundBlur

Inherited from

Group.backgroundBlur

Defined in

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


grayscale

grayscale: number | IGrayscaleEffect

Implementation of

IVector.grayscale

Inherited from

Group.grayscale

Defined in

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


__

__: IVectorData

Implementation of

IVector.__

Overrides

Group.__

Defined in

ui/packages/display/src/Vector.ts:15


paths

paths: string | IVectorPath[]

Implementation of

IVector.paths

Defined in

ui/packages/display/src/Vector.ts:18

Methods

__addParentWait

__addParentWait(item): void

Parameters

NameType
itemIFunction

Returns

void

Implementation of

IVector.__addParentWait

Inherited from

Group.__addParentWait

Defined in

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


__runParentWait

__runParentWait(): void

Returns

void

Implementation of

IVector.__runParentWait

Inherited from

Group.__runParentWait

Defined in

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


__bindLeafer

__bindLeafer(leafer): void

Parameters

NameType
leaferILeafer

Returns

void

Implementation of

IVector.__bindLeafer

Inherited from

Group.__bindLeafer

Defined in

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


__setAttr

__setAttr(_attrName, _newValue): void

Parameters

NameType
_attrNamestring
_newValueunknown

Returns

void

Implementation of

IVector.__setAttr

Inherited from

Group.__setAttr

Defined in

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


__getAttr

__getAttr(_attrName): unknown

Parameters

NameType
_attrNamestring

Returns

unknown

Implementation of

IVector.__getAttr

Inherited from

Group.__getAttr

Defined in

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


__updateAttr

__updateAttr(_attrName): void

Parameters

NameType
_attrNamestring

Returns

void

Implementation of

IVector.__updateAttr

Inherited from

Group.__updateAttr

Defined in

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


__updateWorldMatrix

__updateWorldMatrix(): void

Returns

void

Implementation of

IVector.__updateWorldMatrix

Inherited from

Group.__updateWorldMatrix

Defined in

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


__updateLocalMatrix

__updateLocalMatrix(): void

Returns

void

Implementation of

IVector.__updateLocalMatrix

Inherited from

Group.__updateLocalMatrix

Defined in

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


__updateWorldBounds

__updateWorldBounds(): void

Returns

void

Implementation of

IVector.__updateWorldBounds

Inherited from

Group.__updateWorldBounds

Defined in

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


__updateLocalBoxBounds

__updateLocalBoxBounds(): void

Returns

void

Implementation of

IVector.__updateLocalBoxBounds

Inherited from

Group.__updateLocalBoxBounds

Defined in

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


__updateLocalStrokeBounds

__updateLocalStrokeBounds(): void

Returns

void

Implementation of

IVector.__updateLocalStrokeBounds

Inherited from

Group.__updateLocalStrokeBounds

Defined in

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


__updateLocalRenderBounds

__updateLocalRenderBounds(): void

Returns

void

Implementation of

IVector.__updateLocalRenderBounds

Inherited from

Group.__updateLocalRenderBounds

Defined in

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


__updateBoxBounds

__updateBoxBounds(): void

Returns

void

Implementation of

IVector.__updateBoxBounds

Inherited from

Group.__updateBoxBounds

Defined in

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


__updateStrokeBounds

__updateStrokeBounds(): void

Returns

void

Implementation of

IVector.__updateStrokeBounds

Inherited from

Group.__updateStrokeBounds

Defined in

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


__updateRenderBounds

__updateRenderBounds(): void

Returns

void

Implementation of

IVector.__updateRenderBounds

Inherited from

Group.__updateRenderBounds

Defined in

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


__updateStrokeBoundsSpreadWidth

__updateStrokeBoundsSpreadWidth(): number

Returns

number

Implementation of

IVector.__updateStrokeBoundsSpreadWidth

Inherited from

Group.__updateStrokeBoundsSpreadWidth

Defined in

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


__updateRenderBoundsSpreadWidth

__updateRenderBoundsSpreadWidth(): number

Returns

number

Implementation of

IVector.__updateRenderBoundsSpreadWidth

Inherited from

Group.__updateRenderBoundsSpreadWidth

Defined in

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


__onUpdateSize

__onUpdateSize(): void

Returns

void

Implementation of

IVector.__onUpdateSize

Inherited from

Group.__onUpdateSize

Defined in

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


getWorld

getWorld(attrName): number

Parameters

NameType
attrNameIMatrixDecompositionAttr

Returns

number

Implementation of

IVector.getWorld

Inherited from

Group.getWorld

Defined in

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


getBounds

getBounds(type, locationType?): IBoundsData

Parameters

NameTypeDefault value
typeILayoutBoundsTypeundefined
locationTypeILayoutLocationType'world'

Returns

IBoundsData

Implementation of

IVector.getBounds

Inherited from

Group.getBounds

Defined in

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


worldToLocal

worldToLocal(world, to?, isMovePoint?): void

Parameters

NameType
worldIPointData
to?IPointData
isMovePoint?boolean

Returns

void

Implementation of

IVector.worldToLocal

Inherited from

Group.worldToLocal

Defined in

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


localToWorld

localToWorld(local, to?, isMovePoint?): void

Parameters

NameType
localIPointData
to?IPointData
isMovePoint?boolean

Returns

void

Implementation of

IVector.localToWorld

Inherited from

Group.localToWorld

Defined in

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


worldToInner

worldToInner(world, to?, isMovePoint?): void

Parameters

NameType
worldIPointData
to?IPointData
isMovePoint?boolean

Returns

void

Implementation of

IVector.worldToInner

Inherited from

Group.worldToInner

Defined in

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


innerToWorld

innerToWorld(inner, to?, isMovePoint?): void

Parameters

NameType
innerIPointData
to?IPointData
isMovePoint?boolean

Returns

void

Implementation of

IVector.innerToWorld

Inherited from

Group.innerToWorld

Defined in

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


__hitWorld

__hitWorld(_point): boolean

Parameters

NameType
_pointIRadiusPointData

Returns

boolean

Implementation of

IVector.__hitWorld

Inherited from

Group.__hitWorld

Defined in

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


__hit

__hit(_local): boolean

Parameters

NameType
_localIRadiusPointData

Returns

boolean

Implementation of

IVector.__hit

Inherited from

Group.__hit

Defined in

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


__drawHitPath

__drawHitPath(_canvas): void

Parameters

NameType
_canvasILeaferCanvas

Returns

void

Implementation of

IVector.__drawHitPath

Inherited from

Group.__drawHitPath

Defined in

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


__updateHitCanvas

__updateHitCanvas(): void

Returns

void

Implementation of

IVector.__updateHitCanvas

Inherited from

Group.__updateHitCanvas

Defined in

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


__render

__render(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

IVector.__render

Inherited from

Group.__render

Defined in

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


__drawFast

__drawFast(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

IVector.__drawFast

Inherited from

Group.__drawFast

Defined in

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


__draw

__draw(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

IVector.__draw

Inherited from

Group.__draw

Defined in

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


__renderShape

__renderShape(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

IVector.__renderShape

Inherited from

Group.__renderShape

Defined in

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


__updateWorldOpacity

__updateWorldOpacity(): void

Returns

void

Implementation of

IVector.__updateWorldOpacity

Inherited from

Group.__updateWorldOpacity

Defined in

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


__updateRenderTime

__updateRenderTime(): void

Returns

void

Implementation of

IVector.__updateRenderTime

Inherited from

Group.__updateRenderTime

Defined in

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


__updateChange

__updateChange(): void

Returns

void

Implementation of

IVector.__updateChange

Inherited from

Group.__updateChange

Defined in

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


__updateSortChildren

__updateSortChildren(): void

Returns

void

Implementation of

IVector.__updateSortChildren

Inherited from

Group.__updateSortChildren

Defined in

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


on

on(_type, _listener, _options?): void

Parameters

NameType
_typestring | string[]
_listenerIFunction
_options?boolean | IEventListenerOptions

Returns

void

Implementation of

IVector.on

Inherited from

Group.on

Defined in

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


off

off(_type, _listener, _options?): void

Parameters

NameType
_typestring | string[]
_listenerIFunction
_options?boolean | IEventListenerOptions

Returns

void

Implementation of

IVector.off

Inherited from

Group.off

Defined in

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


on__

on__(_type, _listener, _bind?, _options?): IEventListenerId

Parameters

NameType
_typestring | string[]
_listenerIFunction
_bind?IObject
_options?boolean | IEventListenerOptions

Returns

IEventListenerId

Implementation of

IVector.on__

Inherited from

Group.on__

Defined in

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


off__

off__(_id): void

Parameters

NameType
_idIEventListenerId | IEventListenerId[]

Returns

void

Implementation of

IVector.off__

Inherited from

Group.off__

Defined in

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


once

once(_type, _listener, _capture?): void

Parameters

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns

void

Implementation of

IVector.once

Inherited from

Group.once

Defined in

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


emit

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

Parameters

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns

void

Implementation of

IVector.emit

Inherited from

Group.emit

Defined in

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


emitEvent

emitEvent(_event?, _capture?): void

Parameters

NameType
_event?IEvent
_capture?boolean

Returns

void

Implementation of

IVector.emitEvent

Inherited from

Group.emitEvent

Defined in

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


hasEvent

hasEvent(_type, _capture?): boolean

Parameters

NameType
_typestring
_capture?boolean

Returns

boolean

Implementation of

IVector.hasEvent

Inherited from

Group.hasEvent

Defined in

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


destroy

destroy(): void

Returns

void

Implementation of

IVector.destroy

Inherited from

Group.destroy

Defined in

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


addAt

addAt(child, index): void

Parameters

NameType
childIUI
indexnumber

Returns

void

Inherited from

Group.addAt

Defined in

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


addAfter

addAfter(child, after): void

Parameters

NameType
childIUI
afterIUI

Returns

void

Inherited from

Group.addAfter

Defined in

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


addBefore

addBefore(child, before): void

Parameters

NameType
childUI
beforeIUI

Returns

void

Inherited from

Group.addBefore

Defined in

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


add

add(_child, _index?): void

Parameters

NameType
_childIUI
_index?number

Returns

void

Implementation of

IVector.add

Inherited from

Group.add

Defined in

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


remove

remove(_child?): void

Parameters

NameType
_child?IUI

Returns

void

Implementation of

IVector.remove

Inherited from

Group.remove

Defined in

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


__removeMask

Protected __removeMask(child?): void

Parameters

NameType
child?IUI

Returns

void

Inherited from

Group.__removeMask

Defined in

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


make

Static make(data, x?, y?, width?, height?): IUI

Parameters

NameType
dataIUITagInputData
x?number
y?number
width?number
height?number

Returns

IUI

Inherited from

Group.make

Defined in

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


set

set(data): void

Parameters

NameType
dataIUITagInputData

Returns

void

Implementation of

IVector.set

Inherited from

Group.set

Defined in

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


get

get(): IUITagInputData

Returns

IUITagInputData

Implementation of

IVector.get

Inherited from

Group.get

Defined in

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


__updateRenderPath

__updateRenderPath(): void

Returns

void

Implementation of

IVector.__updateRenderPath

Inherited from

Group.__updateRenderPath

Defined in

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


__drawRenderPath

__drawRenderPath(canvas): void

Parameters

NameType
canvasILeaferCanvas

Returns

void

Implementation of

IVector.__drawRenderPath

Inherited from

Group.__drawRenderPath

Defined in

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


__drawPath

__drawPath(canvas): void

Parameters

NameType
canvasILeaferCanvas

Returns

void

Implementation of

IVector.__drawPath

Inherited from

Group.__drawPath

Defined in

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


__drawPathByData

__drawPathByData(_drawer, _data): void

Parameters

NameType
_drawerIPathDrawer
_dataIPathCommandData

Returns

void

Implementation of

IVector.__drawPathByData

Inherited from

Group.__drawPathByData

Defined in

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


__updatePath

__updatePath(): void

Returns

void

Implementation of

IVector.__updatePath

Overrides

Group.__updatePath

Defined in

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

Constructors

constructor

new Vector(data?)

Parameters

NameType
data?IVectorInputData

Overrides

Group.constructor

Defined in

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

Released under the MIT License.