Class XYRegionFormatter

  • All Implemented Interfaces:

    
    public class XYRegionFormatter
    
                        

    Base class of all XYRegionFormatters.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public Paint paint
    • Constructor Summary

      Constructors 
      Constructor Description
      XYRegionFormatter(Context ctx, int xmlCfgId) Provided as a convenience to users; allows instantiation and xml configuration to take place in a single line
      XYRegionFormatter(int color)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Paint getPaint() Advanced users can use this method to access the Paint instance to add transparency etc.
      int getColor()
      void setColor(int color)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XYRegionFormatter

        XYRegionFormatter(Context ctx, int xmlCfgId)

        Provided as a convenience to users; allows instantiation and xml configuration to take place in a single line

        Parameters:
        xmlCfgId - Id of the xml config file within /res/xml
      • XYRegionFormatter

        XYRegionFormatter(int color)
    • Method Detail

      • getPaint

        @NonNull() Paint getPaint()

        Advanced users can use this method to access the Paint instance to add transparency etc.