interface AcGiContextOptions {
    backgroundIsDark?: boolean;
    database?: unknown;
    fallbackRgb?: number;
    foregroundOnDark?: number;
    foregroundOnLight?: number;
    is2dWireframe?: boolean;
}

Properties

backgroundIsDark?: boolean

Whether the current draw background is dark.

database?: unknown

Database being drawn. Runtime type is AcDbDatabase (data-model); typed as unknown here so graphic-interface does not depend on data-model.

Display tessellation reads drawCircleSides from this object.

fallbackRgb?: number

Fallback RGB when the resolved color has no concrete RGB value.

foregroundOnDark?: number

RGB used when the resolved color is foreground (ACI 7) on a dark background.

foregroundOnLight?: number

RGB used when the resolved color is foreground (ACI 7) on a light background.

is2dWireframe?: boolean

When set, forces the 2dWireframe (or non-wireframe) display path for entities that branch on visual style — e.g. a paper-space viewport whose style differs from VPORT *Active.