Package mil.nga.grid

Class GridStyle


  • public class GridStyle
    extends Object
    Grid Line Style
    Author:
    osbornb
    • Constructor Detail

      • GridStyle

        public GridStyle()
        Constructor
      • GridStyle

        public GridStyle​(Color color,
                         double width)
        Constructor
        Parameters:
        color - color
        width - width
    • Method Detail

      • style

        public static GridStyle style​(Color color,
                                      double width)
        Create a new style
        Parameters:
        color - color
        width - 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