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

#include <SkSVGTypes.h>

Public Types

enum class  Type { kNone , kDashArray , kInherit }
 

Public Member Functions

 SkSVGDashArray ()
 
 SkSVGDashArray (Type t)
 
 SkSVGDashArray (std::vector< SkSVGLength > &&dashArray)
 
 SkSVGDashArray (const SkSVGDashArray &)=default
 
SkSVGDashArrayoperator= (const SkSVGDashArray &)=default
 
bool operator== (const SkSVGDashArray &other) const
 
bool operator!= (const SkSVGDashArray &other) const
 
Type type () const
 
const std::vector< SkSVGLength > & dashArray () const
 

Detailed Description

Definition at line 394 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGDashArray::Type
strong
Enumerator
kNone 
kDashArray 
kInherit 

Definition at line 396 of file SkSVGTypes.h.

396 {
397 kNone,
398 kDashArray,
399 kInherit,
400 };
@ kNone
Definition: layer.h:53

Constructor & Destructor Documentation

◆ SkSVGDashArray() [1/4]

SkSVGDashArray::SkSVGDashArray ( )
inline

Definition at line 402 of file SkSVGTypes.h.

◆ SkSVGDashArray() [2/4]

SkSVGDashArray::SkSVGDashArray ( Type  t)
inlineexplicit

Definition at line 403 of file SkSVGTypes.h.

403: fType(t) {}

◆ SkSVGDashArray() [3/4]

SkSVGDashArray::SkSVGDashArray ( std::vector< SkSVGLength > &&  dashArray)
inlineexplicit

Definition at line 404 of file SkSVGTypes.h.

405 : fType(Type::kDashArray)
406 , fDashArray(std::move(dashArray)) {}
const std::vector< SkSVGLength > & dashArray() const
Definition: SkSVGTypes.h:418

◆ SkSVGDashArray() [4/4]

SkSVGDashArray::SkSVGDashArray ( const SkSVGDashArray )
default

Member Function Documentation

◆ dashArray()

const std::vector< SkSVGLength > & SkSVGDashArray::dashArray ( ) const
inline

Definition at line 418 of file SkSVGTypes.h.

418{ return fDashArray; }

◆ operator!=()

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

Definition at line 414 of file SkSVGTypes.h.

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

◆ operator=()

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

◆ operator==()

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

Definition at line 411 of file SkSVGTypes.h.

411 {
412 return fType == other.fType && fDashArray == other.fDashArray;
413 }

◆ type()

Type SkSVGDashArray::type ( ) const
inline

Definition at line 416 of file SkSVGTypes.h.

416{ return fType; }

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