Package org.jzy3d.plot3d.text.renderers
Class TextBitmapRenderer
java.lang.Object
org.jzy3d.plot3d.text.AbstractTextRenderer
org.jzy3d.plot3d.text.renderers.TextBitmapRenderer
- All Implemented Interfaces:
ITextRenderer
Deprecated.
Use instead
TextRenderer
.
Keep this text renderer for compatibility issues, e.g. there are issues when using shaders with text renderer (depth peeling, volume viz, etc)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TextLayout
Deprecated.protected static org.apache.logging.log4j.Logger
Deprecated.Fields inherited from class org.jzy3d.plot3d.text.AbstractTextRenderer
NO_ROTATION, NO_SCENE_OFFSET, NO_SCREEN_OFFSET, spaceTransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BoundingBox3d
computeTextBounds
(IPainter painter, Font font, Coord3d posScreenShifted, float strlen) Deprecated.drawText
(IPainter painter, Font font, String text, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) Deprecated.Draw a string at the specified position and return the 3d volume occupied by the string according to the current Camera configuration.protected Coord3d
Deprecated.Convert a 2D screen position to 3D world coordinateMethods inherited from class org.jzy3d.plot3d.text.AbstractTextRenderer
drawText, drawText, drawText, drawText, drawText, drawText, getSpaceTransformer, setSpaceTransformer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jzy3d.plot3d.text.ITextRenderer
drawText, drawText, drawText, drawText, drawText, drawText, getSpaceTransformer, setSpaceTransformer
-
Field Details
-
LOGGER
protected static org.apache.logging.log4j.Logger LOGGERDeprecated. -
layout
Deprecated.
-
-
Constructor Details
-
TextBitmapRenderer
public TextBitmapRenderer()Deprecated.
-
-
Method Details
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String text, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) Deprecated.Draw a string at the specified position and return the 3d volume occupied by the string according to the current Camera configuration.- Specified by:
drawText
in interfaceITextRenderer
-
to3D
Deprecated.Convert a 2D screen position to 3D world coordinate -
computeTextBounds
protected BoundingBox3d computeTextBounds(IPainter painter, Font font, Coord3d posScreenShifted, float strlen) Deprecated.
-