Interface RulerGuide

Represents a ruler guide. These are horizontal or vertical lines that can be used to position elements in the UI.

interface RulerGuide {
    orientation: RulerGuideOrientation;
    position: number;
    board?: Board;
}

Properties

orientation indicates whether the ruler is either horizontal or vertical

position: number

position is the position in the axis in absolute positioning. If this is a board guide will return the positioning relative to the board.

board?: Board

If the guide is attached to a board this will retrieve the board shape