|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.minueto.image.MinuetoImage
org.minueto.image.MinuetoText
public class MinuetoText
The MinuetoText class allows you to build an image of a string of text.
You can draw that image on the screen or over another image.
Since MinuetoText extends MinuetoImage, all the important image
manipulation fonctionnality (such as draw, drop, scale, etc) are available.
MinuetoImage| Constructor Summary | |
|---|---|
MinuetoText(java.lang.String text,
MinuetoFont font,
MinuetoColor color)
Builds a MinuetoText image of a string of the specified
color and font. |
|
MinuetoText(java.lang.String text,
MinuetoFont font,
MinuetoColor color,
boolean antiAliased)
Builds a MinuetoText image of a string of the specified
color and font. |
|
| Method Summary | |
|---|---|
void |
setUpText(java.lang.String text,
MinuetoFont font,
MinuetoColor color,
boolean antiAliased)
Builds the actual MinuetoText objects. |
| Methods inherited from class org.minueto.image.MinuetoImage |
|---|
clear, clear, clone, crop, draw, drawCircle, drawLine, drawPolygon, drawRectangle, flip, getHeight, getPixel, getWidth, mask, rotate, save, scale, setPixel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinuetoText(java.lang.String text,
MinuetoFont font,
MinuetoColor color)
MinuetoText image of a string of the specified
color and font.
text - String denoting the text to be used to create the image.color - MinuetoColor denoting the color of the string.font - MinuetoFont describing the font used to draw the string.
public MinuetoText(java.lang.String text,
MinuetoFont font,
MinuetoColor color,
boolean antiAliased)
MinuetoText image of a string of the specified
color and font. The string can also anti-aliased. Anti-aliasing tries to
improve the visibility of a font by introducing variation in the colors
used to draw the text. This gives great result for large fonts, but should
be avoided with small fonts.
text - String denoting the text to be used to create the image.color - MinuetoColor denoting the color of the string.font - MinuetoFont describing the font used to draw the string.antiAliased - boolean indicating if the text should be anti-aliased.| Method Detail |
|---|
public void setUpText(java.lang.String text,
MinuetoFont font,
MinuetoColor color,
boolean antiAliased)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||