Skip to main content

Colors

Electron APIs / recorder / Colors

A utility class for defining named color constants.

This example class provides predefined color values that can be reused across the application.

Example​

const color = Colors.Red;

Constructors​

Constructor​

new Colors(): Colors;

Returns​

Colors

Properties​

Red​

readonly static Red: "Red" = 'Red';

Represents the color red.