Package org.jpedal.manipulator
Class AddShape
java.lang.Object
org.jpedal.manipulator.AddShape
- All Implemented Interfaces:
org.jpedal.manipulator.Manipulation
Allows for drawing shapes on a page
-
Constructor Summary
ConstructorsConstructorDescriptionAddShape
(PageRanges pages, Shape[] shapes, DrawParameters[] drawParameters) Adds shapes to the specified pages.AddShape
(PageRanges pages, Shape shape, DrawParameters drawParameters) Adds a shape to the specified pages. -
Method Summary
-
Constructor Details
-
AddShape
Adds a shape to the specified pages.- Parameters:
pages
- the pages to draw the shape onshape
- the shape to drawdrawParameters
- the drawing rules to use
-
AddShape
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 onshapes
- the shapes to drawdrawParameters
- the drawing rules to use
-