cssText method

String cssText()

Implementation

String cssText() {
  switch(type) {
    case CSSPaintType.color: return getColor().toString();
    case CSSPaintType.none: return _transparentColor.toString();
    case CSSPaintType.currentColor: return CURRENT_COLOR;
    case CSSPaintType.contextFill: return CONTEXT_FILL;
    case CSSPaintType.contextStroke: return CONTEXT_STROKE;
  }
}