Stroke strikethroughStroke =
new BasicStroke(strikethroughThickness);
Rectangle2D logicalBounds = gv.getLogicalBounds();
return strikethroughStroke.createStrokedShape(
new java.awt.geom.Line2D.Double(
logicalBounds.getMinX() + strikethroughThickness/2.0, offset.getY()+y,
logicalBounds.getMaxX() - strikethroughThickness/2.0, offset.getY()+y));
}