class MetaBrush extends MetaObject {

    public static final int BS_SOLID = 0;
    public static final int BS_NULL = 1;
    public static final int BS_HATCHED = 2;
    public static final int BS_PATTERN = 3;
    public static final int BS_DIBPATTERN = 5;
    public static final int HS_HORIZONTAL = 0;
    public static final int HS_VERTICAL = 1;
    public static final int HS_FDIAGONAL = 2;
    public static final int HS_BDIAGONAL = 3;
    public static final int HS_CROSS = 4;
    public static final int HS_DIAGCROSS = 5;

    int style = BS_SOLID;
    int hatch;
    Color color = Color.white;

    public MetaBrush() {
        type = META_BRUSH;
    }

    public void init(InputMeta in) throws IOException {<FILL_FUNCTION_BODY>}

    public int getStyle() {
        return style;
    }

    public int getHatch() {
        return hatch;
    }

    public Color getColor() {
        return color;
    }
}

        style = in.readWord();
        color = in.readColor();
        hatch = in.readWord();
    
<methods>public void <init>() ,public void <init>(int) ,public int getType() <variables>public static final int META_BRUSH,public static final int META_FONT,public static final int META_NOT_SUPPORTED,public static final int META_PEN,public int type