Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Dogbone

Hierarchy

  • Dogbone

Implements

Index

Constructors

Properties

Constructors

constructor

  • new Dogbone(width: number, height: number, radius: number, style?: number, bottomless?: boolean, data?: IProperties): Dogbone
  • 从宽度、高度、角半径、样式创建dogbone圆角.

    Example:

    var d = new vjgeo.models.Dogbone(50, 100, 5);
    

    Parameters

    • width: number

      矩形的宽度.

    • height: number

      矩形的高度.

    • radius: number

      拐角半径.

    • Default value style: number = 0

      可选角样式:0(默认)表示Dogbone,1 表示垂直,-1 表示水平.

    • Default value bottomless: boolean = false

      用于省略底线和底角的可选标志(默认为 false).

    • Optional data: IProperties

      属性数据

    Returns Dogbone

Properties

data

paths

paths: IPathMap

Generated using TypeDoc