Class Paint
java.lang.Object
com.codename1.charts.compat.Paint
Deprecated.
DO NOT USE. Compatibility class used internally by the Charts API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated.static classDeprecated.static enumDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.intgetColor()Deprecated.intDeprecated.intDeprecated.floatDeprecated.floatDeprecated.getStyle()Deprecated.intDeprecated.voidgetTextBounds(String string, int start, int count, Rectangle2D rect) Deprecated.floatDeprecated.voidgetTextWidths(String text, float[] widths) Deprecated.Deprecated.floatmeasureText(char[] chars, int start, int count) Deprecated.floatmeasureText(String newText) Deprecated.voidsetAntiAlias(boolean antialiasing) Deprecated.voidsetColor(int color) Deprecated.voidsetStrokeCap(int cap) Deprecated.voidsetStrokeJoin(int join) Deprecated.voidsetStrokeMiter(float miter) Deprecated.voidsetStrokeWidth(float i) Deprecated.voidsetStyle(Paint.Style style) Deprecated.voidsetTextAlign(int align) Deprecated.voidsetTextSize(float size) Deprecated.voidsetTypeface(Font textTypeface) Deprecated.toString()Deprecated.Returns a string representation of the object.
-
Constructor Details
-
Paint
public Paint()Deprecated.
-
-
Method Details
-
getTextWidths
Deprecated. -
breakText
Deprecated. -
getTextBounds
Deprecated. -
measureText
Deprecated. -
measureText
public float measureText(char[] chars, int start, int count) Deprecated. -
setAntiAlias
public void setAntiAlias(boolean antialiasing) Deprecated. -
getTypeface
Deprecated. -
setTypeface
Deprecated. -
getStrokeCap
public int getStrokeCap()Deprecated. -
setStrokeCap
public void setStrokeCap(int cap) Deprecated. -
getStrokeJoin
public int getStrokeJoin()Deprecated. -
setStrokeJoin
public void setStrokeJoin(int join) Deprecated. -
getStrokeMiter
public float getStrokeMiter()Deprecated. -
setStrokeMiter
public void setStrokeMiter(float miter) Deprecated. -
getStyle
Deprecated. -
setStyle
Deprecated. -
getStrokeWidth
public float getStrokeWidth()Deprecated. -
setStrokeWidth
public void setStrokeWidth(float i) Deprecated. -
getColor
public int getColor()Deprecated. -
setColor
public void setColor(int color) Deprecated. -
getTextAlign
public int getTextAlign()Deprecated. -
setTextAlign
public void setTextAlign(int align) Deprecated. -
getTextSize
public float getTextSize()Deprecated. -
setTextSize
public void setTextSize(float size) Deprecated. -
toString
Deprecated.Description copied from class:ObjectReturns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of: getClass().getName() + '@' + Integer.toHexString(hashCode())
-
com.codename1.ui.chartpackage instead.