org.jfree.pixie.wmf
Class MfLogFont

java.lang.Object
  |
  +--org.jfree.pixie.wmf.MfLogFont
All Implemented Interfaces:
WmfObject

public class MfLogFont
extends java.lang.Object
implements WmfObject

A Windows metafile logical font object.


Field Summary
 
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
 java.awt.Font createFont()
           
 java.lang.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(java.lang.String face)
           
 void setRotation(double d)
           
 void setSize(int size)
           
 void setStrikeOut(boolean b)
           
 void setStyle(int style)
           
 void setUnderline(boolean underline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MfLogFont

public MfLogFont()
Construct from a metafile record.

Method Detail

setFace

public void setFace(java.lang.String face)

getFace

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


setSize

public void setSize(int size)

getSize

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


getStyle

public int getStyle()
The font style.


setStyle

public void setStyle(int style)

isUnderline

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


setUnderline

public void setUnderline(boolean underline)

isStrikeOut

public boolean isStrikeOut()

setStrikeOut

public void setStrikeOut(boolean b)

createFont

public java.awt.Font createFont()

getType

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

getRotation

public double getRotation()

setRotation

public void setRotation(double d)