Stroke is a layer property and a visual expression of vector paths. You can use strokes to:
You can adjust the appearance of the stroke through its color, position, weight, and end point properties.
You can add one or more colors to the stroke. Click on the right side of the Stroke modal to add color to the stroke.
Click on the right side of the color to delete the corresponding color.
Click on the right side of the Stroke modal, open the style picker, click the style you want to use, and use that style on the stroke.
You can define the position of the stroke. The default option for most shape layers is an Inside stroke, except straight lines and arrows use center strokes.
Below the color, click on the stroke position, and choose the stroke position from the expanded list.
You can set the weight of the stroke through :
By default, Motiff applies the stroke to all sides of the layer. However, for rectangles, frames, and components, you can set the stroke properties for each side separately.
Click to the right of the stroke weights to choose which side of the layer to apply the stroke properties.
You can also select to set the four sides separately.
After selecting , you can see four individual fields corresponding to the top, bottom, left, and right sides. You can set the weights for each side through these fields. If you want to remove a stroke from a side, you can set the weight to 0
.
You can set the stroke to be a dashed line:
Click to open the Advanced stroke menu.
Click the dropdown menu to the right of the stroke style and select .
You can customize the length of the Dash and Gap (in pixels) through the input boxes to the right of the dashed line and spacing.
Customize the dashed line style.
You can set the end point style for any open path. Depending on the structure of the selected layer, the end point properties will be displayed in different locations.
If the selected layer has only two end points, you can directly set the styles of both ends in the Stroke modal. For example: straight lines and arrows.
If the selected layer has one or more than two endpoints, you can click to find the endpoint style properties in the Advanced stroke menu.
This property controls all end points of the selected layer. If you want to adjust one or more end points separately, you can enter vector editing mode, select the end points you want to adjust, and set their styles individually.
In Motiff, you can set the end points to the following styles:
You can set the style of any joins on the path. This property controls all joins of the selected layer. If you want to adjust one or more joins individually, you need to enter vector editing mode, select the join you want to adjust, and then set their styles individually.
Join styles include:
Tip: When the join style is set to sharp, you can set the angle of their node. When the angle of the node is less than the angle set, the node will be displayed as a bevel.
For different layers, different properties can be set at the stroke.
Layer type | Color | Position | Weight | Stroke per side | Style | End point |
---|---|---|---|---|---|---|
Rectangle | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
Line | ✅ | ❌ | ✅ | ❌ | ✅ | ✅ |
Arrow | ✅ | ❌ | ✅ | ❌ | ✅ | ✅ |
Ellipse | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
Polygon | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
Star | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
Boolean | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
Vector network | ✅ | ✅ | ✅ | ❌ | ✅ | Open path only |
Text | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
Frame & Component | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
You can use the outline feature to convert the stroke into a vector layer and make it an independently editable layer.
Note: Outlining is a one-time transformation operation that cannot be reverted to a stroke in subsequent edits.
After outlining, the visible stroke range will be converted into a fill area. You can outline a layer in the following ways:
You can enter vector editing to view the path after outlining.