org.jzy3d.plot3d.text.drawable
Class DrawableTextTexture

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.textured.DrawableTexture
          extended by org.jzy3d.plot3d.primitives.pickable.PickableTexture
              extended by org.jzy3d.plot3d.text.drawable.DrawableTextTexture
All Implemented Interfaces:
IGLRenderer, ISortableDraw, Pickable, ITranslucent

public class DrawableTextTexture
extends PickableTexture


Field Summary
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.DrawableTexture
alpha, axisValue, filter, mapping, orientation, planePosition, resource, texMatMix, textureScale
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
bbox, displayed, hasListeners, legend, legendDisplayed, listeners, transform
 
Constructor Summary
DrawableTextTexture(SharedTexture resource)
           
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation)
           
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue)
           
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, Color color)
           
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords)
           
DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter)
           
DrawableTextTexture(String text, Coord2d position, Coord2d dim)
           
DrawableTextTexture(String text, int fontSize, Coord2d position, Coord2d dim)
           
 
Method Summary
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.DrawableTexture
after, before, debugMapping, draw, getBounds, getColorFilter, getDefaultTextureMapping, getManualTextureMapping, getManualTextureMapping, getPlanePosition, getResource, getTextureScale, initBoundsWithMapping, initBoundsWithResources, setAlphaFactor, setColorFilter, setPlanePosition, setResource, setTextureScale
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, call, call, callWithAlphaFactor, dispose, fireDrawableChanged, fireDrawableChanged, getBarycentre, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jzy3d.plot3d.primitives.pickable.Pickable
setTransform
 
Methods inherited from interface org.jzy3d.plot3d.primitives.IGLRenderer
draw
 

Field Detail

DEFAULT_FONT_NAME

protected static String DEFAULT_FONT_NAME

DEFAULT_FONT_SIZE

protected static int DEFAULT_FONT_SIZE

DEFAULT_FONT_STYLE

protected static int DEFAULT_FONT_STYLE

DEFAULT_FONT

protected static Font DEFAULT_FONT
Constructor Detail

DrawableTextTexture

public DrawableTextTexture(String text,
                           Coord2d position,
                           Coord2d dim)

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)
Method Detail

makeImage

protected static BufferedImageTexture makeImage(String text,
                                                Font font)

makeMapping

protected static List<Coord2d> makeMapping(Coord2d dim)