Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.awt.font.ImageGraphicAttribute

java.lang.Object
    |
    +----java.awt.font.GraphicAttribute
            |
            +----java.awt.font.ImageGraphicAttribute

public final class ImageGraphicAttribute
extends GraphicAttribute

Fields inherited from class java.awt.font.GraphicAttribute
 BOTTOM_ALIGNMENT, CENTER_BASELINE, HANGING_BASELINE, ROMAN_BASELINE, TOP_ALIGNMENT
 

Constructor Summary
 ImageGraphicAttribute(Image image, int alignment)
 
 ImageGraphicAttribute(Image image, int alignment, float originX, float originY)
 
 

Method Summary
void  draw(Graphics2D graphics, float x, float y)
 
boolean  equals(Object rhs)
 
boolean  equals(ImageGraphicAttribute rhs)
 
float  getAdvance()
 
float  getAscent()
 
Rectangle2D  getBounds()
 
float  getDescent()
 
int  hashCode()
 
 
Methods inherited from class java.awt.font.GraphicAttribute
 draw, getAdvance, getAlignment, getAscent, getBounds, getDescent, getJustificationInfo
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageGraphicAttribute

public ImageGraphicAttribute(Image image,
                             int alignment)

ImageGraphicAttribute

public ImageGraphicAttribute(Image image,
                             int alignment,
                             float originX,
                             float originY)
Method Detail

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

getBounds

public Rectangle2D getBounds()
Overrides:
getBounds in class GraphicAttribute

draw

public void draw(Graphics2D graphics,
                 float x,
                 float y)
Overrides:
draw 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(ImageGraphicAttribute rhs)

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

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.