@samatawy/diagrams
    Preparing search index...

    Interface SnapGuideResult

    Snap result enriched with renderable guide lines.

    interface SnapGuideResult {
        dx: number;
        dy: number;
        xMatches: SnapMatch[];
        yMatches: SnapMatch[];
        guides: DiagramLineGuide[];
        options?: SnapOptions;
    }

    Hierarchy

    • SnapDeltaResult
      • SnapGuideResult
    Index

    Properties

    dx: number

    Chosen X-axis snap delta.

    dy: number

    Chosen Y-axis snap delta.

    xMatches: SnapMatch[]

    Ordered list of all X-axis matches.

    yMatches: SnapMatch[]

    Ordered list of all Y-axis matches.

    Guides that can be rendered for visual feedback.

    options?: SnapOptions

    Options used to compute this result.