Flutter Impeller
IMPELLER_HPP_NAMESPACE::ParagraphStyle Class Reference

#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)
 
ParagraphStyleSetEllipsis (const char *ellipsis)
 
ParagraphStyleSetMaxLines (uint32_t max_lines)
 
ParagraphStyleSetTextAlignment (ImpellerTextAlignment align)
 
ParagraphStyleSetTextDirection (ImpellerTextDirection direction)
 
ParagraphStyleSetTextDecoration (const ImpellerTextDecoration &decoration)
 
- 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 1096 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

◆ SetEllipsis()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetEllipsis ( const char *  ellipsis)
inline
See also
ImpellerParagraphStyleSetEllipsis

Definition at line 1170 of file impeller.hpp.

1170  {
1171  gGlobalProcTable.ImpellerParagraphStyleSetEllipsis(Get(), ellipsis);
1172  return *this;
1173  }

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

◆ SetFontFamily()

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

Definition at line 1114 of file impeller.hpp.

1114  {
1115  gGlobalProcTable.ImpellerParagraphStyleSetFontFamily(Get(), family_name);
1116  return *this;
1117  }

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 1122 of file impeller.hpp.

1122  {
1123  gGlobalProcTable.ImpellerParagraphStyleSetFontSize(Get(), size);
1124  return *this;
1125  }

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 1130 of file impeller.hpp.

1130  {
1131  gGlobalProcTable.ImpellerParagraphStyleSetFontStyle(Get(), style);
1132  return *this;
1133  }

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 1138 of file impeller.hpp.

1138  {
1139  gGlobalProcTable.ImpellerParagraphStyleSetFontWeight(Get(), weight);
1140  return *this;
1141  }

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 1154 of file impeller.hpp.

1154  {
1155  gGlobalProcTable.ImpellerParagraphStyleSetHeight(Get(), height);
1156  return *this;
1157  }

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 1162 of file impeller.hpp.

1162  {
1163  gGlobalProcTable.ImpellerParagraphStyleSetLocale(Get(), locale);
1164  return *this;
1165  }

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 1178 of file impeller.hpp.

1178  {
1179  gGlobalProcTable.ImpellerParagraphStyleSetMaxLines(Get(), max_lines);
1180  return *this;
1181  }

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 1186 of file impeller.hpp.

1186  {
1187  gGlobalProcTable.ImpellerParagraphStyleSetTextAlignment(Get(), align);
1188  return *this;
1189  }

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

◆ SetTextDecoration()

ParagraphStyle& IMPELLER_HPP_NAMESPACE::ParagraphStyle::SetTextDecoration ( const ImpellerTextDecoration decoration)
inline
See also
ImpellerParagraphStyleSetTextDecoration

Definition at line 1202 of file impeller.hpp.

1202  {
1203  gGlobalProcTable.ImpellerParagraphStyleSetTextDecoration(Get(),
1204  &decoration);
1205  return *this;
1206  }

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 1194 of file impeller.hpp.

1194  {
1195  gGlobalProcTable.ImpellerParagraphStyleSetTextDirection(Get(), direction);
1196  return *this;
1197  }

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


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