Class MfLogBrush

  • All Implemented Interfaces:
    WmfObject

    public class MfLogBrush
    extends Object
    implements WmfObject
    A Windows metafile logical brush object.
    • Constructor Detail

      • MfLogBrush

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

      • isVisible

        public boolean isVisible()
      • 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()