Flutter Engine
txt::Paragraph::TextBox Struct Reference

#include <paragraph.h>

Public Member Functions

 TextBox (SkRect r, TextDirection d)
 

Public Attributes

SkRect rect
 
TextDirection direction
 

Detailed Description

Definition at line 79 of file paragraph.h.

Constructor & Destructor Documentation

◆ TextBox()

txt::Paragraph::TextBox::TextBox ( SkRect  r,
TextDirection  d 
)
inline

Definition at line 83 of file paragraph.h.

83 : rect(r), direction(d) {}
TextDirection direction
Definition: paragraph.h:81

Member Data Documentation

◆ direction

TextDirection txt::Paragraph::TextBox::direction

Definition at line 81 of file paragraph.h.

Referenced by flutter::EncodeTextBoxes(), and txt::ParagraphTxt::GetRectsForRange().

◆ rect

SkRect txt::Paragraph::TextBox::rect

Definition at line 80 of file paragraph.h.

Referenced by flutter::EncodeTextBoxes(), and txt::ParagraphTxt::GetRectsForRange().


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