Class MultiShapeGlyph2D
java.lang.Object
|
+--Glyph
|
+--Glyph2D
|
+--MultiShapeGlyph2D
- public class MultiShapeGlyph2D
- extends Glyph2D
MultiShapeGlyph2D implements a two-dimensional glyph with four
properties: width, height, color and shape.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
setBaseColor
public void setBaseColor(java.awt.Color c)
setBaseColor
public void setBaseColor(java.awt.Color c,
boolean isMax)
setShape
public void setShape(int shape)
getShape
public int getShape()
draw
public void draw(int x,
int y,
java.awt.Graphics g)
- Description copied from class: Glyph2D
- Draws the glyph on the given Graphics surface in a given location.
- Overrides:
- draw in class Glyph2D
setSelected
public void setSelected(boolean isSel)
setPropertyUsed
public void setPropertyUsed(int property,
boolean mapped)
getPropertyUsed
public boolean getPropertyUsed(int property)