Class TextRenderer
java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.canvas.TextRenderer
- All Implemented Interfaces:
Lifecycle
,Printable
,ComponentFinder
,EntityFinder
A component for rendering text on the canvas.
-
Field Summary
FieldsModifier and TypeFieldDescriptionResult of size calculation -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.prozilla.pine.core.component.Component
equals, getCamera, getChildWithTag, getComponent, getComponentInParent, getComponentInParent, getComponents, getComponentsInChildren, getEntity, getInput, getLogger, getParentWithTag, getRenderer, getTimer, getTracker, getTransform, getWindow, getWorld, hashCode, setActive, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
text
-
color
-
font
-
size
Result of size calculation
-
-
Constructor Details
-
TextRenderer
public TextRenderer() -
TextRenderer
-
TextRenderer
-
-
Method Details