Skia
2D Graphics Library
SkSVGColor Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kCurrentColor , kColor , kICCColor }
 
using Vars = std::vector< SkString >
 

Public Member Functions

 SkSVGColor ()
 
 SkSVGColor (const SkSVGColorType &c)
 
 SkSVGColor (Type t, Vars &&vars)
 
 SkSVGColor (const SkSVGColorType &c, Vars &&vars)
 
 SkSVGColor (const SkSVGColor &)=default
 
SkSVGColoroperator= (const SkSVGColor &)=default
 
 SkSVGColor (SkSVGColor &&)=default
 
SkSVGColoroperator= (SkSVGColor &&)=default
 
bool operator== (const SkSVGColor &other) const
 
bool operator!= (const SkSVGColor &other) const
 
Type type () const
 
const SkSVGColorTypecolor () const
 
SkSpan< const SkStringvars () const
 
SkSpan< SkStringvars ()
 

Member Typedef Documentation

◆ Vars

using SkSVGColor::Vars = std::vector<SkString>

Member Enumeration Documentation

◆ Type

enum SkSVGColor::Type
strong
Enumerator
kCurrentColor 
kColor 
kICCColor 

Constructor & Destructor Documentation

◆ SkSVGColor() [1/6]

SkSVGColor::SkSVGColor ( )
inline

◆ SkSVGColor() [2/6]

SkSVGColor::SkSVGColor ( const SkSVGColorType c)
inlineexplicit

◆ SkSVGColor() [3/6]

SkSVGColor::SkSVGColor ( Type  t,
Vars &&  vars 
)
inlineexplicit

◆ SkSVGColor() [4/6]

SkSVGColor::SkSVGColor ( const SkSVGColorType c,
Vars &&  vars 
)
inlineexplicit

◆ SkSVGColor() [5/6]

SkSVGColor::SkSVGColor ( const SkSVGColor )
default

◆ SkSVGColor() [6/6]

SkSVGColor::SkSVGColor ( SkSVGColor &&  )
default

Member Function Documentation

◆ color()

const SkSVGColorType& SkSVGColor::color ( ) const
inline

◆ operator!=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

SkSVGColor& SkSVGColor::operator= ( SkSVGColor &&  )
default

◆ operator==()

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

◆ type()

Type SkSVGColor::type ( ) const
inline

◆ vars() [1/2]

SkSpan<SkString> SkSVGColor::vars ( )
inline

◆ vars() [2/2]

SkSpan<const SkString> SkSVGColor::vars ( ) const
inline

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