Fill and stroke
Fill & Stroke is a page of the left panel that edits the paint of the selected objects: the fill, the stroke colour and the stroke style (weight, caps, corners, dashes, arrowheads, width profile). A fill or stroke can be none, a solid colour, a linear, radial, freeform or conic gradient, or a pattern. The page has three tabs, Fill, Stroke and Stroke style, and follows the selection while it stays open. This page describes the Pro layout, which is the default.
Where to find it
Press Fill & Stroke on the left rail. It is right after Draw, or at the end of the rail when Draw is missing. The tooltip reads “Fill & Stroke: colour, gradient and line of the selection”. Press F6 to open the Fill tab and Ctrl+F10 to open the Stroke tab. The Fill and Stroke swatches of the Properties view open the same page. The Fill colour, Stroke colour and Line chips of the context bar drop the same controls in a dropdown under the chip instead, and leave this page closed.
How to open and close the page
- Press Fill & Stroke on the left rail, or press F6.
- The left panel shows the page on the Fill tab.
- Press Fill & Stroke again to close it. Pressing F6 again while the Fill tab shows also closes it.
How to change the fill colour
- Select an object.
- Open Fill & Stroke and press the Fill tab, or the fill square.
- Press the Solid colour swatch in the paint kind row.
- Pick a colour in the colour editor, or type a hex code in the # field.
How to change the stroke colour
- Select an object.
- Press the Stroke tab, or press Ctrl+F10, or press the stroke square.
- Pick a paint kind and a colour, as for the fill.
How to remove a fill or a stroke
- On the Fill tab or the Stroke tab, press the None swatch in the paint kind row. It is the white swatch with a red slash.
- On the Stroke style tab, the No line tile sets the weight to 0 and keeps the dashes.
How to swap fill and stroke
- Press Swap fill and stroke (Shift+X) beside the fill and stroke squares, or press Shift+X.
How to hide the fill without deleting it
- On the Fill tab, press the eye (Hide the fill (keep it)).
- The note “The fill is hidden, not deleted: the eye shows it again.” appears.
- Press the eye again (Show the fill) to bring the fill back.
How to make a gradient
- On the Fill tab or the Stroke tab, press Linear gradient, Radial gradient or Conic gradient.
- Press a stop on the ramp, then pick its colour in the colour editor below the ramp.
- Type the stop’s Location (%) and its opacity (%).
- Press Add a stop or Delete the stop.
- Type the Angle. For a radial gradient, also type the Aspect (%).
- Pick No repeat, Repeat or Reflect, or press Reverse the stops.
How to make a freeform gradient
- Press Freeform gradient.
- Pick Points or Lines in Draw.
- Follow the hint: “Double-click the object (or use the Gradient tool, G), then click on it to add points and drag one to move it”.
- Press a point chip under Points, then set its colour, Opacity and Spread.
How to fill with a pattern
- Press Pattern.
- Pick a pattern and its colours in the pattern editor. Its Library button opens the Patterns section of the left panel. A tile picked there lands on the paint the page was on.
How to set the stroke weight and style
- Press the Stroke style tab.
- Type the Weight and pick the unit.
- Press a line tile: Solid, Fine dash, Dash, Wide dash, Dotted or Dash dot.
- Pick Cap, Corner and Align. Set Order if needed.
How to make a dashed line
- On the Stroke style tab, tick Dashed line.
- Pick a preset in Dashes, or type up to three dash and gap pairs in the six boxes.
- Type Offset, or press Align dashes to corners and path ends, adjusting lengths to fit.
How to add arrowheads
- On the Stroke style tab, under Arrows, press the Start, Middle or End tile.
- Pick a marker in the window that opens.
- Set Scale for the start and the end (%), and Align.
- Press Swap start and end markers to swap them.
How to give the stroke a width profile
- On the Stroke style tab, pick a profile in Profile. Uniform removes it.
- Press Flip Along or Flip Across to flip it.
Options
| Control | What it does | Values | Default |
|---|---|---|---|
| rail-button | Fill & Stroke, a toggle button on the rail. Opens or closes the page. It is lit while the page shows. | Open, closed | Closed |
| proxy | The Fill and Stroke squares, the fill square over the stroke square. Press a square to switch to that tab. When the selected objects differ, a ”?” shows and the tooltip reads “Fill: mixed, the selected objects differ” (or Stroke). | Shows the selection’s paints | (none) |
| swap | Swap fill and stroke (Shift+X), a button. Swaps the fill and the stroke. | (none) | (none) |
| tabs | Fill, Stroke, Stroke style, a segmented control. Chooses which part of the paint the page edits. | Fill, Stroke, Stroke style | Fill (F6 and the rail button), Stroke (Ctrl+F10) |
| paint-kind | The paint kind row, a row of swatches with the tooltips None, Solid colour, Linear gradient, Radial gradient, Freeform gradient, Conic gradient, Pattern. The name of the selected kind is written under the row (“Mixed” when the objects differ). Changing between gradient kinds converts the gradient the object wears. | 7 kinds | The selection’s kind |
| fill-eye | Hide the fill (keep it) and Show the fill, a toggle button. Hides the fill without deleting it. On the Fill tab only, with a selection. | Hidden, shown | Shown |
| colour-head | Colour, a section head over the colour editor of a solid colour. | (none) | (none) |
| saved-colours | Saved colours, a menu button with 2 rows: Saved colours… and Save this colour to the Assets library. Opens the saved colours list, or saves the colour to the Assets library (folder Colors). Hidden on a target that takes only a flat colour. | 2 rows | (none) |
| colour-editor | The colour editor: picker type, colour model, hex, quick swatches, eyedropper. Sets the colour of a solid paint, a gradient stop, a freeform point or a pattern colour. See Colour editor. | Picker type, colour model, hex, quick swatches, eyedropper | Picker type Sliders, model HSB |
| angle | Angle, a number field. Sets the gradient’s angle. On a radial gradient it turns the ellipse. | -180 to 180 degrees | 0 |
| aspect | Aspect (tooltip “Aspect ratio”), a number field. Radial only: the ellipse’s minor axis as a percentage of its major axis. | 0.5 to 32767 % | 100 |
| repeat | No repeat, Repeat, Reflect, a segmented control. Sets how the gradient continues past its ends. | 3 values | No repeat |
| reverse | Reverse the stops, a button. Mirrors every stop’s location. | (none) | (none) |
| saved-gradients | Saved gradients, a menu button with 2 rows: Saved gradients… and Save this gradient to the Assets library. Opens the saved gradients list, or saves the gradient. | 2 rows | (none) |
| ramp | The gradient ramp, with a handle for each stop. Press a stop to edit it. | (none) | 2 stops |
| stop-opacity | Opacity of the stop, a number field. Sets the selected stop’s opacity. | 0 to 100 % | 100 |
| stop-location | Location, a number field. Sets where the selected stop sits. | 0 to 100 % | The stop’s place |
| add-stop | Add a stop, a button. Adds a stop. | (none) | (none) |
| delete-stop | Delete the stop, a button. Removes the selected stop. | (none) | (none) |
| ff-draw | Draw, a segmented control with Points and Lines. Sets how a freeform gradient is drawn. | 2 values | Points |
| ff-points | Points, chips for the gradient’s points. Pick the point to edit. | The gradient’s points | (none) |
| ff-opacity | Opacity, a number field. Sets the selected freeform point’s opacity. | 0 to 100 % | 100 |
| ff-spread | Spread, a number field. Sets how far the selected point’s colour reaches. | 0 to 100 % | 50 |
| pattern | The pattern editor, with the picker’s pattern list and a search field “Search all patterns…”. Sets the pattern and its colours. Library opens the Patterns section. | The picker’s pattern list | (none) |
| none-note | The text “No paint. Pick a kind above to paint it.” | (none) | Shown when the kind is None |
| weight | Weight (tooltip “Stroke weight”), a number field. Sets the stroke width. | 0 to 1000 | 1 |
| unit | Unit, a dropdown. Sets the unit of Weight. Changing between px, pt, em and rem converts the number. | px, pt, %, em, rem | px |
| saved-styles | Saved stroke styles, a menu button with 2 rows: Saved stroke styles… and Save this stroke style to the Assets library. Opens the list or saves the stroke style. | 2 rows | (none) |
| line-tiles | Line tiles: No line, Solid, Fine dash, Dash, Wide dash, Dotted, Dash dot. No line sets the weight to 0 and keeps the dashes. A dash picked while the line is off turns it back on at 1. Dotted and Dash dot set a round cap. | 7 tiles | The stroke’s own (No line is lit when the weight is 0) |
| cap | Cap: Butt cap, Round cap, Projecting cap, a segmented control. Sets the line ends. | 3 values | Butt cap |
| corner | Corner: Miter join, Round join, Bevel join, a segmented control. Sets the corners. | 3 values | Miter join |
| limit | Limit, a number field. Sets the miter limit. It is greyed unless the corner is Miter join. | 1 to 500 | 4 |
| align | Align: Align Stroke to Center, Align Stroke to Inside, Align Stroke to Outside, a segmented control. Sets where the stroke sits on a closed shape. | 3 values | Center |
| order | Order (tooltip “Paint order (bottom to top)”), a dropdown. Sets which of fill, stroke and markers is painted on top. | Normal, Fill · markers · stroke, Stroke · fill · markers, Stroke · markers · fill, Markers · fill · stroke, Markers · stroke · fill | Normal |
| dashed | Dashed line, a checkbox. On applies the last dash used (6 4 at first). Off removes the dashes. | On, off | Off (on when the stroke has dashes) |
| dash-preset | Dashes, a dropdown. Sets the dash pattern. Custom puts the cursor in the first box. | Solid, Fine Dash, Dash, Wide Dash, Long Dash, Extra Long Dash, Dense Dash, Dotted, Dense Dots, Wide Dots, Square Dots, Dash Dot, Dash Dot Dot, Long Dash Dot, Rhythm, Railroad, Custom | The stroke’s own |
| dash-boxes | Dash 1, Gap 1, Dash 2, Gap 2, Dash 3, Gap 3, six text fields with the captions dash and gap. Type the dash pattern. The first empty or invalid box ends it. | Numbers, 0 and up | The stroke’s dashes |
| offset | Offset, a number field. Sets where the dash pattern starts. It is greyed while dashes are aligned to corners. | -1000 to 1000 | 0 |
| dash-corners | Preserve exact dash and gap lengths and Align dashes to corners and path ends, adjusting lengths to fit, a segmented control. Sets how dashes meet corners and path ends. | 2 values | Preserve |
| arrows-swap | Swap start and end markers, a button. Swaps the start and end markers. | (none) | (none) |
| markers | Start, Middle, End, 3 tiles (tooltips “Marker: Start” and so on). Each opens a marker list. Sets the marker at that place on the path. | None, Arrow, Stealth, Thin arrow, Open arrow, Chevron, Double arrow, Half top, Half bottom, Dot, Circle, Square, Square open, Diamond, Diamond open, Bar, Slash, Cross, Semicircle, Tick | None |
| arrow-scale | Scale, 2 number fields (tooltips “Start arrowhead scale” and “End arrowhead scale”). Sets the size of each arrowhead. Greyed for an end with no arrowhead. | 1 to 1000 % | 100 |
| arrow-link | Link start and end arrowhead scales, a toggle button. Keeps the two scales equal. | On, off | On (remembered in the browser) |
| arrow-align | Align: Extend arrow tip beyond end of path and Place arrow tip at end of path, a segmented control. Sets where the tip sits. Greyed with “No arrowheads on this path” when there are none. | 2 values | Place arrow tip at end of path |
| profile | Profile, a dropdown. Sets a variable width along the stroke. Uniform removes it. In Thai the items read สม่ำเสมอ for Uniform and โปรไฟล์ความกว้าง n for Width Profile n. | Uniform, Width Profile 1 to 6, plus profiles saved from the Width bar | Uniform |
| flip | Flip Along and Flip Across, buttons. Flip the width profile. | (none) | (none) |
| layout | Fill & Stroke layout in Preferences, section “Fill & Stroke panel” (Thai: รูปแบบแผง Fill & Stroke, แผง Fill & Stroke), a dropdown. Sets how the page is laid out. A change takes effect at once. | Pro, Standard, Simple (Thai: โปร, มาตรฐาน, เรียบง่าย) | Pro |
Keys
| Keys | When | What happens |
|---|---|---|
| F6 | Layout | Opens the page on the Fill tab. Pressed again while the Fill tab shows, it closes the page. |
| Ctrl+F10 | Layout | Opens the page on the Stroke tab. Pressed again while the Stroke tab shows, it closes the page. |
| Shift+X | Any time (the tooltip of the swap button names it) | Swaps fill and stroke |
| Enter | In a hex field or a dash box | Applies the value |
| Arrow Up, Arrow Down | In a number field of the head or footer | A held key is recorded as one undo step |
Limits
- With nothing selected, the page fades to half strength and takes no clicks. The exception is while a drawing tool is in hand (line, rect, ellipse, star, spiral, draw, pen, pencil, calligraphy, blob brush, text tools, paint bucket and a few more). Then a pick sets the colour the next new object gets.
- When the selected objects have different paints, the paint kind row lights nothing and its name reads “Mixed”. A colour picked paints all of them with that one solid colour.
- A gradient keeps two stops at least.
- Align Stroke to Inside and Align Stroke to Outside work on closed shapes only. On an open path they are grey with the tooltip “An open path is stroked on its centre: Inside and Outside need a closed shape”.
- Limit is greyed unless Corner is Miter join. Offset is greyed with the tooltip “Aligned dashes start on the pattern: no offset” while dashes are aligned to corners.
- No line keeps the dash pattern. It only sets the weight to 0.
- When the page edits something that is not the selection’s own fill or stroke, for example a gradient stop or a bar swatch of another object part, the three tabs and the footer hide. A line at the top names the item. Its close button returns the page to the selection.
- You can drag a swatch of the page onto an object on the canvas. It paints that object’s fill, or its stroke when the Stroke tab is up. It needs no selection and is one undo step. None does not drag.
- When you switch to Vector or Pixel, the page closes. It opens again when you come back to Layout.
- Standard and Simple are other arrangements of the same controls. Their rows are not listed here.