Geometric shapes

Learn how to create geometric shapes

Geometric shapes are basic, predefined vector shapes made up of straight lines, curves, and angles, defined by precise mathematical rules. These include squares, rectangles, circles, ellipses, polygons, stars, polylines, and lines. The rationale behind geometric shapes is to provide users with a set of tools that help them create shapes that would be otherwise hard to draw accurately freehand.

Properties

There is a strong connection between Path objects and geometric shapes, in the sense that each geometric shape is a Path object with some specific settings added on top. Because of this connection, all non-specific properties that apply to Path objects apply to geometric shapes as well.

Specific properties

Besides the properties inherited from Path objects, each geometric shape has its own set of specific properties, detailed below.

Rectangle

Rectangles are created with the help of the Rectangle tool . The specific properties of rectangles are:

  • Origin point - Set the Origin point for this object.
  • Size - Set the width and height of the rectangle. Toggle the button to constrain proportions when changing the width and height values. Click the button again to switch back to unconstrained width/height values.
  • Corner radius - Set the radius of the rectangle's corners. To set the radius for each corner individually, toggle the button. Toggle the button to switch back from individual corner values to a single radius value.
./rectangle-properties.jpg
./rectangle-properties.jpg

Ellipse

Ellipses are created with the help of the Ellipse tool . The specific properties of ellipses are:

  • Origin point - Set the Origin point for this object.
  • Size - Set the width and height of the ellipse. Toggle the button to constrain proportions when changing the width and height values. Click the button again to switch back to unconstrained width/height values.
./ellipse-properties.jpg
./ellipse-properties.jpg

Polygon

Polygons are created with the help of the Polygon tool . The specific properties of polygones are:

  • Origin point - Set the Origin point for this object.
  • Fill rule - You can opt between Non-zero and Even-odd.
  • Sides - Set the number of sides of the polygon.
  • Rotation angle - Set the rotation angle. Negative values are supported.
  • Radius - Set the radius of the polygon.
  • Roundness - Set how round to be the sides of the polygon. Negative values are supported.
./polygon-properties.jpg
./polygon-properties.jpg

Star

Stars are created with the help of the Star tool . The specific properties of stars are:

  • Origin point - Set the Origin point for this object.
  • Fill rule - You can opt between Non-zero and Even-odd.
  • Corners - Set the number of corners.
  • Rotation angle - Set the rotation angle. Negative values are supported.
  • Radius - Set the Outer and Inner radius of the star.
  • Roundness - Set the Outer and Inner roundness of the star. Negative values are supported.
  • Twirl - Set the Outer and Inner twirl angle of the star. Negative values are supported.
./star-properties.jpg
./star-properties.jpg

Polyline

Polylines are created with the help of the Polyline tool . The specific properties of polylines are:

  • Fill rule - You can opt between Non-zero and Even-odd.
  • Path closing - Close or open the path by chosing between Close and Open states.
./polyline-properties.jpg
./polyline-properties.jpg

Line

Lines are created with the help of the Line tool . The specific properties of lines are:

  • Coordinates - Set the and start point coordinates and the and end point coordinates.
./line-properties.jpg
./line-properties.jpg