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

806  {
807  gGlobalProcTable.ImpellerParagraphStyleSetFontFamily(Get(), family_name);
808  return *this;
809  }

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

814  {
815  gGlobalProcTable.ImpellerParagraphStyleSetFontSize(Get(), size);
816  return *this;
817  }

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

822  {
823  gGlobalProcTable.ImpellerParagraphStyleSetFontStyle(Get(), style);
824  return *this;
825  }

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

830  {
831  gGlobalProcTable.ImpellerParagraphStyleSetFontWeight(Get(), weight);
832  return *this;
833  }

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

846  {
847  gGlobalProcTable.ImpellerParagraphStyleSetHeight(Get(), height);
848  return *this;
849  }

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

854  {
855  gGlobalProcTable.ImpellerParagraphStyleSetLocale(Get(), locale);
856  return *this;
857  }

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

862  {
863  gGlobalProcTable.ImpellerParagraphStyleSetMaxLines(Get(), max_lines);
864  return *this;
865  }

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

870  {
871  gGlobalProcTable.ImpellerParagraphStyleSetTextAlignment(Get(), align);
872  return *this;
873  }

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

878  {
879  gGlobalProcTable.ImpellerParagraphStyleSetTextDirection(Get(), direction);
880  return *this;
881  }

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


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