public class RectangleContainerLayout.RectangleShapePosition extends AbstractArrayContainerLayout.ShapePosition
position, shape
Constructor and Description |
---|
RectangleShapePosition(Shape shape,
Rectangle2D position) |
Modifier and Type | Method and Description |
---|---|
void |
draw(org.apache.batik.svggen.SVGGraphics2D context,
Color fillcolor)
Draw the shape in the given
SVGGraphics2D context with the provided color |
public RectangleShapePosition(Shape shape, Rectangle2D position)
public void draw(org.apache.batik.svggen.SVGGraphics2D context, Color fillcolor)
AbstractArrayContainerLayout.ShapePosition
SVGGraphics2D
context with the provided colordraw
in class AbstractArrayContainerLayout.ShapePosition
context
- the context to draw infillcolor
- the Color
to use to fill the shape.Copyright © 2018. All rights reserved.