From 8430715ec7736de9a26817956ca5346ad6a00acf Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Tue, 10 Nov 2026 17:27:50 -0800 Subject: [PATCH] Docs: pattern.options sizes the tile to the art while sizeTileToArt is on A brick tileType or gridType with brickOffset omitted or null sets the offset to 0.5. While sizeTileToArt is on, every pattern.options call sizes the tile to the art plus hSpacing and vSpacing again and ignores width and height, so a new hSpacing changes the tile's width. --- docs/mcp.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/mcp.md b/docs/mcp.md index b220a1011c..7b9abf63f0 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -3106,8 +3106,10 @@ The pattern commands (`object.pattern.make`, `object.pattern.edit`, `object.patt a `center` that is not `[x, y]`, and `object.repeat.radial` rejects a negative `radius`. In `object.pattern.make`, `object.pattern.saveCopy`, `object.repeat.radial`, `object.repeat.grid` and `object.repeat.mirror`, omitting a param or giving null keeps its default. In `pattern.options` and `object.repeat.options`, omitting a param or giving null keeps -the pattern's or the repeat's current value, with one exception: a brick `tileType` in `pattern.options` or a brick -`gridType` in `object.repeat.options` given without `brickOffset` sets the offset to 0.5. Without a `name`, +the pattern's or the repeat's current value, with two exceptions. A brick `tileType` in `pattern.options` or a brick +`gridType` in `object.repeat.options` with `brickOffset` omitted or null sets the offset to 0.5. While `sizeTileToArt` +is on, each `pattern.options` call sizes the tile to the art plus `hSpacing` and `vSpacing` again and ignores `width` +and `height`, so a new `hSpacing` changes the tile's width. Without a `name`, `object.pattern.edit` edits the pattern that fills or strokes a selected object, and `pattern.options` changes the pattern being edited; each returns an error when there is no such pattern. `pattern.delete` requires `name`.