Skia
2D Graphics Library
skottie::TextPropertyValue Struct Reference

#include <SkottieProperty.h>

Public Member Functions

bool operator== (const TextPropertyValue &other) const
 
bool operator!= (const TextPropertyValue &other) const
 

Public Attributes

sk_sp< SkTypefacefTypeface
 
SkString fText
 
float fTextSize = 0
 
float fMinTextSize = 0
 
float fMaxTextSize = std::numeric_limits<float>::max()
 
float fStrokeWidth = 0
 
float fLineHeight = 0
 
float fLineShift = 0
 
float fAscent = 0
 
size_t fMaxLines = 0
 
SkTextUtils::Align fHAlign = SkTextUtils::kLeft_Align
 
Shaper::VAlign fVAlign = Shaper::VAlign::kTop
 
Shaper::ResizePolicy fResize = Shaper::ResizePolicy::kNone
 
Shaper::LinebreakPolicy fLineBreak = Shaper::LinebreakPolicy::kExplicit
 
Shaper::Direction fDirection = Shaper::Direction::kLTR
 
Shaper::Capitalization fCapitalization = Shaper::Capitalization::kNone
 
SkRect fBox = SkRect::MakeEmpty()
 
SkColor fFillColor = SK_ColorTRANSPARENT
 
SkColor fStrokeColor = SK_ColorTRANSPARENT
 
TextPaintOrder fPaintOrder = TextPaintOrder::kFillStroke
 
SkPaint::Join fStrokeJoin = SkPaint::Join::kMiter_Join
 
bool fHasFill = false
 
bool fHasStroke = false
 
sk_sp< GlyphDecoratorfDecorator
 
SkString fLocale
 

Member Function Documentation

◆ operator!=()

bool skottie::TextPropertyValue::operator!= ( const TextPropertyValue other) const

◆ operator==()

bool skottie::TextPropertyValue::operator== ( const TextPropertyValue other) const

Member Data Documentation

◆ fAscent

float skottie::TextPropertyValue::fAscent = 0

◆ fBox

SkRect skottie::TextPropertyValue::fBox = SkRect::MakeEmpty()

◆ fCapitalization

Shaper::Capitalization skottie::TextPropertyValue::fCapitalization = Shaper::Capitalization::kNone

◆ fDecorator

sk_sp<GlyphDecorator> skottie::TextPropertyValue::fDecorator

◆ fDirection

Shaper::Direction skottie::TextPropertyValue::fDirection = Shaper::Direction::kLTR

◆ fFillColor

SkColor skottie::TextPropertyValue::fFillColor = SK_ColorTRANSPARENT

◆ fHAlign

SkTextUtils::Align skottie::TextPropertyValue::fHAlign = SkTextUtils::kLeft_Align

◆ fHasFill

bool skottie::TextPropertyValue::fHasFill = false

◆ fHasStroke

bool skottie::TextPropertyValue::fHasStroke = false

◆ fLineBreak

Shaper::LinebreakPolicy skottie::TextPropertyValue::fLineBreak = Shaper::LinebreakPolicy::kExplicit

◆ fLineHeight

float skottie::TextPropertyValue::fLineHeight = 0

◆ fLineShift

float skottie::TextPropertyValue::fLineShift = 0

◆ fLocale

SkString skottie::TextPropertyValue::fLocale

◆ fMaxLines

size_t skottie::TextPropertyValue::fMaxLines = 0

◆ fMaxTextSize

float skottie::TextPropertyValue::fMaxTextSize = std::numeric_limits<float>::max()

◆ fMinTextSize

float skottie::TextPropertyValue::fMinTextSize = 0

◆ fPaintOrder

TextPaintOrder skottie::TextPropertyValue::fPaintOrder = TextPaintOrder::kFillStroke

◆ fResize

Shaper::ResizePolicy skottie::TextPropertyValue::fResize = Shaper::ResizePolicy::kNone

◆ fStrokeColor

SkColor skottie::TextPropertyValue::fStrokeColor = SK_ColorTRANSPARENT

◆ fStrokeJoin

SkPaint::Join skottie::TextPropertyValue::fStrokeJoin = SkPaint::Join::kMiter_Join

◆ fStrokeWidth

float skottie::TextPropertyValue::fStrokeWidth = 0

◆ fText

SkString skottie::TextPropertyValue::fText

◆ fTextSize

float skottie::TextPropertyValue::fTextSize = 0

◆ fTypeface

sk_sp<SkTypeface> skottie::TextPropertyValue::fTypeface

◆ fVAlign

Shaper::VAlign skottie::TextPropertyValue::fVAlign = Shaper::VAlign::kTop

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