public class Comment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TEXT_Size_Big |
static int |
TEXT_Size_Normal |
static int |
TEXT_Size_Small |
static int |
TEXT_Style_Bold |
static int |
TEXT_Style_Italic |
static int |
TEXT_Style_Plain |
Constructor and Description |
---|
Comment(java.lang.String text,
int style,
int size,
java.awt.Color color,
boolean sizeExt)
A comment to paint in a animation element
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getProperties() |
boolean |
getSizeExt() |
java.lang.String |
getText() |
java.awt.Color |
getTextColor() |
int |
getTextSize() |
int |
getTextStyle() |
public static final int TEXT_Style_Plain
public static final int TEXT_Style_Bold
public static final int TEXT_Style_Italic
public static final int TEXT_Size_Normal
public static final int TEXT_Size_Small
public static final int TEXT_Size_Big
public Comment(java.lang.String text, int style, int size, java.awt.Color color, boolean sizeExt)
text
- Text of commentstyle
- Style of comment, look at Comment.TEXT_Style_size
- Size of comment, look at Comment.TEXT_Size_color
- Color of commentsizeExt
- Size of animation element will be extended by the size need for comment