-
public class TextDrawable extends ShapeDrawable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTextDrawable.Builderpublic interfaceTextDrawable.IConfigBuilderpublic interfaceTextDrawable.IBuilderpublic interfaceTextDrawable.IShapeBuilder
-
Method Summary
Modifier and Type Method Description voiddraw(Canvas canvas)voidsetAlpha(int alpha)voidsetColorFilter(ColorFilter cf)intgetOpacity()intgetIntrinsicWidth()intgetIntrinsicHeight()static TextDrawable.IShapeBuilderbuilder()-
Methods inherited from class android.graphics.drawable.ShapeDrawable
applyTheme, draw, getAlpha, getChangingConfigurations, getConstantState, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getOutline, getPadding, getPaint, getShaderFactory, getShape, hasFocusStateSpecified, inflate, isStateful, mutate, setAlpha, setColorFilter, setDither, setIntrinsicHeight, setIntrinsicWidth, setPadding, setShaderFactory, setShape, setTintBlendMode, setTintList -
Methods inherited from class android.graphics.drawable.Drawable
canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getColorFilter, getCurrent, getDirtyBounds, getHotspotBounds, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOpticalInsets, getState, getTransparentRegion, invalidateSelf, isAutoMirrored, isFilterBitmap, isProjected, isVisible, jumpToCurrentState, onLayoutDirectionChanged, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setCallback, setChangingConfigurations, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintMode, setVisible, unscheduleSelf -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setAlpha
void setAlpha(int alpha)
-
setColorFilter
void setColorFilter(ColorFilter cf)
-
getOpacity
int getOpacity()
-
getIntrinsicWidth
int getIntrinsicWidth()
-
getIntrinsicHeight
int getIntrinsicHeight()
-
builder
static TextDrawable.IShapeBuilder builder()
-
-
-
-