rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
21 lines (20 loc) • 560 B
TypeScript
export interface IRGBA {
get r(): number;
get g(): number;
get b(): number;
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;
}