The Diagram Common (DC) package contains abstractions shared by the Diagram Interchange and the Diagram Graphics packages.
Boolean is a primitive data type having one of two values: <i>true</i> or <i>false</i>, intended to represent the truth value of logical expressions.
Integer is a primitive data type used to represent the mathematical concept of integer.
Real is a primitive data type used to represent the mathematical concept of real.
String is a primitive data type used to represent a sequence of characters in some suitable character set.
Color is a data type that represents a color value in the RGB format.
the red, green and blue components of the color must be in the range (0...255).
OCL
red >= 0 and red <=255 and green >= 0 and green <=255 and blue >= 0 and blue <=255
the red component of the color in the range (0..255).
the red component of the color in the range (0..255).
the red component of the color in the range (0..255).
A Point specifies an location in some x-y coordinate system.
a real number (<= 0 or >= 0) that represents the x-coordinate of the point.
a real number (<= 0 or >= 0) that represents the y-coordinate of the point.
Dimension specifies two lengths (width and height) along the x and y axes in some x-y coordinate system.
the width and height of a dimension cannot be negative
OCL
width >= 0 and height >=0
a real number (>=0) that represents a length along the x-axis.
a real number (>=0) that represents a length along the y-axis.
Bounds specifies a rectangular area in some x-y coordinate system that is defined by a location (x and y) and a size (width and height).
the width and height of bounds cannot be negative
OCL
width >= 0 and height >=0
a real number (>=0 or <=0) that represents the x-coordinate of the bounds
a real number (>=0 or <=0) that represents the y-coordinate of the bounds
a real number (>=0) that represents the width of the bounds
a real number (>=0) that represents the height of the bounds
AlignmentKind enumerates the possible options for alignment for layout purposes.
an alignment to the start of a given length.
an alignment to the end of a given length
an alignment to the center of a given length
KnownColor is an enumeration of 17 known colors.
a color with a value of #800000
a color with a value of #FF0000
a color with a value of #FFA500
a color with a value of #FFFF00
a color with a value of #808000
a color with a value of #800080
a color with a value of #FF00FF
a color with a value of #FFFFFF
a color with a value of #00FF00
a color with a value of #008000
a color with a value of #000080
a color with a value of #0000FF
a color with a value of #00FFFF
a color with a value of #008080
a color with a value of #000000
a color with a value of #C0C0C0
a color with a value of #808080