Colorable.color

Gets the current colour.

  1. Color color [@property getter]
    interface Colorable
    @property @safe
    color
    ()
  2. Color color [@property setter]

Examples

if(object.color is null || object.color.transparent) {
   writeln("There's no colour!");
}

Meta