void (DecorationLayer layer, Graphics2D g, RadComponent component) { g.setColor(myColor); if (myStroke != null) { g.setStroke(myStroke); } Rectangle bounds = getBounds(layer, component); g.drawRect(bounds.x, bounds.y, bounds.width, bounds.height); }