BezierSegmentModel

23 Sep 20251 minute to read

Interface for a class BezierSegment

Properties

allowDrag boolean

Defines the segment to be drag or not

point PointModel

Sets the end point of the connector segment

point1 PointModel

Sets the first control point of the connector

point2 PointModel

Sets the second control point of the connector

type Segments

Defines the type of the segment

  • Straight - Sets the segment type as Straight
  • Orthogonal - Sets the segment type as Orthogonal
  • Bezier - Sets the segment type as Bezier

vector1 VectorModel

Defines the length and angle between the source point and the first control point of the diagram

vector2 VectorModel

Defines the length and angle between the target point and the second control point of the diagram