@@ -636,6 +636,7 @@ public void drawString(String str, int x, int y) {
636636 * @param character - the character to be drawn
637637 * @param x the x coordinate of the baseline of the text
638638 * @param y the y coordinate of the baseline of the text
639+ * @deprecated use drawString instead, this method is inefficient
639640 */
640641 public void drawChar (char character , int x , int y ) {
641642 drawString ("" + character , x , y );
@@ -650,6 +651,7 @@ public void drawChar(char character, int x, int y) {
650651 * @param length the number of characters to be drawn
651652 * @param x the x coordinate of the baseline of the text
652653 * @param y the y coordinate of the baseline of the text
654+ * @deprecated use drawString instead, this method is inefficient
653655 */
654656 public void drawChars (char [] data , int offset , int length , int x , int y ) {
655657 if (!(current instanceof CustomFont )) {
@@ -1089,9 +1091,9 @@ void drawImageArea(Image img, int x, int y, int imageX, int imageY, int imageWid
10891091 * Draws a closed polygon defined by arrays of x and y coordinates.
10901092 * Each pair of (x, y) coordinates defines a point.
10911093 *
1092- * @param xPoints - a an array of x coordinates.
1093- * @param yPoints - a an array of y coordinates.
1094- * @param nPoints - a the total number of points.
1094+ * @param xPoints - an array of x coordinates.
1095+ * @param yPoints - an array of y coordinates.
1096+ * @param nPoints - the total number of points.
10951097 */
10961098 public void drawPolygon (int [] xPoints , int [] yPoints , int nPoints ) {
10971099 int [] cX = xPoints ;
@@ -1149,7 +1151,7 @@ public int concatenateAlpha(int a) {
11491151 }
11501152
11511153 /**
1152- * Returnes the alpha as a value between 0-255 (0 - 0xff) where 255 is completely opaque
1154+ * Returns the alpha as a value between 0-255 (0 - 0xff) where 255 is completely opaque
11531155 * and 0 is completely transparent
11541156 *
11551157 * @return the alpha value
@@ -1169,59 +1171,59 @@ public void setAlpha(int a) {
11691171 }
11701172
11711173 /**
1172- * Returns true if anti-aliasing for standard rendering operations is supported,
1173- * notice that text anti-aliasing is a separate attribute.
1174+ * Returns true if antialiasing for standard rendering operations is supported,
1175+ * notice that text antialiasing is a separate attribute.
11741176 *
1175- * @return true if anti aliasing is supported
1177+ * @return true if antialiasing is supported
11761178 */
11771179 public boolean isAntiAliasingSupported () {
11781180 return impl .isAntiAliasingSupported (nativeGraphics );
11791181 }
11801182
11811183 /**
1182- * Returns true if anti-aliasing for text is supported,
1183- * notice that text anti-aliasing is a separate attribute from standard anti-alisaing.
1184+ * Returns true if antialiasing for text is supported,
1185+ * notice that text antialiasing is a separate attribute from standard anti-alisaing.
11841186 *
1185- * @return true if text anti aliasing is supported
1187+ * @return true if text antialiasing is supported
11861188 */
11871189 public boolean isAntiAliasedTextSupported () {
11881190 return impl .isAntiAliasedTextSupported (nativeGraphics );
11891191 }
11901192
11911193
11921194 /**
1193- * Returns true if anti-aliasing for standard rendering operations is turned on.
1195+ * Returns true if antialiasing for standard rendering operations is turned on.
11941196 *
1195- * @return true if anti aliasing is active
1197+ * @return true if antialiasing is active
11961198 */
11971199 public boolean isAntiAliased () {
11981200 return impl .isAntiAliased (nativeGraphics );
11991201 }
12001202
12011203 /**
1202- * Set whether anti-aliasing for standard rendering operations is turned on.
1204+ * Set whether antialiasing for standard rendering operations is turned on.
12031205 *
1204- * @param a true if anti aliasing is active
1206+ * @param a true if antialiasing is active
12051207 */
12061208 public void setAntiAliased (boolean a ) {
12071209 impl .setAntiAliased (nativeGraphics , a );
12081210 }
12091211
12101212 /**
1211- * Indicates whether anti-aliasing for text is active,
1212- * notice that text anti-aliasing is a separate attribute from standard anti-alisaing.
1213+ * Indicates whether antialiasing for text is active,
1214+ * notice that text antialiasing is a separate attribute from standard anti-alisaing.
12131215 *
1214- * @return true if text anti aliasing is supported
1216+ * @return true if text antialiasing is supported
12151217 */
12161218 public boolean isAntiAliasedText () {
12171219 return impl .isAntiAliasedText (nativeGraphics );
12181220 }
12191221
12201222 /**
1221- * Set whether anti-aliasing for text is active,
1222- * notice that text anti-aliasing is a separate attribute from standard anti-alisaing.
1223+ * Set whether antialiasing for text is active,
1224+ * notice that text antialiasing is a separate attribute from standard anti-alisaing.
12231225 *
1224- * @param a true if text anti aliasing is supported
1226+ * @param a true if text antialiasing is supported
12251227 */
12261228 public void setAntiAliasedText (boolean a ) {
12271229 impl .setAntiAliasedText (nativeGraphics , a );
0 commit comments