Java android.text StaticLayout fields, constructors, methods, implement or subclass

Example usage for Java android.text StaticLayout fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.text StaticLayout.

The text is from its open source code.

Constructor

Method

voiddraw(Canvas c)
Draw this Layout on the specified Canvas.
intgetHeight()
Return the total height of this layout.
intgetLineBottom(int line)
Return the vertical position of the bottom of the specified line.
intgetLineCount()
intgetLineEnd(int line)
Return the text offset after the last character on the specified line.
intgetLineForVertical(int vertical)
floatgetLineLeft(int line)
Get the leftmost position that should be exposed for horizontal scrolling on the specified line.
intgetLineStart(int line)
floatgetLineWidth(int line)
Gets the unsigned horizontal extent of the specified line, including leading margin indent and trailing whitespace.
intgetOffsetForHorizontal(int line, float horiz)
Get the character offset on the specified line whose position is closest to the specified horizontal position.
TextPaintgetPaint()
Return the base Paint properties for this layout.
voidgetSelectionPath(int start, int end, Path dest)
Fills in the specified Path with a representation of a highlight between the specified offsets.
CharSequencegetText()
Return the text that is displayed by this Layout.
intgetWidth()
Return the width of this layout.