public class DerivedFontAttributes
extends java.lang.Object
| Constructor and Description |
|---|
DerivedFontAttributes(java.awt.Font font,
int style,
float size)
Constructs new information about derived font.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.awt.Font |
getFont()
Returns original font.
|
float |
getSize()
Returns new font size.
|
int |
getStyle()
Returns new font style.
|
int |
hashCode() |
public DerivedFontAttributes(java.awt.Font font,
int style,
float size)
font - original fontstyle - new font stylesize - new font sizepublic java.awt.Font getFont()
public int getStyle()
public float getSize()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object