class HexaPDF::Content::ColorSpace::Universal::Color

A single color in the universal color space.

This doesn't represent a real color but is a place holder for a color in a color space that isn't implemented yet.

Attributes

color_space[R]

Returns the specific Universal color space used for this color.

components[R]

Returns the componets of the universal color, i.e. all arguments provided on initialization.

Public Class Methods

new(color_space, *components) click to toggle source

Creates a new universal color with the given components.

# File lib/hexapdf/content/color_space.rb, line 219
def initialize(color_space, *components)
  @color_space = color_space
  @components = components
end