Skip to main content

PointAttr

Typeobject
Backlinks1

The attributes of a point on the contour of a shape.

PropertyTypeRequired
classstringRequired
radiusnumberOptional
cornerStyleintegerOptional
curveFromPointOptional
curveToPointOptional
pointPointRequired
markTypeMarkerTypeOptional

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"pointAttr"

radius​

Optional

Description

Corner radius at the point.

Type

number

cornerStyle​

Optional

Description

Corner shapes of the point.

Type

integer

Value

enum: the value of this property must be equal to one of the following values:

ValueExplanation
0
rounded
1
inverted rounded
2
angled
3
squared

curveFrom​

Optional

Description

When the current point is the starting point of the Bezier curve, this attribute represents its control point.

Type

Point

curveTo​

Optional

Description

When the current point is the end point of the Bezier curve, this attribute represents its control point.

Type

Point

point​

Required

Description

The coordinates of the point before the matrix transformation.

Type

Point

markType​

Optional

Description

The shape type of the point. This property only applies to endpoints.