cssCursor property

String get cssCursor

Implementation

String get cssCursor {
  switch (this) {
    case PCanvasCursor.cursor:
      return 'default';
    case PCanvasCursor.pointer:
      return 'pointer';
    case PCanvasCursor.grab:
      return 'grab';
    case PCanvasCursor.crosshair:
      return 'crosshair';
    case PCanvasCursor.text:
      return 'text';
    case PCanvasCursor.wait:
      return 'wait';
    case PCanvasCursor.zoomIn:
      return 'zoom-in';
    case PCanvasCursor.zoomOut:
      return 'zoom-out';
  }
}