rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
23 lines (22 loc) • 599 B
TypeScript
export interface IRGB {
get r(): number;
get g(): number;
get b(): number;
}
export interface IRGBA extends IRGB {
get a(): number | undefined;
}
export declare class RGBA implements IRGBA {
private static readonly _minColorValue;
private static readonly _maxColorValue;
private readonly _r;
private readonly _g;
private readonly _b;
private readonly _a;
get r(): number;
get g(): number;
get b(): number;
get a(): number | undefined;
constructor(r: number, g: number, b: number, a?: number | undefined);
private static _clampColor;
}