vLag.setId("iconLag");
vLag.setName("iconLag");
    public IconGlyph(SymbolIcon icon,                     Shape shape)    {        try {            // Build a picture            Picture picture = new Picture(icon.getImage(), 2.0f);            // Build related vertical lag            GlyphLag vLag = new GlyphLag(new VerticalOrientation());            vLag.setId("iconLag");            vLag.setVertexClass(GlyphSection.class);            new LagBuilder<GlyphLag,GlyphSection>().rip                    (vLag,                    picture,                    0, // minRunLength                    new JunctionAllPolicy()); // catch all            // Retrieve the whole glyph made of all sections            setLag(vLag);            for (GlyphSection section : vLag.getSections()) {                addSection(section, /* link => */ true);            }            //vLag.dump("Icon Lag");            //glyph.drawAscii();            // Glyph features            setShape(shape);            // Ordinate (approximate value)            Rectangle box = getContourBox();            int y = box.y;            // Staff interline value            setInterline(2 * ScoreConstants.INTER_LINE);            // Mass center            PixelPoint centroid = getCentroid();            Scale scale = new Scale(2 * ScoreConstants.INTER_LINE, 1);            PagePoint pgCentroid = scale.toPagePoint(centroid);            // Number of connected stems            setStemNumber(icon.getStemNumber());            // Has a related ledger ?            setHasLedger(icon.hasLedger());            // Vertical position wrt staff            setPitchPosition(icon.getPitchPosition());            //glyph.dump();        } catch (Exception ex) {            ex.printStackTrace();        }    }