public class Glyph extends Glyphish
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.AffineTransform |
_transform |
static boolean |
debug |
static java.awt.Color |
HIGHLIGHT |
static int |
HIGHLIGHT_FACTOR |
Constructor and Description |
---|
Glyph() |
Glyph(java.awt.Color b,
java.awt.Color f) |
Glyph(Glyph clone) |
Glyph(java.awt.Shape s) |
Glyph(java.awt.Shape s,
java.awt.Color b,
java.awt.Color f) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBorder() |
java.awt.geom.Rectangle2D |
getBounds() |
java.awt.Color |
getFill() |
boolean |
getHighlighted() |
java.awt.Shape |
getShape() |
java.awt.Stroke |
getStroke() |
boolean |
inside(java.awt.geom.Point2D p) |
boolean |
intersects(java.awt.geom.Rectangle2D rect) |
void |
paint(java.awt.Graphics2D g2d) |
void |
setBorder(java.awt.Color border) |
void |
setColor(java.awt.Color c) |
void |
setFill(java.awt.Color fill) |
void |
setGlyph(java.awt.Shape s,
java.awt.Color b,
java.awt.Color f) |
void |
setHighlighted(boolean v) |
void |
setShape(java.awt.Shape shape) |
void |
setStroke(java.awt.Stroke stroke) |
java.lang.String |
toString() |
void |
transform(java.awt.geom.AffineTransform a) |
keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, rotate, rotate, scale, setKeyAction, setMouseAction, shear, translate, unsetMouseAction
_getAttribute, _setAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsByte, getAttributeAsChar, getAttributeAsClosure, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInt, getAttributeAsShort, getAttributeAsString, getKeys, getStaticAttribute, getStaticKeys, isAttribute, isStaticAttribute, removeAllAttributes, removeAllStaticAttributes, removeAttribute, removeStaticAttribute, setAttribute, setStaticAttribute, showAttributes, showAttributes
public static boolean debug
public static java.awt.Color HIGHLIGHT
public static int HIGHLIGHT_FACTOR
protected final java.awt.geom.AffineTransform _transform
public Glyph()
public Glyph(java.awt.Shape s)
public Glyph(java.awt.Color b, java.awt.Color f)
public Glyph(java.awt.Shape s, java.awt.Color b, java.awt.Color f)
public Glyph(Glyph clone)
public void setGlyph(java.awt.Shape s, java.awt.Color b, java.awt.Color f)
public boolean getHighlighted()
public void setHighlighted(boolean v)
public java.awt.Color getFill()
public void setFill(java.awt.Color fill)
public java.awt.Color getBorder()
public void setBorder(java.awt.Color border)
public void setColor(java.awt.Color c)
public java.awt.Shape getShape()
public void setShape(java.awt.Shape shape)
public java.awt.Stroke getStroke()
public void setStroke(java.awt.Stroke stroke)
public boolean intersects(java.awt.geom.Rectangle2D rect)
intersects
in class Glyphish
public void transform(java.awt.geom.AffineTransform a)
public java.lang.String toString()
toString
in class java.lang.Object