Shapes
The Shape widget allows you add icons, draw lines and arrows, create custom shapes from SVG code, and adjust them easily.
Watch video:
How to add and adjust the Shape widget?
- There are 2 main ways you can add the Shape widget to your layout:
- Open the widget dialogue by clicking the plus icon in the toolbar on the left. Select the ‘Shape’ widget from the ‘Basic’ section.
- Simply click on the icon with a rectangle and circle in the toolbar on the left.
- Next, select the desired shape from the list.
- Select your shape and locate the Shape Settings section in the Control Panel. Here, you can change the fill color, stroke color, and stroke weight of your shape.
- Fill Color: This attribute adjusts the fill color and opacity of your path.
- Stroke Color: This attribute adjusts the stroke color and opacity of your path.
- Stroke Weight: This attribute allows you to increase the thickness of your Shape widget's stroke
Please note: The Stroke Color attribute can only be adjusted after increasing the Stroke Weight attribute value to at least 1px.
How to edit the Shape widget's SVG code?
- Locate the SVG Settings section in the Control Panel, situated just above the Shape Settings section. Click on it.
- Here you can find the SVG code for the shape and make any custom adjustments if needed.
How to adjust the Shape widget's path?
- Click on the Layers tab in the top left corner.
- Locate your Shape widget in the layers list and follow these steps:
- Expand the Shape widget layer.
- Then, expand the SVG layer within it.
- Select the desired Path.
- Next, find the Shape Settings in the Control Panel. Here you can adjust the following attributes:
- Fill Color: This attribute adjusts the fill color and opacity of your shape.
- Stroke Color: This attribute adjusts the stroke color and opacity of your shape.
- Stroke Weight: This attribute allows you to increase the thickness of your shape widget's stroke.
- Stroke Style: Here you can change the stroke style from the default Solid to Dashed and Dotted.
- Dasharray: Here you can increase the size of dashes.
- Cap Type: This attribute allows you to select the type of endings for your shape line. "Butt" is the default option, which allows you to set a different option for each ending in the selector below. The "Square" option makes both endings square, and the "Round" option makes both endings rounded.
- Cap Selector: The cap selector offers an extensive list of options for line endings. Here, you can manually set the cap for each line ending.
How to create and adjust the line/arrow Shape?
- Select the line or arrow option from the Create Shape section.
- Locate the Shape Settings section in the Control Panel and make the necessary adjustments. This Shape Settings section is similar to the Shape Settings section for paths, except it lacks the Fill Color option, as line and arrow shapes only have a stroke.
How to create your custom shape from SVG code?
- Select the SVG option from the Create Shape section.
- Paste your SVG code into the field on the right side.
- The adjustment of the custom SVG shape is executed through the Path's Shape Settings section, as we mentioned before.