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

#include <SkSVGTypes.h>

Public Types

enum class  Type {
  k100 , k200 , k300 , k400 ,
  k500 , k600 , k700 , k800 ,
  k900 , kNormal , kBold , kBolder ,
  kLighter , kInherit
}
 

Public Member Functions

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

Detailed Description

Definition at line 552 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGFontWeight::Type
strong
Enumerator
k100 
k200 
k300 
k400 
k500 
k600 
k700 
k800 
k900 
kNormal 
kBold 
kBolder 
kLighter 
kInherit 

Definition at line 554 of file SkSVGTypes.h.

554 {
555 k100,
556 k200,
557 k300,
558 k400,
559 k500,
560 k600,
561 k700,
562 k800,
563 k900,
564 kNormal,
565 kBold,
566 kBolder,
567 kLighter,
568 kInherit,
569 };
@ kNormal
Default priority level.
Definition: embedder.h:262

Constructor & Destructor Documentation

◆ SkSVGFontWeight() [1/2]

SkSVGFontWeight::SkSVGFontWeight ( )
inline

Definition at line 571 of file SkSVGTypes.h.

◆ SkSVGFontWeight() [2/2]

SkSVGFontWeight::SkSVGFontWeight ( Type  t)
inlineexplicit

Definition at line 572 of file SkSVGTypes.h.

572: fType(t) {}

Member Function Documentation

◆ operator!=()

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

Definition at line 577 of file SkSVGTypes.h.

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

◆ operator==()

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

Definition at line 574 of file SkSVGTypes.h.

574 {
575 return fType == other.fType;
576 }

◆ type()

Type SkSVGFontWeight::type ( ) const
inline

Definition at line 579 of file SkSVGTypes.h.

579{ return fType; }

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