Package | Description |
---|---|
com.codingame.gameengine.module.entities |
Modifier and Type | Method and Description |
---|---|
Text |
GraphicEntityModule.createText(java.lang.String string)
Creates a new Text entity, its graphical counterpart will be created on the frame currently being computed.
|
Text |
Text.setFillColor(int fillColor)
Sets the color of the fill of this
Text as an RGB integer. |
Text |
Text.setFillColor(int fillColor,
Curve curve)
Sets the color of the fill of this
Text as an RGB integer. |
Text |
Text.setFontFamily(java.lang.String fontFamily)
Sets the name of the font of this
Text . |
Text |
Text.setFontSize(int fontSize)
Sets the size of the font of this
Text in px. |
Text |
Text.setFontSize(int fontSize,
Curve curve)
Sets the size of the font of this
Text in px. |
Text |
Text.setStrokeColor(int strokeColor)
Sets the color of the stroke of this
Text as an RGB integer. |
Text |
Text.setStrokeColor(int strokeColor,
Curve curve)
Sets the color of the stroke of this
Text as an RGB integer. |
Text |
Text.setStrokeThickness(double strokeThickness)
Returns the thickness of the stroke of this
Text in pixels. |
Text |
Text.setStrokeThickness(double strokeThickness,
Curve curve)
Returns the thickness of the stroke of this
Text in pixels. |
Text |
Text.setText(java.lang.String text)
Sets the string for this
Text to display. |