effectcraft/docs
bflatastic 89e075d1b1 Shapes: Tools bar Tool Creates Shape / Mask and Fill / Stroke Options (#227)
The Tools bar had Fill and Stroke swatches and a Stroke Width, kept in
the interface only, so agents couldn't set them and new shapes could
only be a solid fill with a solid stroke. As in After Effects:

- With a shape layer selected and a shape tool or the Pen active, Tool
  Creates Shape / Tool Creates Mask choose whether drawing adds shapes
  to the layer or masks on it (Fill and Stroke hide while drawing
  masks).
- Clicking the word "Fill" or "Stroke" opens Fill Options / Stroke
  Options: None, Solid Color, Linear Gradient or Radial Gradient, the
  blend mode and the opacity. The swatches show the kind; Alt-click
  steps through the kinds.
- New shapes and Pen paths are painted with them: a Gradient Fill or
  Gradient Stroke across the shape for the gradient kinds.

The options are engine state (EditorState.shape_tool) set with the new
shape.toolOptions command; shape.newShape and shape.newPath use them
unless given paint parameters (which now include fillType, fillBlend,
fillOpacity and their stroke twins; layer.newShape takes them too). A
Pen path without paint parameters now takes the Tools bar's stroke
(none by default) instead of a fixed 2 px white one. layer.addMask also
draws rounded rectangle, polygon and star masks, so every shape tool
makes a mask on a selected footage or solid layer (rounded rectangles,
polygons and stars made a new shape layer).

Test: shape_tool_options_paint_new_shapes,
masks_of_every_shape_tool_kind,
tool_creates_mask_draws_a_mask_on_the_selected_shape_layer,
fill_options_paint_the_next_shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 13:03:38 +07:00
..
brand Licensing: standard LICENSE files, NOTICE, ArtCraft brand terms 2026-10-04 10:05:24 -04:00
fidelity G2: improve editing reliability and Windows rendering fidelity 2026-10-06 00:00:31 -05:00
images M0.11: README rewrite with headless screenshots (hero, graph editor, effects, 3D, render queue) 2026-10-01 23:31:40 -04:00
agents.md App: launching opens an empty project, not the demo (#204) 2026-10-07 22:13:19 +00:00
architecture.md fix: contain GPU initialization and retire failed readbacks 2026-10-06 16:40:12 -05:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#228) 2026-10-07 21:16:47 -04:00
control-protocol.md Shapes: Tools bar Tool Creates Shape / Mask and Fill / Stroke Options (#227) 2026-10-08 13:03:38 +07:00
effects.md Merge main into M13.28 worktree 2026-10-04 02:57:55 -04:00
gaps.md Gaps: regression evidence for the #227 interface fixes 2026-10-08 12:59:40 +07:00
parity.md Docs: user issues #85–#117 in gaps, parity, ROADMAP and README 2026-10-07 02:34:15 +07:00
plugins.md M13.12: docs (pdf README, parity, plug-ins), EPS Type 3 fonts reported 2026-10-03 09:51:22 -04:00
preferences.md Settings: Language ▸ Match System follows the system language (#229) 2026-10-08 12:58:11 +07:00
releasing.md Docs: releasing.md, the release procedure release.yml points to (#136) 2026-10-07 11:53:50 +07:00
testing.md M13.27: sim effects golden hashes 2026-10-04 00:50:03 -04:00
web.md Web: a lost graphics device says so and offers a reload (#225) 2026-10-08 12:38:11 +07:00