Navigation:  Reference > Elements >

Polygon

Previous pageReturn to chapter overviewNext page

Polygon is a basic element, besides in the Hand Drawing theme, its appearance doesn't change for other UI themes.

UI Theme:

Hand Drawn

Blueprint

Other Themes

Legend

Polygon_handdrawn

Polygon_blueprint

Polygon_others

When you drag the Polygon button into the editing area, you start defining the polygon (point by point).

define_polygon_point_by_point

You can hold SHIFT key to draw horizontal, vertical or 45 degree lines:

draw_Polygon

You can click the "Finish" button to quit the polygon drawing, when you are satisfied with the shape.

If you choose "Edit Mode", you can edit any existing point with drag and drop.

If you select "Closed Path", the polygon will be closed automatically.

Element Specific Facilities

polygon_facilities

1.Enable/disable border rendering
2.Set Border color
3.Change border thickness (in pixels)
4.Set border line type

Remarks: the "dashed" and "dotted" line types are not supported in simulation, and they will be rendered as solid line.

Element Events

Element Clicked, Element Double-Clicked, Element Right-Clicked, Element Initialized, Element Hidden, Mouse Over, Mouse Out, Mouse Move, Mouse Down, Mouse Up, Key Down, Key Up, Custom Event

Element Actions

Change Visibility, Change Location, Change Size

Element Properties

Id, X Coordinate, Y Coordinate, Width, Height, Visible, Note