Class MfLogFont
java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.MfLogFont
- All Implemented Interfaces:
WmfObject
A Windows metafile logical font object.
-
Field Summary
Fields inherited from interface org.pentaho.reporting.libraries.pixie.wmf.WmfObject
OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFace()The name of the font face.doubleintgetSize()The size, in logical units.intgetStyle()The font style.intgetType()booleanbooleanTrue if this is an underlined font.voidvoidsetRotation(double d) voidsetSize(int size) voidsetStrikeOut(boolean b) voidsetStyle(int style) voidsetUnderline(boolean underline)
-
Constructor Details
-
MfLogFont
public MfLogFont()Construct from a metafile record.
-
-
Method Details
-
setFace
-
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
-
getType
public int getType() -
getRotation
public double getRotation() -
setRotation
public void setRotation(double d)
-