object

PointAttr

A single point descriptor.

Properties
PropertyTypeRequired
classconstRequired
radiusnumberOptional
cornerStyleintegerOptional
curveFromPointOptional
curveToPointOptional
pointPointRequired

class

Required

Description

no description

Type

const

Value

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

json
"pointAttr"

radius

Optional

Description

Corner radius at the point.

Type

number

cornerStyle

Optional

Description

Enumeration of the corner styles that can be applied to vector points.

Type

integer

Value

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

ValueExplanation
0Rounded
1RoundedInverted
2Angled
3Squared

curveFrom

Optional

Description

When the current point is the starting point of the Bezier curve, this attribute describes the control point at the starting point of the Bezier curve.

Type

Point

curveTo

Optional

Description

When the current point is the end point of the Bezier curve, this attribute describes the control point of the Bezier curve's end point.

Type

Point

point

Required

Description

The actual point on the curve. The coordinates are before the matrix transformation.

Type

Point

Daruma Feedback