Class MetaBrush

java.lang.Object
com.itextpdf.kernel.pdf.canvas.wmf.MetaObject
com.itextpdf.kernel.pdf.canvas.wmf.MetaBrush

public class MetaBrush extends MetaObject
A Brush bject that holds information about the style, the hatch and the color of the brush.
  • Field Details

  • Constructor Details

    • MetaBrush

      public MetaBrush()
      Creates a MetaBrush object.
  • Method Details

    • init

      public void init (InputMeta in) throws IOException
      Initializes this MetaBrush object.
      Parameters:
      in - the InputMeta
      Throws:
      IOException - an IOException
    • getStyle

      public int getStyle()
      Get the style of the MetaBrush.
      Returns:
      style of the brush
    • getHatch

      public int getHatch()
      Get the hatch pattern of the MetaBrush
      Returns:
      hatch of the brush
    • getColor

      public Color getColor()
      Get the color of the MetaBrush.
      Returns:
      color of the brush