Class Paint


  • public class Paint
    extends Object
    Feature Tile drawing paint object
    Since:
    3.2.0
    Author:
    osbornb
    • Constructor Detail

      • Paint

        public Paint()
        Constructor
      • Paint

        public Paint​(Color color)
        Constructor
        Parameters:
        color - color
      • Paint

        public Paint​(Color color,
                     float strokeWidth)
        Constructor
        Parameters:
        color - color
        strokeWidth - stroke width
    • Method Detail

      • getColor

        public Color getColor()
        Get the color
        Returns:
        color
      • setColor

        public void setColor​(Color color)
        Set the color
        Parameters:
        color - color
      • getStrokeWidth

        public float getStrokeWidth()
        Get the stroke width
        Returns:
        stroke width
      • setStrokeWidth

        public void setStrokeWidth​(Float strokeWidth)
        Set the stroke width
        Parameters:
        strokeWidth - stroke width
      • getStroke

        public Stroke getStroke()
        Get the stroke created from the stroke width
        Returns:
        stroke