Class AddShape

java.lang.Object
org.jpedal.manipulator.AddShape
All Implemented Interfaces:
org.jpedal.manipulator.Manipulation

public class AddShape extends Object implements org.jpedal.manipulator.Manipulation
Allows for drawing shapes on a page
  • Constructor Details

    • AddShape

      public AddShape(PageRanges pages, Shape shape, DrawParameters drawParameters)
      Adds a shape to the specified pages.
      Parameters:
      pages - the pages to draw the shape on
      shape - the shape to draw
      drawParameters - the drawing rules to use
    • AddShape

      public AddShape(PageRanges pages, Shape[] shapes, DrawParameters[] drawParameters)
      Adds shapes to the specified pages.

      Note: shapes and shapeParameters should be arrays of the same length as shapeParameters[i] is used to draw shapes[i].

      Parameters:
      pages - the pages to draw the shape on
      shapes - the shapes to draw
      drawParameters - the drawing rules to use