class HexaPDF::Content::ColorSpace::Universal

Parent

This class represents a “universal” color space that is used for all color spaces that aren’t implemented yet.

Attributes

definition[R]

The color space definition used for creating this universal color space.

Public Class Methods

new(definition)

Creates the universal color space for the given color space definition.

Public Instance Methods

==(other)

Compares this universal color space to another one by looking at their definitions.

color(*args)

Creates a new universal color object. The number of arguments isn’t restricted.

Also aliased as: prenormalized_color
default_color()

The default universal color.

family()

Returns the PDF color space family this color space belongs to.

prenormalized_color(*args)
Alias for: color