TypeDisplayStyle

A TypeDisplayStyle holds the settings required to display a type (class, interface or enum).

  • The border color, which includes the line dividing fields from methods and the title background. The title background is rendered as a gradient down to black in all cases.
  • The members background color is the color used to fill the background of the members (fields, methods and inner types) of this type. The members background is rendered as a gradient down to white in all cases.

Note that the above two are mandatory and must be declared in order. The title text is displayed in white in all cases.

Example:

TypeDisplayStyle blueTypeDisplayStyle {
  border Color ( normal 54 108 162 strong 51 102 153 ) ;
  members background Color ( normal 158 184 184 strong 203 222 230 ) ;
}