Build 1.0_r1(from source)

android.text
Class Styled

java.lang.Object
  extended by android.text.Styled

 class Styled
extends Object


Constructor Summary
Styled()
           
 
Method Summary
static float drawText(Canvas canvas, CharSequence text, int start, int end, int dir, boolean reverse, float x, int top, int y, int bottom, TextPaint paint, TextPaint workPaint, boolean needwid)
           
static int getTextWidths(TextPaint realPaint, TextPaint paint, Spanned text, int start, int end, float[] widths, Paint.FontMetricsInt fm)
           
static float measureText(TextPaint paint, TextPaint workPaint, CharSequence text, int start, int end, Paint.FontMetricsInt fm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Styled

Styled()
Method Detail

getTextWidths

public static int getTextWidths(TextPaint realPaint,
                                TextPaint paint,
                                Spanned text,
                                int start,
                                int end,
                                float[] widths,
                                Paint.FontMetricsInt fm)

drawText

public static float drawText(Canvas canvas,
                             CharSequence text,
                             int start,
                             int end,
                             int dir,
                             boolean reverse,
                             float x,
                             int top,
                             int y,
                             int bottom,
                             TextPaint paint,
                             TextPaint workPaint,
                             boolean needwid)

measureText

public static float measureText(TextPaint paint,
                                TextPaint workPaint,
                                CharSequence text,
                                int start,
                                int end,
                                Paint.FontMetricsInt fm)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature