android.text.style
public
abstract
class
android.text.style.DynamicDrawableSpan
Known Direct Subclasses
Summary
Public Constructors
Public Methods
|
|
|
|
|
void |
draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) |
abstract |
|
|
|
|
Drawable |
getDrawable() |
|
|
|
|
|
int |
getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) |
abstract |
|
|
|
|
void |
draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) |
abstract |
|
|
|
|
int |
getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) |
|
|
|
|
|
void |
updateDrawState(TextPaint ds) |
|
|
|
|
|
void |
updateMeasureState(TextPaint p) |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
DynamicDrawableSpan()
Public Methods
public
void
draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
public
abstract
Drawable
getDrawable()
Your subclass must implement this method to provide the bitmap
to be drawn. The dimensions of the bitmap must be the same
from each call to the next.