SVG Paint specification for fill or stroke, including solids and gradients.


Enums


Public Member Functions

  • Paint ()
  • Paint (uint8_t type)
  • Paint (const ColorA8u &color)
  • bool
    isNone () const
  • bool
    isLinearGradient () const
  • bool
    isRadialGradient () const
  • const ColorA8u &
    getColor (size_t idx=0) const
  • float
    getOffset (size_t idx) const
  • size_t
    getNumColors () const
  • vec2
    getCoords0 () const
  • vec2
    getCoords1 () const
  • float
    getRadius () const
  • bool
    useObjectBoundingBox () const
  • bool
    specifiesTransform () const
  • mat3
    getTransform () const

Static Public Member Functions

  • parse (const char *value, bool *specified, const Node *parentNode)