Table 6.225 — DRM_RGB_Colour

Property

Description

Class

  • <DRM RGB Colour>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies the actual red, green, and blue data values for a colour defined within the Red Green Blue colour model. These values shall be in the range [0,0, 1,0].

NOTE  The RGB colour model is often visualized as a cube where the red, green, and blue values define coordinates within the cube.

The rgb_data field specifies the RGB colour coordinate. For a <DRM RGB Colour> instance with a <DRM RGB Colour Control Link> component X, the value of the rgb_data field is obtained from X.

Class diagram

Figure 6.280 — DRM_RGB_Colour

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

rgb_data

 

RGB_Data

Default field values

Default field values for DRM_RGB_Colour

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

  • None.

Composed of (two-way)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

Component of (two-way)

  • None.

Constraints

Clarifications

None.

Example(s)

  • A <DRM RGB Colour> instance representing pure black has an rgb_data field with a value of red = 0,0, green = 0,0, blue = 0,0.

  • A <DRM RGB Colour> instance representing red has an rgb_data field with a value of red = 1,0, green = 0,0, blue = 0,0.