class MetaPen extends MetaObject {

    public static final int PS_SOLID = 0;
    public static final int PS_DASH = 1;
    public static final int PS_DOT = 2;
    public static final int PS_DASHDOT = 3;
    public static final int PS_DASHDOTDOT = 4;
    public static final int PS_NULL = 5;
    public static final int PS_INSIDEFRAME = 6;

    int style = PS_SOLID;
    int penWidth = 1;
    Color color = Color.black;

    public MetaPen() {
        type = META_PEN;
    }

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

    public int getStyle() {
        return style;
    }

    public int getPenWidth() {
        return penWidth;
    }

    public Color getColor() {
        return color;
    }
}

        style = in.readWord();
        penWidth = in.readShort();
        in.readWord();
        color = in.readColor();
    
<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