type values):
| Constant | Value | Description |
|---|---|---|
Geometry.TYPE_STRAIGHT_LINE | straightLine | Straight line |
Geometry.TYPE_CIRCLE | GEO_circle | Circle |
Geometry.TYPE_ELLIPSE | GEO_ellipse | Ellipse |
Geometry.TYPE_POLYGON | GEO_polygon | Polygon |
| Field | Type | Description |
|---|---|---|
penColor | number | Pen color: 0x00 (black), 0x9D (dark gray), 0xC9 (light gray), 0xFE (white) |
penType | number | Pen type: 10 technical pen, 1 pressure pen, 11 marker pen, 14 calligraphy |
penWidth | number | Pen width (minimum 100) |
type | string | Geometry type. See the table above |
points | Point[] | Polygon points (pixel coordinates) |
ellipseCenterPoint | Point | null | Ellipse center point (pixel coordinates) |
ellipseMajorAxisRadius | number | Ellipse major axis radius (pixels) |
ellipseMinorAxisRadius | number | Ellipse minor axis radius (pixels) |
ellipseAngle | number | Ellipse rotation angle (radians) |