public class DrawableTextTexture extends PickableTexture
Modifier and Type | Field and Description |
---|---|
protected static Font |
DEFAULT_FONT |
protected static String |
DEFAULT_FONT_NAME |
protected static int |
DEFAULT_FONT_SIZE |
protected static int |
DEFAULT_FONT_STYLE |
id
alpha, axisValue, filter, mapping, orientation, planePosition, resource, texMatMix, textureScale
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
protected static BufferedImageTexture |
makeImage(String text,
Font font) |
protected static List<Coord2d> |
makeMapping(Coord2d dim) |
equals, getPickingId, hashCode, setPickingId, toString
after, applyGeometryTransform, before, debugMapping, draw, getBounds, getColorFilter, getDefaultTextureMapping, getManualTextureMapping, getManualTextureMapping, getPlanePosition, getResource, getTextureScale, initBoundsWithMapping, initBoundsWithResources, setAlphaFactor, setColorFilter, setPlanePosition, setResource, setTextureScale, updateBounds
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, vertexGL2, vertexGLES2
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setTransform
draw
protected static String DEFAULT_FONT_NAME
protected static int DEFAULT_FONT_SIZE
protected static int DEFAULT_FONT_STYLE
protected static Font DEFAULT_FONT
public DrawableTextTexture(String text, int fontSize, Coord2d position, Coord2d dim)
public DrawableTextTexture(SharedTexture resource)
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, Color color)
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords)
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue)
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation)
public DrawableTextTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter)
Copyright © 2016. All rights reserved.