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 public class TextBitmapRenderer extends AbstractTextRenderer implements ITextRenderer
Deprecated.Use insteadTextRenderer
. 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
Fields Modifier and Type Field Description protected TextLayout
layout
Deprecated.protected static org.apache.logging.log4j.Logger
LOGGER
Deprecated.-
Fields inherited from class org.jzy3d.plot3d.text.AbstractTextRenderer
NO_ROTATION, NO_SCENE_OFFSET, NO_SCREEN_OFFSET, spaceTransformer
-
-
Constructor Summary
Constructors Constructor Description TextBitmapRenderer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected BoundingBox3d
computeTextBounds(IPainter painter, Font font, Coord3d posScreenShifted, float strlen)
Deprecated.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.protected Coord3d
to3D(IPainter painter, Coord3d screen)
Deprecated.Convert a 2D screen position to 3D world coordinate-
Methods 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 Detail
-
LOGGER
protected static org.apache.logging.log4j.Logger LOGGER
Deprecated.
-
layout
protected TextLayout layout
Deprecated.
-
-
Method Detail
-
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
protected Coord3d to3D(IPainter painter, Coord3d screen)
Deprecated.Convert a 2D screen position to 3D world coordinate
-
computeTextBounds
protected BoundingBox3d computeTextBounds(IPainter painter, Font font, Coord3d posScreenShifted, float strlen)
Deprecated.
-
-