CHARSET_ANSI
public static final int CHARSET_ANSI
CHARSET_DEFAULT
public static final int CHARSET_DEFAULT
CHARSET_OEM
public static final int CHARSET_OEM
CHARSET_SHIFTJIS
public static final int CHARSET_SHIFTJIS
CHARSET_SYMBOL
public static final int CHARSET_SYMBOL
getCharset
public int getCharset()
getClipPrecision
public int getClipPrecision()
getEscapement
public int getEscapement()
getFontFace
public String getFontFace()
getFunction
public int getFunction()
Reads the function identifier. Every record type is identified by a function number
corresponding to one of the Windows GDI functions used.
- getFunction in interface MfCmd
getHeight
public int getHeight()
getInstance
public MfCmd getInstance()
Creates a empty unintialized copy of this command implementation.
- getInstance in interface MfCmd
- a new instance of the command.
getOrientation
public int getOrientation()
getOutputPrecision
public int getOutputPrecision()
getPitchAndFamily
public int getPitchAndFamily()
getQuality
public int getQuality()
getRecord
public MfRecord getRecord()
Creates a new record based on the data stored in the MfCommand.
- getRecord in interface MfCmd
getScaledHeight
public int getScaledHeight()
getScaledWidth
public int getScaledWidth()
getWeight
public int getWeight()
getWidth
public int getWidth()
isItalic
public boolean isItalic()
isStrikeout
public boolean isStrikeout()
isUnderline
public boolean isUnderline()
replay
public void replay(WmfFile file)
Replays the command on the given WmfFile.
- replay in interface MfCmd
scaleXChanged
protected void scaleXChanged()
A callback function to inform the object, that the x scale has changed and the
internal coordinate values have to be adjusted.
- scaleXChanged in interface MfCmd
scaleYChanged
protected void scaleYChanged()
A callback function to inform the object, that the y scale has changed and the
internal coordinate values have to be adjusted.
- scaleYChanged in interface MfCmd
setCharset
public void setCharset(int charset)
setClipPrecision
public void setClipPrecision(int clipprecision)
setEscapement
public void setEscapement(int escapement)
setFontFace
public void setFontFace(String facename)
setHeight
public void setHeight(int height)
setItalic
public void setItalic(boolean italic)
setOrientation
public void setOrientation(int orientation)
setOutputPrecision
public void setOutputPrecision(int outprecision)
setPitchAndFamily
public void setPitchAndFamily(int pitchAndFamily)
setQuality
public void setQuality(int quality)
setStrikeout
public void setStrikeout(boolean so)
setUnderline
public void setUnderline(boolean ul)
setWeight
public void setWeight(int weight)
setWidth
public void setWidth(int width)
toString
public String toString()