public class FontSpecification
extends java.lang.Object
Constructor and Description |
---|
FontSpecification(java.awt.Font font) |
FontSpecification(int style,
int size) |
FontSpecification(java.lang.String name,
int style,
int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.awt.Font otherFont) |
boolean |
equals(FontSpecification otherFS) |
java.awt.Font |
getFont() |
int |
getHeight()
Returns the height of this font.
|
java.lang.String |
getName() |
int |
getSize() |
int |
getStyle() |
int |
hashCode() |
public FontSpecification(int style, int size)
public FontSpecification(java.lang.String name, int style, int size)
public FontSpecification(java.awt.Font font)
public java.lang.String getName()
public int getStyle()
public int getSize()
public boolean equals(FontSpecification otherFS)
public boolean equals(java.awt.Font otherFont)
public int hashCode()
hashCode
in class java.lang.Object
public java.awt.Font getFont()
public int getHeight()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de