Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ArrowShapeStartType

ArrowShapeStartType: "tapering" | "rightAngle"

箭头图形开始端类型,tapering - 尖端型,rightAngle - 直角型

SimplePoints

SimplePoints: [start: WorldPoint, end: WorldPoint]

简单的起止点类型

TrianglePoints

TrianglePoints: [p1: WorldPoint, p2: WorldPoint, p3: WorldPoint]

三角形点类型

Variables

ARROW_SHAPE_NAME

ARROW_SHAPE_NAME: "arrow" = 'arrow'
constant

箭头图形名称

ELLIPSE_SHAPE_NAME

ELLIPSE_SHAPE_NAME: "ellipse" = 'ellipse'
constant

椭圆图形名称

FREE_LINE_SHAPE_NAME

FREE_LINE_SHAPE_NAME: "freeLine" = 'freeLine'
constant

自由曲线图形名称

LASER_PEN_SHAPE_NAME

LASER_PEN_SHAPE_NAME: "laserPen" = 'laserPen'
constant

激光笔图形名称

POLYGON_SHAPE_NAME

POLYGON_SHAPE_NAME: "polygon" = 'polygon'
constant

多边形图形名称

RECT_SHAPE_NAME

RECT_SHAPE_NAME: "rect" = 'rect'
constant

矩形图形名称

STAR_SHAPE_NAME

STAR_SHAPE_NAME: "star" = 'star'
constant

星形图形名

STRAIGHT_LINE_SHAPE_NAME

STRAIGHT_LINE_SHAPE_NAME: "straightLine" = 'straightLine'
constant

直线图形名称

TEXT_SHAPE_NAME

TEXT_SHAPE_NAME: "text" = 'text'
constant

文本图形名称

TRIANGLE_SHAPE_NAME

TRIANGLE_SHAPE_NAME: "triangle" = 'triangle'
constant

三角形图形名称

globalShapeMatchs

globalShapeMatchs: ShapeMatchStore = {}

全局图形匹配器

Functions

ArrowShapeInstall

EllipseShapeInstall

FreeLineShapeInstall

GlobalShapeInstall

LaserPenShapeInstall

PolygonShapeInstall

RectShapeInstall

StarShapeInstall

StraightLineShapeInstall

TextShapeInstall

TriangleShapeInstall

registerShape

  • 注册全局图形类

    Parameters

    Returns void