Class java.awt.font.ShapeGraphicAttribute
java.lang.Object
|
+----java.awt.font.GraphicAttribute
|
+----java.awt.font.ShapeGraphicAttribute
- public final class ShapeGraphicAttribute
- extends GraphicAttribute
Field Summary
|
static boolean
|
FILL
|
static boolean
|
STROKE
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STROKE
public static final boolean STROKE
FILL
public static final boolean FILL
ShapeGraphicAttribute
public ShapeGraphicAttribute(Shape shape,
int alignment,
boolean stroke)
getAscent
public float getAscent()
- Overrides:
- getAscent in class GraphicAttribute
getDescent
public float getDescent()
- Overrides:
- getDescent in class GraphicAttribute
getAdvance
public float getAdvance()
- Overrides:
- getAdvance in class GraphicAttribute
draw
public void draw(Graphics2D graphics,
float x,
float y)
- Overrides:
- draw in class GraphicAttribute
getBounds
public Rectangle2D getBounds()
- Overrides:
- getBounds in class GraphicAttribute
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object rhs)
- Overrides:
- equals in class Object
equals
public boolean equals(ShapeGraphicAttribute rhs)
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.