org.jfree.pixie.wmf

Class MfLogFont

Implemented Interfaces:
WmfObject

public class MfLogFont
extends java.lang.Object
implements WmfObject

A Windows metafile logical font object.

Fields inherited from interface org.jfree.pixie.wmf.WmfObject

OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION

Constructor Summary

MfLogFont()
Construct from a metafile record.

Method Summary

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)

Constructor Details

MfLogFont

public MfLogFont()
Construct from a metafile record.

Method Details

createFont

public Font createFont()

getFace

public String getFace()
The name of the font face.

getRotation

public double getRotation()

getSize

public int getSize()
The size, in logical units.

getStyle

public int getStyle()
The font style.

getType

public int getType()
Specified by:
getType in interface WmfObject

isStrikeOut

public boolean isStrikeOut()

isUnderline

public boolean isUnderline()
True if this is an underlined font.

setFace

public void setFace(String face)

setRotation

public void setRotation(double d)

setSize

public void setSize(int size)

setStrikeOut

public void setStrikeOut(boolean b)

setStyle

public void setStyle(int style)

setUnderline

public void setUnderline(boolean underline)