Skip to content

Fills and strokes ​

What paints a shape: its colours, its outlines, and the effects on them.

A section in the inspector of any shape, text, layout or path.

Adding paint ​

The paint menu: Fill, Stroke, Image…, Material look…, Shader background…

+ Add Paint offers:

ItemWhat it adds
FillA colour inside the shape
StrokeAn outline, with a thickness
Image…A picture drawn inside the shape's geometry
Material look…A ready-made look, picked from the library; its search finds looks by name, colour or feel (see Materials)
Shader background…A moving backdrop

An object can have several fills and several strokes. Strokes are listed front-first, so the top row is the outline drawn over the others.

A paint row ​

A fill row: the eye, the swatch, the hex, the opacity and the paint options, with Solid, Linear and Radial under it

ControlWhat it does
The eyeHides this paint. It keeps its colour while hidden, so you can bring it back
The swatchOpens the colour picker
The hex boxType a colour directly
The percentageOpacity of this paint alone
The diamond and the glyphKey the colour, or bind it to a property
The small squarePaint options — blend, feather, trim (a text's fill: Paint options — blend)
The arrowsMove a stroke in front of or behind the others

A stroke also has its thickness on the row, keyable on its own, and a cap and join button for how its ends and corners are drawn.

Under every fill and stroke is the paint's type, four choices with the current one marked:

ChoiceTooltip
Solid"One colour"
Linear"A gradient along a line, from its start to its end"
Radial"A circular gradient, from its centre outwards"
Angular"A sweep around a centre, clockwise like a clock hand - a colour wheel, a progress ring"

Gradients ​

How do I make a gradient? ​

A fill switched to Linear: Solid, Linear, Radial and Angular under the fill row with Linear marked, and the gradient's start and end points and colour stops below

Select the shape or text, and under its fill (or stroke) tap Linear, Radial or Angular. One tap switches it: the colour becomes a gradient, and its start and end points and colour stops open below, to add, move and colour. Tap Solid to go back to one colour. On the stage, a bar with a dot at each end sets where the gradient starts and finishes — drag it with any tool.

Moving a gradient's numbers and handles ​

Every number of a gradient scrubs like the inspector's other numbers: Start, End, Opacity, a stop's position and the angular rows. Drag sideways to change it, hold Shift for fine steps, and double-click to type. Opacity and a stop's position stay between 0 and 100.

On the stage a gradient's handles light up and grow under the pointer, and take the press from a little further away, the nearer one first. They can be dragged with any tool, the Move tool included.

Angular: a sweep round a centre ​

An angular fill: Angular marked on the paint's type, the Centre, Start angle and Scale rows, and the Colour wheel, Sweep and Two-tone presets

Angular turns the paint into a sweep: the colours run round a centre, like a clock hand, clockwise from where it starts. It makes a colour wheel, or a progress ring that fills as a number grows. Its rows are:

RowWhat it sets
CentreWhere the sweep turns, X and Y
Start angleThe angle, in degrees, where the first colour begins
Scale %The sweep stretched or squeezed, X and Y, to make it an ellipse

Under them, three presets set the colour stops in one step: Colour wheel (every hue once round, back to red), Sweep (a progress ring: the first colour fading to clear round the turn) and Two-tone (half and half, a hard edge at the start angle and opposite). Key the Start angle or a stop's position and the sweep turns or fills on its own.

A rectangle with an angular fill selected: a thin ring through the shape with each colour stop on it, a handle at the centre and one on the ring where the sweep starts

On the stage a thin ring shows the sweep, with each colour stop on it. Drag the centre handle to move the sweep, and the handle on the ring to turn where it starts; Shift turns it in 15° steps. The ring is drawn in the editor only. A fill with a sweep is named Angular gradient in the fills and strokes rows, with a sweep swatch.

Feather, trim and dash ​

EffectWhat it does
FeatherSoftens the paint's edge, by an amount, with an offset and a choice of inner or outer
TrimDraws only part of a path — start, end and offset, as percentages. Key them and a line draws itself on
DashA dashed stroke: a dash length and an offset

Trim mode decides how several paths in one shape are trimmed: Sequential treats them as one long path, one after another; Synchronized trims each at the same time.

A text's fill can be feathered but not trimmed.

Fill rule — which parts are inside ​

When a shape holds several paths, the fill rule decides which parts count as inside and which are holes. The button cycles: non-zero, even-odd, clockwise.

A path marked Hole cuts out of the fill. That needs the clockwise rule, and the panel says so when the rule does not match — "Needs the Clockwise fill rule" — rather than leaving you with a hole that does not appear.

Colour, once, everywhere ​

Document colours at the bottom of the inspector is the document's palette. Editing a swatch there changes every paint in the document using that colour, in one undo step. That is how a channel's red is changed across sixty graphics without hunting for it.

See also ​

airZ Editor manual