Represents a color range from a document.

Constructor

new(range:Range, color:Color)

Creates a new color range.

Parameters:

range

The range the color appears in. Must not be empty.

color

The value of the color.

format

The format in which this color is currently formatted.

Variables

color:Color

The actual color value for this color range.

range:Range

The range in the document where this color appears.