Example usage for Java android.text StaticLayout fields, constructors, methods, implement or subclass
The text is from its open source code.
void | draw(Canvas c) Draw this Layout on the specified Canvas. |
int | getHeight() Return the total height of this layout. |
int | getLineBottom(int line) Return the vertical position of the bottom of the specified line. |
int | getLineCount() |
int | getLineEnd(int line) Return the text offset after the last character on the specified line. |
int | getLineForVertical(int vertical) |
float | getLineLeft(int line) Get the leftmost position that should be exposed for horizontal scrolling on the specified line. |
int | getLineStart(int line) |
float | getLineWidth(int line) Gets the unsigned horizontal extent of the specified line, including leading margin indent and trailing whitespace. |
int | getOffsetForHorizontal(int line, float horiz) Get the character offset on the specified line whose position is closest to the specified horizontal position. |
TextPaint | getPaint() Return the base Paint properties for this layout. |
void | getSelectionPath(int start, int end, Path dest) Fills in the specified Path with a representation of a highlight between the specified offsets. |
CharSequence | getText() Return the text that is displayed by this Layout. |
int | getWidth() Return the width of this layout. |