diff --git a/crates/doc/src/live/envelope.rs b/crates/doc/src/live/envelope.rs index 35f95ed5fb..2fda2934b9 100644 --- a/crates/doc/src/live/envelope.rs +++ b/crates/doc/src/live/envelope.rs @@ -95,8 +95,8 @@ pub struct EnvelopeOptions { /// Distort Pattern Fills (with Distort Appearance): pattern tiles bend with the art. pub distort_pattern_fills: bool, /// With Distort Appearance, how far the box the content maps from reaches past its geometric - /// bounds at the top, bottom, left and right, as shares of their height and width; on content - /// with no height or no width, the margins along that side are shares of the other side + /// bounds at the top, bottom, left and right, as shares of their height and width; when the + /// height or width is shorter than 1e-6 pt, the margins along that side are shares of the other side /// ([`envelope_margin_lengths`]). An envelope /// opened from a `.ai` whose saved size includes its strokes has these margins. New envelopes /// have none. Leaving Edit Contents measures them again when the strokes reach differently. diff --git a/crates/engine/src/cmd/live/commands.rs b/crates/engine/src/cmd/live/commands.rs index d43cf8235a..b44a26e645 100644 --- a/crates/engine/src/cmd/live/commands.rs +++ b/crates/engine/src/cmd/live/commands.rs @@ -199,7 +199,7 @@ pub fn specs() -> Vec { "Envelope Info", [], None, - "{} the selected envelope's settings, or with none selected the defaults new envelopes get → {id: n|null, type: warp|mesh|topObject, style, bend, h, v, horizontal, version (a warp's map: 1, each style as one Bézier patch; 0, the earlier map), rows, cols, fidelity, antiAlias, preserveShape: clippingMask|transparency, distortAppearance, distortLinearGradients, distortPatternFills, boundsMargin?: [top, bottom, left, right] (shares of the content's height and width, a side with no length taking the other side's, reported only when not zero: with distortAppearance, how far the box the content maps from reaches past its geometric bounds), editing}", + "{} the selected envelope's settings, or with none selected the defaults new envelopes get → {id: n|null, type: warp|mesh|topObject, style, bend, h, v, horizontal, version (a warp's map: 1, each style as one Bézier patch; 0, the earlier map), rows, cols, fidelity, antiAlias, preserveShape: clippingMask|transparency, distortAppearance, distortLinearGradients, distortPatternFills, boundsMargin?: [top, bottom, left, right] (shares of the content's height and width, a side shorter than 1e-6 pt taking the other side's, reported only when not zero: with distortAppearance, how far the box the content maps from reaches past its geometric bounds), editing}", has_doc, env_info ), diff --git a/docs/mcp.md b/docs/mcp.md index c3530d716c..290361ccf9 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -14940,8 +14940,8 @@ options existed keep their old look (appearance applied after the distortion). An envelope opened from a `.ai` can have margins, written to native files as `boundsMargin` and reported by `object.envelope.info` when they are not zero: `[top, bottom, left, right]`, as shares of the content's height and -width. On content with no height or no width, such as a straight line, the margins along that side are shares of the -other side. While `distortAppearance` is on, the content maps from its geometric bounds grown by the margins, and while it +width. When the content's height or width is shorter than 1e-6 pt (zero included), as on a straight line, the margins +along that side are shares of the other side. While `distortAppearance` is on, the content maps from its geometric bounds grown by the margins, and while it is off, the content maps from its geometric bounds. Leaving Edit Contents measures the margins again when the content's strokes reach differently than when Edit Contents began, and always for an envelope whose file opened in Edit Contents. New envelopes have no margins, and no command sets them.