Package org.jzy3d.plot3d.text.drawable
Class DrawableTextTexture
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.Drawable
-
- org.jzy3d.plot3d.primitives.DrawableImage
-
- org.jzy3d.plot3d.primitives.textured.NativeDrawableImage
-
- org.jzy3d.plot3d.primitives.pickable.PickableTexture
-
- org.jzy3d.plot3d.text.drawable.DrawableTextTexture
-
- All Implemented Interfaces:
IGLRenderer
,ISortableDraw
,Pickable
,ITranslucent
public class DrawableTextTexture extends PickableTexture
-
-
Field Summary
Fields Modifier and Type Field Description protected static Font
DEFAULT_FONT
protected static String
DEFAULT_FONT_NAME
protected static int
DEFAULT_FONT_SIZE
protected static int
DEFAULT_FONT_STYLE
-
Fields inherited from class org.jzy3d.plot3d.primitives.pickable.PickableTexture
id
-
Fields inherited from class org.jzy3d.plot3d.primitives.textured.NativeDrawableImage
alpha, axisValue, filter, mapping, orientation, planePosition, resource, texMatMix, textureScale
-
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
-
Constructor Summary
Constructors Constructor Description DrawableTextTexture(String text, int fontSize, Coord2d position, Coord2d dim)
DrawableTextTexture(String text, Coord2d position, Coord2d dim)
DrawableTextTexture(SharedTexture resource)
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation)
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue)
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords)
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter)
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, Color color)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static BufferedImageTexture
makeImage(String text, Font font)
protected static List<Coord2d>
makeMapping(Coord2d dim)
-
Methods inherited from class org.jzy3d.plot3d.primitives.pickable.PickableTexture
equals, getPickingId, hashCode, setPickingId, toString
-
Methods inherited from class org.jzy3d.plot3d.primitives.textured.NativeDrawableImage
after, applyGeometryTransform, before, debugMapping, draw, getBounds, getColorFilter, getDefaultTextureMapping, getManualTextureMapping, getManualTextureMapping, getPlanePosition, getResource, getTextureScale, initBoundsWithMapping, initBoundsWithResources, setAlphaFactor, setColorFilter, setPlanePosition, setResource, setTextureScale, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doDrawBoundsIfDisplayed, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jzy3d.plot3d.primitives.IGLRenderer
draw
-
Methods inherited from interface org.jzy3d.plot3d.primitives.pickable.Pickable
setTransform
-
-
-
-
Constructor Detail
-
DrawableTextTexture
public DrawableTextTexture(String text, int fontSize, Coord2d position, Coord2d dim)
-
DrawableTextTexture
public DrawableTextTexture(SharedTexture resource)
-
DrawableTextTexture
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, Color color)
-
DrawableTextTexture
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords)
-
DrawableTextTexture
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue)
-
DrawableTextTexture
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation)
-
DrawableTextTexture
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter)
-
-