@polyzone/core
Version:
PolyZone core API
22 lines (21 loc) • 592 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;
static white(): Color4;
static black(): Color4;
static red(): Color4;
static green(): Color4;
static blue(): Color4;
static yellow(): Color4;
static fuchsia(): Color4;
static cyan(): Color4;
}