Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.6.0
    Preparing search index...

    Interface GridPosition

    Grid-based position configuration

    Uses 12-column grid system for consistent alignment.

    Important: Valid combinations must satisfy:

    • column: 0-11 (starting column)
    • span: 1-12 (number of columns to span)
    • column + span ≤ 12 (must not exceed grid width)

    Invalid combinations (e.g., column: 10, span: 5) will throw runtime errors. Use LayoutSystem.calculateGridPosition() which validates inputs.

    그리드위치

    { column: 0, span: 12 }  // Full width
    { column: 2, span: 8 } // Centered 8 columns
    { column: 0, span: 6 } // Left half
    { column: 6, span: 6 } // Right half
    { column: 10, span: 5 }  // ERROR: 10 + 5 = 15 > 12
    { column: -1, span: 6 } // ERROR: column < 0
    { column: 5, span: 0 } // ERROR: span < 1
    interface GridPosition {
        column: number;
        gutter?: number;
        row?: number;
        span: number;
    }
    Index

    Properties

    Properties

    column: number

    Grid column to start from (0-11)

    gutter?: number

    Gutter size in pixels (default: 20)

    row?: number

    Row index for vertical positioning (multiplied by DEFAULT_ROW_HEIGHT=100px)

    span: number

    Number of columns to span (1-12)