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

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.

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.