Class Color

Applied Stereotypes:
XSDcomplexType, union

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

Used in:
  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:element name="ColorRgb" type="ColorRgb"/>
<xsd:element name="ColorCmyk" type="ColorCmyk"/>
<xsd:attribute name="colorType" type="ColorType" use="required"/>

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"]