| Flutter Impeller |

Public Member Functions | List of all members
IMPELLER_HPP_NAMESPACE::ParagraphStyle Class Referencefinal

`#include <impeller.hpp>`

Inheritance diagram for IMPELLER_HPP_NAMESPACE::ParagraphStyle:

## Public Member Functions
| ParagraphStyle ()
ParagraphStyle & | SetBackground (const Paint &paint)
ParagraphStyle & | SetFontFamily (const char *family_name)
ParagraphStyle & | SetFontSize (float size)
ParagraphStyle & | SetFontStyle (ImpellerFontStyle style)
ParagraphStyle & | SetFontWeight (ImpellerFontWeight weight)
ParagraphStyle & | SetForeground (const Paint &paint)
ParagraphStyle & | SetHeight (float height)
ParagraphStyle & | SetLocale (const char *locale)
ParagraphStyle & | SetMaxLines (uint32_t max_lines)
ParagraphStyle & | SetTextAlignment (ImpellerTextAlignment align)
ParagraphStyle & | SetTextDirection (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 ()
Object & | operator= (Object &&other)
Object & | operator= (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

Definition at line 1020 of file impeller.hpp.

1021 : Object(gGlobalProcTable.ImpellerParagraphStyleNew(), AdoptTag::kAdopt) {
1022 }
IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Object
Object()=default
IMPELLER_HPP_NAMESPACE::AdoptTag::kAdopt
@ kAdopt
IMPELLER_HPP_NAMESPACE::gGlobalProcTable
ProcTable gGlobalProcTable
Definition: playground_test.cc:25

References IMPELLER_HPP_NAMESPACE::kAdopt.

## Member Function Documentation

## ◆ SetBackground()

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

See also
  ImpellerParagraphStyleSetBackground

Definition at line 1027 of file impeller.hpp.

1027 {
1028 gGlobalProcTable.ImpellerParagraphStyleSetBackground(Get(), paint.Get());
1029 return *this;
1030 }
IMPELLER_HPP_NAMESPACE::Object< ImpellerParagraphStyle, ImpellerParagraphStyleTraits >::Get
ImpellerParagraphStyle Get() const
Definition: impeller.hpp:269

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), 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 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

See also
  ImpellerParagraphStyleSetForeground

Definition at line 1067 of file impeller.hpp.

1067 {
1068 gGlobalProcTable.ImpellerParagraphStyleSetForeground(Get(), paint.Get());
1069 return *this;
1070 }

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

## ◆ 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:

- impeller/toolkit/interop/impeller.hpp