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

    Interface HUDLayoutResult

    Result of HUD layout calculations

    interface HUDLayoutResult {
        availableHeight: number;
        bottomOffset: number;
        gap: number;
        hudHeight: number;
        hudHeightPercent: number;
        hudWidth: number;
        hudWidthPercent: number;
        padding: number;
        topOffset: number;
    }
    Index

    Properties

    availableHeight: number

    Available height between top and bottom bars

    bottomOffset: number

    Bottom offset in pixels (for left/right HUDs)

    gap: number

    Gap between sections in pixels

    hudHeight: number

    HUD height in pixels

    hudHeightPercent: number

    HUD height as percentage of screen (0.0-1.0)

    hudWidth: number

    HUD width in pixels

    hudWidthPercent: number

    HUD width as percentage of screen (0.0-1.0)

    padding: number

    Internal padding in pixels

    topOffset: number

    Top offset in pixels (for left/right HUDs)