Package org.jzy3d.chart2d
Class AxisBox2d.RotatedTextBitmapRenderer
java.lang.Object
org.jzy3d.plot3d.text.AbstractTextRenderer
org.jzy3d.plot3d.text.renderers.TextRenderer
org.jzy3d.chart2d.AxisBox2d.RotatedTextBitmapRenderer
- All Implemented Interfaces:
ITextRenderer
- Enclosing class:
AxisBox2d
-
Field Summary
Fields inherited from class org.jzy3d.plot3d.text.renderers.TextRenderer
layout, LOGGER, positionColor, positionWidth, showPosition, useGlutBitmap
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 TypeMethodDescriptiondrawText
(IPainter painter, Font font, String text, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) Draw a string at the specified position and return the 3d volume occupied by the string according to the current Camera configuration.void
rotateText
(IPainter painter, Coord3d posReal) Methods inherited from class org.jzy3d.plot3d.text.renderers.TextRenderer
computeTextBounds, getPositionColor, getPositionWidth, isShowPosition, isUseGlutBitmap, setPositionColor, setPositionWidth, setShowPosition, setUseGlutBitmap, to3D
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
-
Constructor Details
-
RotatedTextBitmapRenderer
public RotatedTextBitmapRenderer()
-
-
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) Description copied from class:TextRenderer
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
- Overrides:
drawText
in classTextRenderer
-
rotateText
-