Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Text

Hierarchy

  • Text

Implements

Index

Constructors

Properties

Constructors

constructor

  • new Text(text: string, position: IPoint, height: number, rotation?: number, isMText?: boolean, data?: IProperties): Text
  • 文本模型.

    Parameters

    • text: string

      String of text to render.

    • position: IPoint

      position.

    • height: number

      text height

    • Optional rotation: number

      text rotation.

    • Optional isMText: boolean

      是否是多行文本.

    • Optional data: IProperties

      属性数据.

    Returns Text

    Model of the text.

Properties

data

paths

paths: IPathMap

Generated using TypeDoc