Class MetaBrush


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

      • MetaBrush

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

      • init

        public void init​(InputMeta in)
                  throws java.io.IOException
        Initializes this MetaBrush object.
        Parameters:
        in - the InputMeta
        Throws:
        java.io.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