Uses of Class
com.codingame.gameengine.module.entities.Text
Packages that use Text
-
Uses of Text in com.codingame.gameengine.module.entities
Methods in com.codingame.gameengine.module.entities that return TextModifier and TypeMethodDescriptionGraphicEntityModule.createText()
Creates a new Text entity, its graphical counterpart will be created on the frame currently being computed.GraphicEntityModule.createText
(String string) Creates a new Text entity, its graphical counterpart will be created on the frame currently being computed.Text.setFillColor
(int fillColor) Sets the color of the fill of thisText
as an RGB integer.Text.setFillColor
(int fillColor, Curve curve) Sets the color of the fill of thisText
as an RGB integer.Text.setFontFamily
(String fontFamily) Sets the name of the font of thisText
.Text.setFontWeight
(Text.FontWeight weight) Sets the weight of the font of thisText
.Text.setStrokeColor
(int strokeColor) Sets the color of the stroke of thisText
as an RGB integer.Text.setStrokeColor
(int strokeColor, Curve curve) Sets the color of the stroke of thisText
as an RGB integer.Text.setStrokeThickness
(double strokeThickness) Returns the thickness of the stroke of thisText
in pixels.Text.setStrokeThickness
(double strokeThickness, Curve curve) Returns the thickness of the stroke of thisText
in pixels.