Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
SkSVGSpreadMethod Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kPad , kRepeat , kReflect }
 

Public Member Functions

constexpr SkSVGSpreadMethod ()
 
constexpr SkSVGSpreadMethod (Type t)
 
 SkSVGSpreadMethod (const SkSVGSpreadMethod &)=default
 
SkSVGSpreadMethodoperator= (const SkSVGSpreadMethod &)=default
 
bool operator== (const SkSVGSpreadMethod &other) const
 
bool operator!= (const SkSVGSpreadMethod &other) const
 
Type type () const
 

Detailed Description

Definition at line 318 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGSpreadMethod::Type
strong
Enumerator
kPad 
kRepeat 
kReflect 

Definition at line 321 of file SkSVGTypes.h.

321 {
322 kPad, // kClamp_TileMode
323 kRepeat, // kRepeat_TileMode
324 kReflect, // kMirror_TileMode
325 };
constexpr int kPad

Constructor & Destructor Documentation

◆ SkSVGSpreadMethod() [1/3]

constexpr SkSVGSpreadMethod::SkSVGSpreadMethod ( )
inlineconstexpr

Definition at line 327 of file SkSVGTypes.h.

◆ SkSVGSpreadMethod() [2/3]

constexpr SkSVGSpreadMethod::SkSVGSpreadMethod ( Type  t)
inlineexplicitconstexpr

Definition at line 328 of file SkSVGTypes.h.

328: fType(t) {}

◆ SkSVGSpreadMethod() [3/3]

SkSVGSpreadMethod::SkSVGSpreadMethod ( const SkSVGSpreadMethod )
default

Member Function Documentation

◆ operator!=()

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

Definition at line 334 of file SkSVGTypes.h.

334{ return !(*this == other); }

◆ operator=()

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

◆ operator==()

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

Definition at line 333 of file SkSVGTypes.h.

333{ return fType == other.fType; }

◆ type()

Type SkSVGSpreadMethod::type ( ) const
inline

Definition at line 336 of file SkSVGTypes.h.

336{ return fType; }

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