Class MfLogBrush

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

public class MfLogBrush extends Object implements WmfObject
A Windows metafile logical brush object.
  • Field Details

  • Constructor Details

    • MfLogBrush

      public MfLogBrush()
      The default brush for a new DC.
  • Method Details

    • isVisible

      public boolean isVisible()
    • getType

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

      public int getStyle()
      The style of this brush.
    • setStyle

      public void setStyle(int style)
    • getColor

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

      public void setColor(Color color)
    • getHatchedStyle

      public int getHatchedStyle()
      The hatch style of this brush.
    • setHatchedStyle

      public void setHatchedStyle(int hstyle)
    • getPaint

      public Paint getPaint()
    • transform

      public int[] transform(boolean[] data)
    • setBackgroundColor

      public void setBackgroundColor(Color bg)
    • getBackgroundColor

      public Color getBackgroundColor()
    • setBitmap

      public void setBitmap(BufferedImage bitmap)
    • getBitmap

      public BufferedImage getBitmap()