Skia
2D Graphics Library
SkSVGPaint Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kNone , kColor , kIRI }
 

Public Member Functions

 SkSVGPaint ()
 
 SkSVGPaint (Type t)
 
 SkSVGPaint (SkSVGColor c)
 
 SkSVGPaint (const SkSVGIRI &iri, SkSVGColor fallback_color)
 
 SkSVGPaint (const SkSVGPaint &)=default
 
SkSVGPaintoperator= (const SkSVGPaint &)=default
 
 SkSVGPaint (SkSVGPaint &&)=default
 
SkSVGPaintoperator= (SkSVGPaint &&)=default
 
bool operator== (const SkSVGPaint &other) const
 
bool operator!= (const SkSVGPaint &other) const
 
Type type () const
 
const SkSVGColorcolor () const
 
const SkSVGIRIiri () const
 

Member Enumeration Documentation

◆ Type

enum SkSVGPaint::Type
strong
Enumerator
kNone 
kColor 
kIRI 

Constructor & Destructor Documentation

◆ SkSVGPaint() [1/6]

SkSVGPaint::SkSVGPaint ( )
inline

◆ SkSVGPaint() [2/6]

SkSVGPaint::SkSVGPaint ( Type  t)
inlineexplicit

◆ SkSVGPaint() [3/6]

SkSVGPaint::SkSVGPaint ( SkSVGColor  c)
inlineexplicit

◆ SkSVGPaint() [4/6]

SkSVGPaint::SkSVGPaint ( const SkSVGIRI iri,
SkSVGColor  fallback_color 
)
inline

◆ SkSVGPaint() [5/6]

SkSVGPaint::SkSVGPaint ( const SkSVGPaint )
default

◆ SkSVGPaint() [6/6]

SkSVGPaint::SkSVGPaint ( SkSVGPaint &&  )
default

Member Function Documentation

◆ color()

const SkSVGColor& SkSVGPaint::color ( ) const
inline

◆ iri()

const SkSVGIRI& SkSVGPaint::iri ( ) const
inline

◆ operator!=()

bool SkSVGPaint::operator!= ( const SkSVGPaint other) const
inline

◆ operator=() [1/2]

SkSVGPaint& SkSVGPaint::operator= ( const SkSVGPaint )
default

◆ operator=() [2/2]

SkSVGPaint& SkSVGPaint::operator= ( SkSVGPaint &&  )
default

◆ operator==()

bool SkSVGPaint::operator== ( const SkSVGPaint other) const
inline

◆ type()

Type SkSVGPaint::type ( ) const
inline

The documentation for this class was generated from the following file: