The SEDRIS Data Representation Model
APPENDIX A - Classes
Colour Data

Abstract Class Name: Colour Data

Superclass - <SEDRIS Abstract Base>

Subclasses

Definition

An instance of this DRM class specifies a 3-tuple representing the colour coordinate values for a colour in the given colour model.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

See concrete subclasses for examples.

FAQs

Consider a data consumer who does not use the colour model that the data provider used. How can the data consumer get the colour values in the colour model used by the data consumer?

If the consumer's colour model is one of the SEDRIS defined colour models (RGB, CMY, or HSV), the Level 0 API, if directed to do so, will change all <Primitive Colour> instances into whichever directly supported colour model the data consumer wishes to specify.

If the data consumer's colour model is not directly supported, the consumer should retrieve the data in an appropriate colour model for use with one of the utility functions provided in the DRM API.

Where can users find more information on colour in the DRM?

See P4V8 of the SEDRIS Documentation Set for further information.

Constraints

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.
Prev: Colour. Next: Colour Index. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS