FileDocCategorySizeDatePackage
TextPaint.javaAPI DocAndroid 1.5 API1457Wed May 06 22:41:56 BST 2009android.text

TextPaint

public class TextPaint extends android.graphics.Paint
TextPaint is an extension of Paint that leaves room for some extra data used during text measuring and drawing.

Fields Summary
public int
bgColor
public int
baselineShift
public int
linkColor
public int[]
drawableState
Constructors Summary
public TextPaint()

        super();
    
public TextPaint(int flags)

        super(flags);
    
public TextPaint(android.graphics.Paint p)

        super(p);
    
Methods Summary
public voidset(android.text.TextPaint tp)
Copy the fields from tp into this TextPaint, including the fields inherited from Paint.

        super.set(tp);

        bgColor = tp.bgColor;
        baselineShift = tp.baselineShift;
        linkColor = tp.linkColor;
        drawableState = tp.drawableState;