*/
protected double calculateTextBlockWidth(final TextBlock block,
final CategoryLabelPosition position, final GC g2) {
final RectangleInsets insets = this.getTickLabelInsets();
final Size2D size = block.calculateDimensions(g2);
final Rectangle box = RectangleUtil.Double(0.0, 0.0, size.width,
size.height);
// TODO : support rotation
// Shape rotatedBox = ShapeUtilities.rotateShape(
// box, position.getAngle(), 0.0f, 0.0f