weasel API - v0.8.0
    Preparing search index...

    Interface Guide

    Guide — a horizontal or vertical world-space line used as a snap target and an optional rendered overlay.

    axis === 'x' means a vertical line at world x = offset (snaps the X coordinate); axis === 'y' means a horizontal line at world y = offset (snaps the Y coordinate). This matches "the X axis snaps along X."

    interface Guide {
        axis: "x" | "y";
        id: string;
        offset: number;
    }
    Index

    Properties

    Properties

    axis: "x" | "y"

    Which world axis this guide constrains.

    id: string

    Stable, caller-supplied id. Used by removeGuide and as a render key.

    offset: number

    World-space offset along the constrained axis.