Skip to content
导航

Class: Line

Hierarchy

  • UI

    Line

Implements

Table of contents

Accessors

Properties

Methods

Constructors

Accessors

tagName

get tagName(): string

Returns

string

Implementation of

ILine.tagName

Inherited from

UI.tagName

Defined in

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


__DataProcessor

get __DataProcessor(): typeof LeafData

Returns

typeof LeafData

Implementation of

ILine.__DataProcessor

Inherited from

UI.__DataProcessor

Defined in

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


__LayoutProcessor

get __LayoutProcessor(): typeof LeafLayout

Returns

typeof LeafLayout

Implementation of

ILine.__LayoutProcessor

Inherited from

UI.__LayoutProcessor

Defined in

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


worldTransform

get worldTransform(): IMatrixData

Returns

IMatrixData

Implementation of

ILine.worldTransform

Inherited from

UI.worldTransform

Defined in

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


localTransform

get localTransform(): IMatrixData

Returns

IMatrixData

Implementation of

ILine.localTransform

Inherited from

UI.localTransform

Defined in

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


worldBoxBounds

get worldBoxBounds(): IBoundsData

Returns

IBoundsData

Implementation of

ILine.worldBoxBounds

Inherited from

UI.worldBoxBounds

Defined in

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


worldStrokeBounds

get worldStrokeBounds(): IBoundsData

Returns

IBoundsData

Implementation of

ILine.worldStrokeBounds

Inherited from

UI.worldStrokeBounds

Defined in

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


worldRenderBounds

get worldRenderBounds(): IBoundsData

Returns

IBoundsData

Implementation of

ILine.worldRenderBounds

Inherited from

UI.worldRenderBounds

Defined in

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


worldOpacity

get worldOpacity(): number

Returns

number

Implementation of

ILine.worldOpacity

Inherited from

UI.worldOpacity

Defined in

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


__tag

get __tag(): string

Returns

string

Implementation of

ILine.__tag

Overrides

UI.__tag

Defined in

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


toPoint

get toPoint(): IPointData

Returns

IPointData

Implementation of

ILine.toPoint

Defined in

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

set toPoint(value): void

Parameters

NameType
valueIPointData

Returns

void

Implementation of

ILine.toPoint

Defined in

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

Properties

innerId

Readonly innerId: number

Implementation of

ILine.innerId

Inherited from

UI.innerId

Defined in

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


leafer

Optional leafer: ILeafer

Implementation of

ILine.leafer

Inherited from

UI.leafer

Defined in

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


isLeafer

isLeafer: boolean

Implementation of

ILine.isLeafer

Inherited from

UI.isLeafer

Defined in

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


__isBranch

__isBranch: boolean

Implementation of

ILine.__isBranch

Inherited from

UI.__isBranch

Defined in

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


__isBranchLeaf

__isBranchLeaf: boolean

Implementation of

ILine.__isBranchLeaf

Inherited from

UI.__isBranchLeaf

Defined in

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


__layout

__layout: ILeafLayout

Implementation of

ILine.__layout

Inherited from

UI.__layout

Defined in

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


__local

__local: IMatrixWithBoundsData

Implementation of

ILine.__local

Inherited from

UI.__local

Defined in

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


__world

__world: IMatrixWithBoundsData

Implementation of

ILine.__world

Inherited from

UI.__world

Defined in

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


__worldOpacity

__worldOpacity: number

Implementation of

ILine.__worldOpacity

Inherited from

UI.__worldOpacity

Defined in

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


__level

__level: number

Implementation of

ILine.__level

Inherited from

UI.__level

Defined in

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


__tempNumber

__tempNumber: number

Implementation of

ILine.__tempNumber

Inherited from

UI.__tempNumber

Defined in

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


__hasMask

Optional __hasMask: boolean

Implementation of

ILine.__hasMask

Inherited from

UI.__hasMask

Defined in

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


__hitCanvas

Optional __hitCanvas: ILeaferCanvas

Implementation of

ILine.__hitCanvas

Inherited from

UI.__hitCanvas

Defined in

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


__captureMap

Optional __captureMap: IEventListenerMap

Implementation of

ILine.__captureMap

Inherited from

UI.__captureMap

Defined in

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


__bubbleMap

Optional __bubbleMap: IEventListenerMap

Implementation of

ILine.__bubbleMap

Inherited from

UI.__bubbleMap

Defined in

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


__parentWait

Optional __parentWait: IFunction[]

Implementation of

ILine.__parentWait

Inherited from

UI.__parentWait

Defined in

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


children

Optional children: ILeaf[]

Implementation of

ILine.children

Inherited from

UI.children

Defined in

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


__

__: ILineData

Implementation of

ILine.__

Overrides

UI.__

Defined in

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


rotation

rotation: number

Implementation of

ILine.rotation

Overrides

UI.rotation

Defined in

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


__toPoint

Protected __toPoint: IPointData

Defined in

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


parent

Optional parent: IGroup

Implementation of

ILine.parent

Inherited from

UI.parent

Defined in

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


id

id: string

Implementation of

ILine.id

Inherited from

UI.id

Defined in

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


name

name: string

Implementation of

ILine.name

Inherited from

UI.name

Defined in

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


className

className: string

Implementation of

ILine.className

Inherited from

UI.className

Defined in

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


blendMode

blendMode: IBlendMode

Implementation of

ILine.blendMode

Inherited from

UI.blendMode

Defined in

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


opacity

opacity: number

Implementation of

ILine.opacity

Inherited from

UI.opacity

Defined in

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


visible

visible: boolean

Implementation of

ILine.visible

Inherited from

UI.visible

Defined in

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


isMask

isMask: boolean

Implementation of

ILine.isMask

Inherited from

UI.isMask

Defined in

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


zIndex

zIndex: number

Implementation of

ILine.zIndex

Inherited from

UI.zIndex

Defined in

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


locked

locked: boolean

Inherited from

UI.locked

Defined in

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


x

x: number

Implementation of

ILine.x

Inherited from

UI.x

Defined in

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


y

y: number

Implementation of

ILine.y

Inherited from

UI.y

Defined in

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


width

width: number

Implementation of

ILine.width

Inherited from

UI.width

Defined in

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


height

height: number

Implementation of

ILine.height

Inherited from

UI.height

Defined in

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


scaleX

scaleX: number

Implementation of

ILine.scaleX

Inherited from

UI.scaleX

Defined in

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


scaleY

scaleY: number

Implementation of

ILine.scaleY

Inherited from

UI.scaleY

Defined in

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


skewX

skewX: number

Implementation of

ILine.skewX

Inherited from

UI.skewX

Defined in

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


skewY

skewY: number

Implementation of

ILine.skewY

Inherited from

UI.skewY

Defined in

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


draggable

draggable: boolean

Implementation of

ILine.draggable

Inherited from

UI.draggable

Defined in

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


hittable

hittable: boolean

Implementation of

ILine.hittable

Inherited from

UI.hittable

Defined in

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


hitType

hitType: IHitType

Implementation of

ILine.hitType

Inherited from

UI.hitType

Defined in

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


hitChildren

hitChildren: boolean

Implementation of

ILine.hitChildren

Inherited from

UI.hitChildren

Defined in

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


fill

fill: string | IPaint | IPaint[]

Implementation of

ILine.fill

Inherited from

UI.fill

Defined in

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


stroke

stroke: string | IPaint | IPaint[]

Implementation of

ILine.stroke

Inherited from

UI.stroke

Defined in

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


strokeAlign

strokeAlign: IStrokeAlign

Implementation of

ILine.strokeAlign

Inherited from

UI.strokeAlign

Defined in

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


strokeWidth

strokeWidth: string | number | number[]

Implementation of

ILine.strokeWidth

Inherited from

UI.strokeWidth

Defined in

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


strokeCap

strokeCap: IStrokeCap

Implementation of

ILine.strokeCap

Inherited from

UI.strokeCap

Defined in

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


strokeJoin

strokeJoin: IStrokeJoin

Implementation of

ILine.strokeJoin

Inherited from

UI.strokeJoin

Defined in

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


dashPattern

dashPattern: string | number[]

Implementation of

ILine.dashPattern

Inherited from

UI.dashPattern

Defined in

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


dashOffset

dashOffset: number

Implementation of

ILine.dashOffset

Inherited from

UI.dashOffset

Defined in

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


miterLimit

miterLimit: number

Implementation of

ILine.miterLimit

Inherited from

UI.miterLimit

Defined in

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


cornerRadius

cornerRadius: string | number | number[]

Implementation of

ILine.cornerRadius

Inherited from

UI.cornerRadius

Defined in

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


cornerSmoothing

cornerSmoothing: number

Implementation of

ILine.cornerSmoothing

Inherited from

UI.cornerSmoothing

Defined in

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


shadow

shadow: string | IShadowEffect | IShadowEffect[]

Implementation of

ILine.shadow

Inherited from

UI.shadow

Defined in

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


innerShadow

innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of

ILine.innerShadow

Inherited from

UI.innerShadow

Defined in

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


blur

blur: number | IBlurEffect

Implementation of

ILine.blur

Inherited from

UI.blur

Defined in

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


backgroundBlur

backgroundBlur: number | IBlurEffect

Implementation of

ILine.backgroundBlur

Inherited from

UI.backgroundBlur

Defined in

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


grayscale

grayscale: number | IGrayscaleEffect

Implementation of

ILine.grayscale

Inherited from

UI.grayscale

Defined in

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

Methods

__addParentWait

__addParentWait(item): void

Parameters

NameType
itemIFunction

Returns

void

Implementation of

ILine.__addParentWait

Inherited from

UI.__addParentWait

Defined in

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


__runParentWait

__runParentWait(): void

Returns

void

Implementation of

ILine.__runParentWait

Inherited from

UI.__runParentWait

Defined in

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


__bindLeafer

__bindLeafer(leafer): void

Parameters

NameType
leaferILeafer

Returns

void

Implementation of

ILine.__bindLeafer

Inherited from

UI.__bindLeafer

Defined in

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


__setAttr

__setAttr(_attrName, _newValue): void

Parameters

NameType
_attrNamestring
_newValueunknown

Returns

void

Implementation of

ILine.__setAttr

Inherited from

UI.__setAttr

Defined in

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


__getAttr

__getAttr(_attrName): unknown

Parameters

NameType
_attrNamestring

Returns

unknown

Implementation of

ILine.__getAttr

Inherited from

UI.__getAttr

Defined in

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


__updateAttr

__updateAttr(_attrName): void

Parameters

NameType
_attrNamestring

Returns

void

Implementation of

ILine.__updateAttr

Inherited from

UI.__updateAttr

Defined in

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


__updateWorldMatrix

__updateWorldMatrix(): void

Returns

void

Implementation of

ILine.__updateWorldMatrix

Inherited from

UI.__updateWorldMatrix

Defined in

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


__updateLocalMatrix

__updateLocalMatrix(): void

Returns

void

Implementation of

ILine.__updateLocalMatrix

Inherited from

UI.__updateLocalMatrix

Defined in

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


__updateWorldBounds

__updateWorldBounds(): void

Returns

void

Implementation of

ILine.__updateWorldBounds

Inherited from

UI.__updateWorldBounds

Defined in

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


__updateLocalBoxBounds

__updateLocalBoxBounds(): void

Returns

void

Implementation of

ILine.__updateLocalBoxBounds

Inherited from

UI.__updateLocalBoxBounds

Defined in

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


__updateLocalStrokeBounds

__updateLocalStrokeBounds(): void

Returns

void

Implementation of

ILine.__updateLocalStrokeBounds

Inherited from

UI.__updateLocalStrokeBounds

Defined in

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


__updateLocalRenderBounds

__updateLocalRenderBounds(): void

Returns

void

Implementation of

ILine.__updateLocalRenderBounds

Inherited from

UI.__updateLocalRenderBounds

Defined in

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


__updateStrokeBounds

__updateStrokeBounds(): void

Returns

void

Implementation of

ILine.__updateStrokeBounds

Inherited from

UI.__updateStrokeBounds

Defined in

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


__updateRenderBounds

__updateRenderBounds(): void

Returns

void

Implementation of

ILine.__updateRenderBounds

Inherited from

UI.__updateRenderBounds

Defined in

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


__updateStrokeBoundsSpreadWidth

__updateStrokeBoundsSpreadWidth(): number

Returns

number

Implementation of

ILine.__updateStrokeBoundsSpreadWidth

Inherited from

UI.__updateStrokeBoundsSpreadWidth

Defined in

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


__updateRenderBoundsSpreadWidth

__updateRenderBoundsSpreadWidth(): number

Returns

number

Implementation of

ILine.__updateRenderBoundsSpreadWidth

Inherited from

UI.__updateRenderBoundsSpreadWidth

Defined in

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


__onUpdateSize

__onUpdateSize(): void

Returns

void

Implementation of

ILine.__onUpdateSize

Inherited from

UI.__onUpdateSize

Defined in

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


getWorld

getWorld(attrName): number

Parameters

NameType
attrNameIMatrixDecompositionAttr

Returns

number

Implementation of

ILine.getWorld

Inherited from

UI.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

ILine.getBounds

Inherited from

UI.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

ILine.worldToLocal

Inherited from

UI.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

ILine.localToWorld

Inherited from

UI.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

ILine.worldToInner

Inherited from

UI.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

ILine.innerToWorld

Inherited from

UI.innerToWorld

Defined in

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


__hitWorld

__hitWorld(_point): boolean

Parameters

NameType
_pointIRadiusPointData

Returns

boolean

Implementation of

ILine.__hitWorld

Inherited from

UI.__hitWorld

Defined in

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


__hit

__hit(_local): boolean

Parameters

NameType
_localIRadiusPointData

Returns

boolean

Implementation of

ILine.__hit

Inherited from

UI.__hit

Defined in

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


__drawHitPath

__drawHitPath(_canvas): void

Parameters

NameType
_canvasILeaferCanvas

Returns

void

Implementation of

ILine.__drawHitPath

Inherited from

UI.__drawHitPath

Defined in

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


__updateHitCanvas

__updateHitCanvas(): void

Returns

void

Implementation of

ILine.__updateHitCanvas

Inherited from

UI.__updateHitCanvas

Defined in

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


__render

__render(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

ILine.__render

Inherited from

UI.__render

Defined in

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


__drawFast

__drawFast(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

ILine.__drawFast

Inherited from

UI.__drawFast

Defined in

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


__draw

__draw(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

ILine.__draw

Inherited from

UI.__draw

Defined in

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


__renderShape

__renderShape(_canvas, _options): void

Parameters

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns

void

Implementation of

ILine.__renderShape

Inherited from

UI.__renderShape

Defined in

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


__updateWorldOpacity

__updateWorldOpacity(): void

Returns

void

Implementation of

ILine.__updateWorldOpacity

Inherited from

UI.__updateWorldOpacity

Defined in

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


__updateRenderTime

__updateRenderTime(): void

Returns

void

Implementation of

ILine.__updateRenderTime

Inherited from

UI.__updateRenderTime

Defined in

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


__updateChange

__updateChange(): void

Returns

void

Implementation of

ILine.__updateChange

Inherited from

UI.__updateChange

Defined in

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


__updateSortChildren

__updateSortChildren(): void

Returns

void

Implementation of

ILine.__updateSortChildren

Inherited from

UI.__updateSortChildren

Defined in

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


add

add(_child, _index?): void

Parameters

NameType
_childILeaf
_index?number

Returns

void

Implementation of

ILine.add

Inherited from

UI.add

Defined in

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


remove

remove(_child?): void

Parameters

NameType
_child?ILeaf

Returns

void

Implementation of

ILine.remove

Inherited from

UI.remove

Defined in

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


on

on(_type, _listener, _options?): void

Parameters

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

Returns

void

Implementation of

ILine.on

Inherited from

UI.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

ILine.off

Inherited from

UI.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

ILine.on__

Inherited from

UI.on__

Defined in

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


off__

off__(_id): void

Parameters

NameType
_idIEventListenerId | IEventListenerId[]

Returns

void

Implementation of

ILine.off__

Inherited from

UI.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

ILine.once

Inherited from

UI.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

ILine.emit

Inherited from

UI.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

ILine.emitEvent

Inherited from

UI.emitEvent

Defined in

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


hasEvent

hasEvent(_type, _capture?): boolean

Parameters

NameType
_typestring
_capture?boolean

Returns

boolean

Implementation of

ILine.hasEvent

Inherited from

UI.hasEvent

Defined in

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


destroy

destroy(): void

Returns

void

Implementation of

ILine.destroy

Inherited from

UI.destroy

Defined in

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


__updatePath

__updatePath(): void

Returns

void

Implementation of

ILine.__updatePath

Overrides

UI.__updatePath

Defined in

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


__updateBoxBounds

__updateBoxBounds(): void

Returns

void

Implementation of

ILine.__updateBoxBounds

Overrides

UI.__updateBoxBounds

Defined in

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


make

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

Parameters

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

Returns

IUI

Inherited from

UI.make

Defined in

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


set

set(data): void

Parameters

NameType
dataIUITagInputData

Returns

void

Implementation of

ILine.set

Inherited from

UI.set

Defined in

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


get

get(): IUITagInputData

Returns

IUITagInputData

Implementation of

ILine.get

Inherited from

UI.get

Defined in

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


__updateRenderPath

__updateRenderPath(): void

Returns

void

Implementation of

ILine.__updateRenderPath

Inherited from

UI.__updateRenderPath

Defined in

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


__drawRenderPath

__drawRenderPath(canvas): void

Parameters

NameType
canvasILeaferCanvas

Returns

void

Implementation of

ILine.__drawRenderPath

Inherited from

UI.__drawRenderPath

Defined in

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


__drawPath

__drawPath(canvas): void

Parameters

NameType
canvasILeaferCanvas

Returns

void

Implementation of

ILine.__drawPath

Inherited from

UI.__drawPath

Defined in

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


__drawPathByData

__drawPathByData(_drawer, _data): void

Parameters

NameType
_drawerIPathDrawer
_dataIPathCommandData

Returns

void

Implementation of

ILine.__drawPathByData

Inherited from

UI.__drawPathByData

Defined in

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

Constructors

constructor

new Line(data?)

Parameters

NameType
data?ILineInputData

Overrides

UI.constructor

Defined in

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

Released under the MIT License.