class LineItem extends Item
Add a line to a cartographic document
Type | Name and description |
---|---|
java.awt.Color |
strokeColor |
float |
strokeWidth |
Constructor and description |
---|
LineItem
(int x, int y, int width, int height) Create a line from the top left with the given width and height. |
Type Params | Return Type | Name and description |
---|---|---|
|
LineItem |
strokeColor(java.awt.Color color) Set the stroke color |
|
LineItem |
strokeWidth(float width) Set the stroke width |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class Item |
getRectangle |
Groovy Documentation