Class MfLogPen

  • All Implemented Interfaces:
    WmfObject

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

      • MfLogPen

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

      • 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()
      • getStroke

        public Stroke getStroke()