The Collections Polyline is a convient and powerful polyline
FigureElementCollection that includes the polyline,
angle annotations, side label and arrow annotations, and movable
pads on each polyline point for the user to adjust dynamically.
The polyline itself is defined with an OBJ_Polyline options Object.
Angles, sides and pads can all be defined either as an options object
or an array of options objects. If an array, then each element in the
array will correspond with a pad on the polyline. If there are less
elements in the array than pads on the polyline, then the elements
will recycle from the start.
Using object definitions allows for a definition of all angles, sides and
pads. To customize for specific side, angle or pad indexes use =
OBJ_PolylineCustomization.
showLineboolean — false will hide the polyline's line (true)
makeValidOBJ_ValidShape | null — if defined, whenever
points are updated the shape will be checked to ensure consistency with
displayed labels of angles and sides.
CollectionsPolyline options object that extends OBJ_Polyline and OBJ_Collection options object (without
parent).The Collections Polyline is a convient and powerful polyline FigureElementCollection that includes the polyline, angle annotations, side label and arrow annotations, and movable pads on each polyline point for the user to adjust dynamically.
The polyline itself is defined with an OBJ_Polyline options Object.
Angle and side annotations can be defined as COL_Angle and COL_Line, and movable pads defined with (OBJ_Polygon & OBJ_PolylinePad).
Angles, sides and pads can all be defined either as an options object or an array of options objects. If an array, then each element in the array will correspond with a pad on the polyline. If there are less elements in the array than pads on the polyline, then the elements will recycle from the start.
Using object definitions allows for a definition of all angles, sides and pads. To customize for specific side, angle or pad indexes use = OBJ_PolylineCustomization.
showLineboolean—falsewill hide the polyline's line (true)angleOBJ_PolylineAngle | COL_Angle[] — angle annotations - leave undefined for no angle annotationssideOBJ_PolylineSide | COL_Line[] — side annotations - leave undefined for no side annotationspadOBJ_PolylinePad | OBJ_PolylinePadSingle[] — move pad - leave undefined for no move padsmakeValidOBJ_ValidShape |null— if defined, whenever points are updated the shape will be checked to ensure consistency with displayed labels of angles and sides.fontOBJ_Font — default font to use for labels