@polyzone/core
Version:
PolyZone core API
30 lines (29 loc) • 784 B
TypeScript
import { Color3 } from "./Color3";
export declare class Color4 {
_r: number;
_g: number;
_b: number;
_a: number;
constructor(color: Color3, a?: number);
constructor(r: number, g: number, b: number, a?: number);
withR(value: number): Color4;
withG(value: number): Color4;
withB(value: number): Color4;
withA(value: number): Color4;
get r(): number;
set r(value: number);
get g(): number;
set g(value: number);
get b(): number;
set b(value: number);
get a(): number;
set a(value: number);
static white(): Color4;
static black(): Color4;
static red(): Color4;
static green(): Color4;
static blue(): Color4;
static yellow(): Color4;
static fuchsia(): Color4;
static cyan(): Color4;
}