Line weight
A node of the Style graph, in the Lines group.
The silhouette two pixels thick on the side away from the light, and Border rings of outline round it, in the outer line's colour or, with Own colour, in Colour: a border of its own colour goes all the way round, over where inner lines meet the silhouette, and an automatic palette holds its colour as it is (a fixed palette gives its nearest). Where an inner line meets the silhouette the outline stays one pixel. A fitted camera leaves room for what it draws outside the outline.
Takes: lines (lines), shadow (on-off), border (number), own (on-off), colour (text) · Gives: lines
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
Shadow sideshadow | The silhouette two pixels thick on the side away from the light. | on or off | true |
| Border | Rings of line round the outside of the silhouette. | 0 to 4 | 0 |
Own colourown | The border in a colour of its own rather than the outer line's. | on or off | false |
| Colour | The border's colour: an automatic palette holds it as it is, a fixed one gives its nearest. | colour | #000000 |
Every setting is also an input: wire a value into it to change it per pixel. On the command line: pxr graph set game.pixor --which style --node line-weight --set KEY=VALUE.
- Wire it
- lines → lines
- Settings
- Shadow side, Border, Own colour, Colour
What it wires to
Its lines input takes lines, which these give: Colour edges, Edges, Silhouette, Tidy lines.
What it gives, lines, goes into: Colour edges, Edges, Line colours, Tidy lines, Unband.
In the app, drag a wire from one of its dots: every dot the wire fits is ringed.
How it fits with the rest: the Style graph in the manual.
In the same group
Silhouette · Edges · Tidy lines · Line colours · Colour edges