Package org.jzy3d.plot3d.text
Class AbstractTextRenderer
- java.lang.Object
-
- org.jzy3d.plot3d.text.AbstractTextRenderer
-
- All Implemented Interfaces:
ITextRenderer
- Direct Known Subclasses:
JOGLTextRenderer2d
,JOGLTextRenderer3d
,TextBillboardRenderer
,TextBitmapRenderer
,TextRenderer
public abstract class AbstractTextRenderer extends Object implements ITextRenderer
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
NO_ROTATION
protected static Coord3d
NO_SCENE_OFFSET
protected static Coord2d
NO_SCREEN_OFFSET
protected SpaceTransformer
spaceTransformer
-
Constructor Summary
Constructors Constructor Description AbstractTextRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBox3d
drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color)
BoundingBox3d
drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset)
BoundingBox3d
drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, TextAlign align, Color color, Coord2d screenOffset)
BoundingBox3d
drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color)
BoundingBox3d
drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset)
BoundingBox3d
drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color, Coord3d sceneOffset)
SpaceTransformer
getSpaceTransformer()
void
setSpaceTransformer(SpaceTransformer transformer)
-
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
-
-
-
-
Field Detail
-
NO_ROTATION
protected static final int NO_ROTATION
- See Also:
- Constant Field Values
-
NO_SCREEN_OFFSET
protected static final Coord2d NO_SCREEN_OFFSET
-
NO_SCENE_OFFSET
protected static final Coord3d NO_SCENE_OFFSET
-
spaceTransformer
protected SpaceTransformer spaceTransformer
-
-
Method Detail
-
getSpaceTransformer
public SpaceTransformer getSpaceTransformer()
- Specified by:
getSpaceTransformer
in interfaceITextRenderer
-
setSpaceTransformer
public void setSpaceTransformer(SpaceTransformer transformer)
- Specified by:
setSpaceTransformer
in interfaceITextRenderer
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, TextAlign align, Color color, Coord2d screenOffset)
- Specified by:
drawText
in interfaceITextRenderer
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color)
- Specified by:
drawText
in interfaceITextRenderer
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color)
- Specified by:
drawText
in interfaceITextRenderer
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset)
- Specified by:
drawText
in interfaceITextRenderer
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset)
- Specified by:
drawText
in interfaceITextRenderer
-
drawText
public BoundingBox3d drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color, Coord3d sceneOffset)
- Specified by:
drawText
in interfaceITextRenderer
-
-