Build 1.0_r1(from source)

android.text
Class TextPaint

java.lang.Object
  extended by android.graphics.Paint
      extended by android.text.TextPaint

public class TextPaint
extends Paint

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


Nested Class Summary
 
Nested classes/interfaces inherited from class android.graphics.Paint
Paint.Align, Paint.Cap, Paint.FontMetrics, Paint.FontMetricsInt, Paint.Join, Paint.Style
 
Field Summary
 int baselineShift
           
 int bgColor
           
 int[] drawableState
           
 int linkColor
           
 
Fields inherited from class android.graphics.Paint
ANTI_ALIAS_FLAG, DEV_KERN_TEXT_FLAG, DITHER_FLAG, FAKE_BOLD_TEXT_FLAG, FILTER_BITMAP_FLAG, LINEAR_TEXT_FLAG, STRIKE_THRU_TEXT_FLAG, SUBPIXEL_TEXT_FLAG, UNDERLINE_TEXT_FLAG
 
Constructor Summary
TextPaint()
           
TextPaint(int flags)
           
TextPaint(Paint p)
           
 
Method Summary
 void set(TextPaint tp)
          Copy the fields from tp into this TextPaint, including the fields inherited from Paint.
 
Methods inherited from class android.graphics.Paint
ascent, breakText, breakText, breakText, clearShadowLayer, descent, finalize, getAlpha, getColor, getColorFilter, getFillPath, getFlags, getFontMetrics, getFontMetrics, getFontMetricsInt, getFontMetricsInt, getFontSpacing, getMaskFilter, getPathEffect, getRasterizer, getShader, getStrokeCap, getStrokeJoin, getStrokeMiter, getStrokeWidth, getStyle, getTextAlign, getTextBounds, getTextBounds, getTextPath, getTextPath, getTextScaleX, getTextSize, getTextSkewX, getTextWidths, getTextWidths, getTextWidths, getTextWidths, getTypeface, getXfermode, isAntiAlias, isDither, isFakeBoldText, isFilterBitmap, isLinearText, isStrikeThruText, isSubpixelText, isUnderlineText, measureText, measureText, measureText, measureText, reset, set, setAlpha, setAntiAlias, setARGB, setColor, setColorFilter, setDither, setFakeBoldText, setFilterBitmap, setFlags, setLinearText, setMaskFilter, setPathEffect, setRasterizer, setShader, setShadowLayer, setStrikeThruText, setStrokeCap, setStrokeJoin, setStrokeMiter, setStrokeWidth, setStyle, setSubpixelText, setTextAlign, setTextScaleX, setTextSize, setTextSkewX, setTypeface, setUnderlineText, setXfermode
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bgColor

public int bgColor

baselineShift

public int baselineShift

linkColor

public int linkColor

drawableState

public int[] drawableState
Constructor Detail

TextPaint

public TextPaint()

TextPaint

public TextPaint(int flags)

TextPaint

public TextPaint(Paint p)
Method Detail

set

public void set(TextPaint tp)
Copy the fields from tp into this TextPaint, including the fields inherited from Paint.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature