public class UFont
extends java.lang.Object
Constructor and Description |
---|
UFont(java.lang.String fontFamily,
int fontStyle,
int fontSize) |
Modifier and Type | Method and Description |
---|---|
UFont |
bold() |
static UFont |
byDefault(int size) |
static UFont |
courier(int size) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFamily(UFontContext context) |
int |
getSize() |
double |
getSize2D() |
int |
getStyle() |
java.awt.Font |
getUnderlayingFont() |
UFont |
goTikz(int delta) |
int |
hashCode() |
boolean |
isBold() |
boolean |
isItalic() |
UFont |
italic() |
static UFont |
monospaced(int size) |
static UFont |
sansSerif(int size) |
static UFont |
serif(int size) |
java.lang.String |
toString() |
java.lang.String |
toStringDebug() |
UFont |
withSize(float size) |
UFont |
withStyle(int style) |
public java.lang.String toStringDebug()
public static UFont serif(int size)
public static UFont sansSerif(int size)
public static UFont courier(int size)
public static UFont byDefault(int size)
public UFont goTikz(int delta)
public static UFont monospaced(int size)
public final java.awt.Font getUnderlayingFont()
public UFont withSize(float size)
public UFont withStyle(int style)
public UFont bold()
public UFont italic()
public int getStyle()
public int getSize()
public double getSize2D()
public boolean isBold()
public boolean isItalic()
public java.lang.String getFamily(UFontContext context)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object