Flutter Impeller
IMPELLER_HPP_NAMESPACE::ParagraphStyle Class Referencefinal

#include <impeller.hpp>

Inheritance diagram for IMPELLER_HPP_NAMESPACE::ParagraphStyle:
IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >

Public Member Functions

 ParagraphStyle ()
 
ParagraphStyleSetBackground (const Paint &paint)
 
ParagraphStyleSetFontFamily (const char *family_name)
 
ParagraphStyleSetFontSize (float size)
 
ParagraphStyleSetFontStyle (ImpellerFontStyle style)
 
ParagraphStyleSetFontWeight (ImpellerFontWeight weight)
 
ParagraphStyleSetForeground (const Paint &paint)
 
ParagraphStyleSetHeight (float height)
 
ParagraphStyleSetLocale (const char *locale)
 
ParagraphStyleSetMaxLines (uint32_t max_lines)
 
ParagraphStyleSetTextAlignment (ImpellerTextAlignment align)
 
ParagraphStyleSetTextDirection (ImpellerTextDirection direction)
 
- Public Member Functions inherited from IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >
 Object ()=default
 
 Object (ImpellerParagraphStyle object)
 
 Object (ImpellerParagraphStyle object, AdoptTag)
 
 Object (Object &&other)
 
 Object (const Object &other)
 
 ~Object ()
 
Objectoperator= (Object &&other)
 
Objectoperator= (const Object &other)
 
ImpellerParagraphStyle Get () const
 
 operator bool () const
 

Detailed Description

See also
ImpellerParagraphStyle

Definition at line 1017 of file impeller.hpp.

Constructor & Destructor Documentation

◆ ParagraphStyle()

IMPELLER_HPP_NAMESPACE::ParagraphStyle::ParagraphStyle ( )
inline

Member Function Documentation

◆ SetBackground()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetBackground ( const Paint paint)
inline

◆ SetFontFamily()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetFontFamily ( const char *  family_name)
inline
See also
ImpellerParagraphStyleSetFontFamily

Definition at line 1035 of file impeller.hpp.

1035  {
1036  gGlobalProcTable.ImpellerParagraphStyleSetFontFamily(Get(), family_name);
1037  return *this;
1038  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetFontSize()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetFontSize ( float  size)
inline
See also
ImpellerParagraphStyleSetFontSize

Definition at line 1043 of file impeller.hpp.

1043  {
1044  gGlobalProcTable.ImpellerParagraphStyleSetFontSize(Get(), size);
1045  return *this;
1046  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetFontStyle()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetFontStyle ( ImpellerFontStyle  style)
inline
See also
ImpellerParagraphStyleSetFontStyle

Definition at line 1051 of file impeller.hpp.

1051  {
1052  gGlobalProcTable.ImpellerParagraphStyleSetFontStyle(Get(), style);
1053  return *this;
1054  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetFontWeight()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetFontWeight ( ImpellerFontWeight  weight)
inline
See also
ImpellerParagraphStyleSetFontWeight

Definition at line 1059 of file impeller.hpp.

1059  {
1060  gGlobalProcTable.ImpellerParagraphStyleSetFontWeight(Get(), weight);
1061  return *this;
1062  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetForeground()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetForeground ( const Paint paint)
inline

◆ SetHeight()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetHeight ( float  height)
inline
See also
ImpellerParagraphStyleSetHeight

Definition at line 1075 of file impeller.hpp.

1075  {
1076  gGlobalProcTable.ImpellerParagraphStyleSetHeight(Get(), height);
1077  return *this;
1078  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetLocale()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetLocale ( const char *  locale)
inline
See also
ImpellerParagraphStyleSetLocale

Definition at line 1083 of file impeller.hpp.

1083  {
1084  gGlobalProcTable.ImpellerParagraphStyleSetLocale(Get(), locale);
1085  return *this;
1086  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetMaxLines()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetMaxLines ( uint32_t  max_lines)
inline
See also
ImpellerParagraphStyleSetMaxLines

Definition at line 1091 of file impeller.hpp.

1091  {
1092  gGlobalProcTable.ImpellerParagraphStyleSetMaxLines(Get(), max_lines);
1093  return *this;
1094  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetTextAlignment()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetTextAlignment ( ImpellerTextAlignment  align)
inline
See also
ImpellerParagraphStyleSetTextAlignment

Definition at line 1099 of file impeller.hpp.

1099  {
1100  gGlobalProcTable.ImpellerParagraphStyleSetTextAlignment(Get(), align);
1101  return *this;
1102  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetTextDirection()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetTextDirection ( ImpellerTextDirection  direction)
inline
See also
ImpellerParagraphStyleSetTextDirection

Definition at line 1107 of file impeller.hpp.

1107  {
1108  gGlobalProcTable.ImpellerParagraphStyleSetTextDirection(Get(), direction);
1109  return *this;
1110  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.


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