@alpaca-software/40kdc-data
    Preparing search index...

    Type Alias ZoneShape

    ZoneShape:
        | { type: "rectangle"; width: number; height: number }
        | { type: "polygon"; points: [Vec2, Vec2, Vec2, ...Vec2[]] }

    A zone footprint, expressed as an axis-aligned rectangle or an explicit polygon. Vertices/extent are relative to the owning element's position.

    This interface was referenced by 0KdcBundledSchemas's JSON-Schema via the definition "zone-shape".

    Type Declaration

    • { type: "rectangle"; width: number; height: number }
    • { type: "polygon"; points: [Vec2, Vec2, Vec2, ...Vec2[]] }