ht.drawing

Classes

Component

DrawInfo

TimeFrame

Transition

Methods

static getDrawInfo(view, data, comp) → {ht.drawing.DrawInfo}

获取矢量信息

Parameters:
Name Type Description
view ht.graph.GraphView | ht.graph3d.Graph3dView

视图

data ht.Data

节点

comp any

组件

static getDrawingInstances(view, node, compType) → {Array.<ht.drawing.Component>}

Parameters:
Name Type Attributes Description
view ht.graph.GraphView | ht.graph3d.Graph3dView
node ht.Node
compType string <optional>
Returns:
Array.<ht.drawing.Component>

static getVersion() → {string}

Returns:
string

static initCompColors(comp, params, nameList) → {void}

Parameters:
Name Type Description
comp any
params any
nameList Array.<string>
Returns:
void

static initCompValues(comp, params, nameList) → {void}

Parameters:
Name Type Description
comp any
params any
nameList Array.<string>
Returns:
void

Type Definitions

CompEvent

Properties:
Name Type Attributes Description
kind string
nativeEvent UIEvent | InputEvent | KeyboardEvent <optional>

GetFuncInfo

Properties:
Name Type Attributes Description
value any <optional>