OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION
Constructor and Description |
---|
MfLogFont()
Construct from a metafile record.
|
Modifier and Type | Method and Description |
---|---|
Font |
createFont() |
String |
getFace()
The name of the font face.
|
double |
getRotation() |
int |
getSize()
The size, in logical units.
|
int |
getStyle()
The font style.
|
int |
getType() |
boolean |
isStrikeOut() |
boolean |
isUnderline()
True if this is an underlined font.
|
void |
setFace(String face) |
void |
setRotation(double d) |
void |
setSize(int size) |
void |
setStrikeOut(boolean b) |
void |
setStyle(int style) |
void |
setUnderline(boolean underline) |
public void setFace(String face)
public String getFace()
public void setSize(int size)
public int getSize()
public int getStyle()
public void setStyle(int style)
public boolean isUnderline()
public void setUnderline(boolean underline)
public boolean isStrikeOut()
public void setStrikeOut(boolean b)
public Font createFont()
public double getRotation()
public void setRotation(double d)