Class Color

Applied Stereotypes:
XSDcomplexType, union

Color description with a semantic color value and an optional detailed value for visualization.

Used in:
LightState
Properties
  Name Type Cardinality AppliedStereotypes Description
  colorType ColorType 1..1 XSDattribute Semantic value of the color.
  colorRgb ColorRgb 1..1 xor, XSDelement Color description in RGB schema.
  colorCmyk ColorCmyk 1..1 xor, XSDelement Color description in CMYK schema.
XSD 1.3 Representation


<xsd:complexType name="Color">
<xsd:choice>
<xsd:element name="ColorRgb" type="ColorRgb"/>
<xsd:element name="ColorCmyk" type="ColorCmyk"/>
</xsd:choice>
<xsd:attribute name="colorType" type="ColorType" use="required"/>
</xsd:complexType>

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "choice"; mixed: "false"]
    • union
  • Property colorType
    • XSDattribute
  • Property colorRgb
    • xor
    • XSDelement [position: "1"]
  • Property colorCmyk
    • xor
    • XSDelement [position: "2"]

To XSD