Skia
2D Graphics Library
SkFontParameters::Variation::Axis Struct Reference

#include <SkFontParameters.h>

Public Member Functions

constexpr Axis ()
 
constexpr Axis (SkFourByteTag tag, float min, float def, float max, bool hidden)
 
bool isHidden () const
 
void setHidden (bool hidden)
 

Public Attributes

SkFourByteTag tag
 
float min
 
float def
 
float max
 

Constructor & Destructor Documentation

◆ Axis() [1/2]

constexpr SkFontParameters::Variation::Axis::Axis ( )
inlineconstexpr

◆ Axis() [2/2]

constexpr SkFontParameters::Variation::Axis::Axis ( SkFourByteTag  tag,
float  min,
float  def,
float  max,
bool  hidden 
)
inlineconstexpr

Member Function Documentation

◆ isHidden()

bool SkFontParameters::Variation::Axis::isHidden ( ) const
inline

◆ setHidden()

void SkFontParameters::Variation::Axis::setHidden ( bool  hidden)
inline

Member Data Documentation

◆ def

float SkFontParameters::Variation::Axis::def

◆ max

float SkFontParameters::Variation::Axis::max

◆ min

float SkFontParameters::Variation::Axis::min

◆ tag

SkFourByteTag SkFontParameters::Variation::Axis::tag

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