UNPKG

arx-level-generator

Version:
40 lines (39 loc) 1.09 kB
import { Color } from '../../Color.js'; type GlowConstructorProps = { color?: Color; size?: number; isNegative?: boolean; }; /** * glow color is like: 1 or 0 for R G and B channels * 1 is enabled with full intensity, 0 is disabled * in-between values only reduce the radius proportionally * colors are blended with additive color mixing: * 1 1 1 = white * 1 1 0 = yellow * 1 0.5 0 = red with a smaller aura of yellow, not orange * 0 0 0 = transparent * * -n is for inverting channels and making the mixing substractive * resulting in C M Y channels * 1 1 1 = black * * there is a total of 7 light colors and 7 dark colors + intensity */ export declare class Glow { color?: Color; size?: number; isNegative: boolean; constructor({ color, size, isNegative }: GlowConstructorProps); on(): string; off(): string; /** * [o] = active * [f] = inactive * [c] = specify color (default halo color is #3370FF) * [s] = specify size (default size is 45) * [n] = negative */ private stringifyFlags; } export {};