ParagraphEntry class
//////////////////////////////////////////////////////////////////////////
A wrapper around a ui.Paragraph object that represents a piece of
laid-out text.
This class handles the creation, layout, and disposal of the underlying
Paragraph object.
Constructors
- ParagraphEntry(String text, UiPaint paint, UiTextPaint textPaint, double maxTextwidth)
-
Creates a new ParagraphEntry by building and laying out a
ui.Paragraph.
Properties
Methods
-
dispose(
) → void -
Disposes the underlying
ui.Paragraphto release its resources. -
getHeight(
) → double - Returns the height of the laid-out paragraph.
-
getWidth(
) → double - Returns the width of the laid-out paragraph.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited