Package mil.nga.grid
Class GridStyle
- java.lang.Object
-
- mil.nga.grid.GridStyle
-
public class GridStyle extends Object
Grid Line Style- Author:
- osbornb
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()Get the grid line colordoublegetWidth()Get the grid line widthvoidsetColor(Color color)Set the grid line colorvoidsetWidth(double width)Set the grid line widthstatic GridStylestyle(Color color, double width)Create a new style
-
-
-
Constructor Detail
-
GridStyle
public GridStyle()
Constructor
-
GridStyle
public GridStyle(Color color, double width)
Constructor- Parameters:
color- colorwidth- width
-
-
Method Detail
-
style
public static GridStyle style(Color color, double width)
Create a new style- Parameters:
color- colorwidth- width- Returns:
- style
-
getColor
public Color getColor()
Get the grid line color- Returns:
- grid line color
-
setColor
public void setColor(Color color)
Set the grid line color- Parameters:
color- grid line color
-
getWidth
public double getWidth()
Get the grid line width- Returns:
- grid line width
-
setWidth
public void setWidth(double width)
Set the grid line width- Parameters:
width- grid line width
-
-