Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
SkSVGTextAnchor Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kStart , kMiddle , kEnd , kInherit }
 

Public Member Functions

 SkSVGTextAnchor ()
 
 SkSVGTextAnchor (Type t)
 
bool operator== (const SkSVGTextAnchor &other) const
 
bool operator!= (const SkSVGTextAnchor &other) const
 
Type type () const
 

Detailed Description

Definition at line 611 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGTextAnchor::Type
strong
Enumerator
kStart 
kMiddle 
kEnd 
kInherit 

Definition at line 613 of file SkSVGTypes.h.

Constructor & Destructor Documentation

◆ SkSVGTextAnchor() [1/2]

SkSVGTextAnchor::SkSVGTextAnchor ( )
inline

Definition at line 620 of file SkSVGTypes.h.

620: fType(Type::kInherit) {}

◆ SkSVGTextAnchor() [2/2]

SkSVGTextAnchor::SkSVGTextAnchor ( Type  t)
inlineexplicit

Definition at line 621 of file SkSVGTypes.h.

621: fType(t) {}

Member Function Documentation

◆ operator!=()

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

Definition at line 626 of file SkSVGTypes.h.

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

◆ operator==()

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

Definition at line 623 of file SkSVGTypes.h.

623 {
624 return fType == other.fType;
625 }

◆ type()

Type SkSVGTextAnchor::type ( ) const
inline

Definition at line 628 of file SkSVGTypes.h.

628{ return fType; }

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