Class AbstractArrayContainerLayout.ShapePosition

    • Constructor Detail

      • ShapePosition

        public ShapePosition​(Shape shape,
                             Rectangle2D position)
        A Basic constructor using a shape and a Rectangle as position.
        Parameters:
        shape - The shape to use
        position - the position to use (area to plot in)
    • Method Detail

      • draw

        public void draw​(org.apache.batik.svggen.SVGGraphics2D context,
                         Color fillcolor)
        Draw the shape in the given SVGGraphics2D context with the provided color
        Parameters:
        context - the context to draw in
        fillcolor - the Color to use to fill the shape.