Class

LabelPrimitive

LabelPrimitive(position, text)

Constructor

# new LabelPrimitive(position, text)

文字Primitive

Parameters:
Name Type Description
position Position

任意类型的坐标

text string

文字

Author:
  • xyj

Members

# position

# position

# text

# text

string

# readonly type

类型

Methods

# setStyle() → {LabelPrimitive}

设置样式

  • 返回自己,链式调用