Draw a polyline

Use the
PolyLine
tool to draw a polyline or polygon.
TIP: You can also develop a custom NetLogic to create polylines programmatically. See Create a polyline with NetLogic.
  1. In
    Project view
    , double-click the container to include the object.
  2. In the editor toolbar, select PolyLine icon
    PolyLine
    .
  3. In the editor, position the crosshair where the polyline or polygon is to begin.
  4. Draw the shape:
    TIP: After drawing the shape, you cannot change polyline points but you can resize the entire shape.
    • Polyline
      . Select points on the screen. Press
      to finish drawing the shape.
    • Polygon
      . Select points on the screen and then select the initial point to close the polygon.
      TIP: To not connect the last line segment with the first line segment, hold
      when positioning the last line segment.
    The object appears in the editor and in
    Project view
    .
  5. (optional) In
    Properties
    , edit the
    Appearance
    settings:
    • Visible
      . Show the object at runtime.
    • Enabled
      . Enable interaction with the object at runtime.
    • Opacity
      . Opacity level of the object in percentages. Set to
      0
      to make the object transparent.
    • Blink
      . Blink the object at runtime.
    • Rotation
      . Rotate the object around its center point (in arc degrees). Positive values rotate the object clockwise; Negative values rotate the object counterclockwise.
    • Border color
      . Color of the border of the object.
    • Fill color
      . Fill color of the object.
    • Thickness
      . Thickness of the object lines.
    • Hit test visible
      . Intercept user selections. False by default - user selections are not intercepted and are passed to the underlying object.
  6. (optional) To resize, move, or align the object, see Graphic objects layout.
  7. (optional) In
    Events
    , add methods to existing events or add new events and methods. See Events and Methods.
To group drawing objects, see Group drawing objects.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal