java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.MfLogPen
All Implemented Interfaces:
WmfObject

public class MfLogPen extends Object implements WmfObject
A Windows metafile logical pen object.
  • Constructor Details

    • MfLogPen

      public MfLogPen()
      The default pen for a new DC.
  • Method Details

    • getStyle

      public int getStyle()
      Return one of the PS_ styles.
    • setStyle

      public void setStyle(int style)
    • getWidth

      public int getWidth()
      Return width.
    • setWidth

      public void setWidth(int width)
    • getColor

      public Color getColor()
      Return color of the current pen, or null.
    • setColor

      public void setColor(Color color)
    • isSimpleStyle

      public boolean isSimpleStyle()
      True if not a dashed or dotted style.
    • isVisible

      public boolean isVisible()
    • getType

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

      public Stroke getStroke()
    • toString

      public String toString()
      Overrides:
      toString in class Object