Add a north arrow to a cartographic document.
| Type | Name and description |
|---|---|
private java.awt.Color |
fillColor1 |
private java.awt.Color |
fillColor2 |
private java.awt.Color |
strokeColor1 |
private java.awt.Color |
strokeColor2 |
private float |
strokeWidth |
| Constructor and description |
|---|
NorthArrowItem
(int x, int y, int width, int height)Create a north arrow from the top left with the given width and height. |
NorthArrowItem
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
NorthArrowItem |
fillColor1(java.awt.Color color)Set the first fill color
|
|
NorthArrowItem |
fillColor2(java.awt.Color color)Set the second fill color
|
|
NorthArrowItem |
strokeColor1(java.awt.Color color)Set the first stroke color
|
|
NorthArrowItem |
strokeColor2(java.awt.Color color)Set the second stroke Color
|
|
NorthArrowItem |
strokeWidth(float strokeWidth)Set the stroke width
|
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Item |
getRectangle |
Create a north arrow from the top left with the given width and height.
x - The number of pixels from the lefty - The number of pixels from the topwidth - The width in pixelsheight - The height in pixelsSet the first fill color
color - The first fill colorSet the second fill color
color - The second fill ColorSet the first stroke color
color - The first stroke colorSet the second stroke Color
color - The second stroke ColorSet the stroke width
strokeWidth - The stroke widthGroovy Documentation