private void generateLeftEdge()
{
final BorderEdge leftEdge = border.getLeft();
final BorderCorner firstCorner = border.getTopLeft();
final BorderCorner secondCorner = border.getBottomLeft();
stroke = createStroke(leftEdge, borderSizes.getLeft());
color = leftEdge.getColor();
draw(generateCorner
(CORNER_LEFT_TOP, x, y, firstCorner, false));
draw(generateCorner
(CORNER_LEFT_BOTTOM, x, y + height, secondCorner, false));
fill(generateCorner
(CORNER_LEFT_TOP, x, y, firstCorner, true));
fill(generateCorner
(CORNER_LEFT_BOTTOM, x, y + height, secondCorner, true));
final double firstWidth =
StrictGeomUtility.toInternalValue(firstCorner.getWidth().getValue());
final double firstHeight =
StrictGeomUtility.toInternalValue(firstCorner.getHeight().getValue());
final double secondWidth =
StrictGeomUtility.toInternalValue(secondCorner.getWidth().getValue());
final double secondHeight =
StrictGeomUtility.toInternalValue(secondCorner.getHeight().getValue());
draw(new Line2D.Double
(x + firstWidth,
y + firstHeight,
x + secondWidth,
y + height - secondHeight));