public class

TextPaint

extends Paint
java.lang.Object
   ↳ android.graphics.Paint
     ↳ android.text.TextPaint

Class Overview

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

Summary

[Expand]
Inherited Constants
From class android.graphics.Paint
Fields
public int baselineShift
public int bgColor
public int[] drawableState
public int linkColor
Public Constructors
TextPaint()
TextPaint(int flags)
TextPaint(Paint p)
Public Methods
void set(TextPaint tp)
Copy the fields from tp into this TextPaint, including the fields inherited from Paint.
[Expand]
Inherited Methods
From class android.graphics.Paint
From class java.lang.Object

Fields

public int baselineShift

public int bgColor

public int[] drawableState

public int linkColor

Public Constructors

public TextPaint ()

public TextPaint (int flags)

public TextPaint (Paint p)

Public Methods

public void set (TextPaint tp)

Copy the fields from tp into this TextPaint, including the fields inherited from Paint.