public class Paint extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Paint.Align
Deprecated.
|
static class |
Paint.Cap
Deprecated.
|
static class |
Paint.Join
Deprecated.
|
static class |
Paint.Style
Deprecated.
|
Constructor and Description |
---|
Paint()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
breakText(String text,
boolean measureForwards,
float maxWidth,
float[] measuredWidth)
Deprecated.
|
int |
getColor()
Deprecated.
|
int |
getStrokeCap()
Deprecated.
|
int |
getStrokeJoin()
Deprecated.
|
float |
getStrokeMiter()
Deprecated.
|
float |
getStrokeWidth()
Deprecated.
|
Paint.Style |
getStyle()
Deprecated.
|
int |
getTextAlign()
Deprecated.
|
void |
getTextBounds(String string,
int start,
int count,
Rectangle2D rect)
Deprecated.
|
float |
getTextSize()
Deprecated.
|
void |
getTextWidths(String text,
float[] widths)
Deprecated.
|
Font |
getTypeface()
Deprecated.
|
float |
measureText(char[] chars,
int start,
int count)
Deprecated.
|
float |
measureText(String newText)
Deprecated.
|
void |
setAntiAlias(boolean antialiasing)
Deprecated.
|
void |
setColor(int color)
Deprecated.
|
void |
setStrokeCap(int cap)
Deprecated.
|
void |
setStrokeJoin(int join)
Deprecated.
|
void |
setStrokeMiter(float miter)
Deprecated.
|
void |
setStrokeWidth(float i)
Deprecated.
|
void |
setStyle(Paint.Style style)
Deprecated.
|
void |
setTextAlign(int align)
Deprecated.
|
void |
setTextSize(float size)
Deprecated.
|
void |
setTypeface(Font textTypeface)
Deprecated.
|
String |
toString()
Deprecated.
Returns a string representation of the object.
|
public void getTextWidths(String text, float[] widths)
public int breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth)
public void getTextBounds(String string, int start, int count, Rectangle2D rect)
public float measureText(String newText)
public float measureText(char[] chars, int start, int count)
public void setAntiAlias(boolean antialiasing)
public Font getTypeface()
public void setTypeface(Font textTypeface)
public int getStrokeCap()
public int getStrokeJoin()
public float getStrokeMiter()
public Paint.Style getStyle()
public void setStrokeCap(int cap)
public void setStrokeJoin(int join)
public void setStrokeMiter(float miter)
public float getStrokeWidth()
public void setStrokeWidth(float i)
public int getColor()
public void setColor(int color)
public void setStyle(Paint.Style style)
public void setTextAlign(int align)
public int getTextAlign()
public void setTextSize(float size)
public float getTextSize()
public String toString()
Object