Drawable, Interactive, Measurable, Selectablepublic class BoundedTextLine extends BoundedImage
BoundedShape.BoundedShapeLoaderInteractiveShape.InteractiveShapeLoadercolor, x, yimageABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHedgeColor, height, pixelSized, shape, shapeClass, theta, width, xoff, yoff| Constructor | Description |
|---|---|
BoundedTextLine(java.lang.String text,
double x,
double y) |
Constructor BoundedTextLine
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g) |
Draws the image.
|
java.awt.Font |
getFont() |
Gets the font.
|
void |
setFont(java.awt.Font font) |
Sets the font text font.
|
getX, getY, isEnabled, setEnabledimageUpdatecreateBoundedArrow, createBoundedCenteredArrow, createBoundedCircle, createBoundedEllipse, createBoundedImage, createBoundedRectangle, createBoundedTriangle, findInteractive, getLoader, getPreferredCursor, isHeightDrag, isInside, isRotateDrag, isSelected, isWidthDrag, isXYDrag, setHeightDrag, setRotateDrag, setSelected, setWidthDrag, setXYDrag, toggleSelected, toStringgetX, getY, isEnabled, setEnabled, setX, setXY, setYcontains, createArrow, createCenteredArrow, createCircle, createEllipse, createImage, createRectangle, createSquare, createTextLine, createTriangle, getHeight, getShape, getWidth, getXMax, getXMin, getYMax, getYMin, isMeasured, setHeight, setMarkerColor, setMeasured, setOffset, setPixelSized, setTheta, setWidth, setX, setXY, setY, tranform, transformgetXMax, getXMin, getYMax, getYMin, isMeasuredpublic BoundedTextLine(java.lang.String text,
double x,
double y)
text - x - y - public void setFont(java.awt.Font font)
font - Fontpublic java.awt.Font getFont()
public void draw(DrawingPanel panel, java.awt.Graphics g)
draw in interface Drawabledraw in class BoundedImagepanel - the world in which the arrow is viewedg - the graphics context upon which to draw