com.androidplot.xy
Class XYRegionFormatter

java.lang.Object
  extended by com.androidplot.xy.XYRegionFormatter

public class XYRegionFormatter
extends Object

Base class of all XYRegionFormatters.


Constructor Summary
XYRegionFormatter(android.content.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)
           
 
Method Summary
 int getColor()
           
 android.graphics.Paint getPaint()
          Advanced users can use this method to access the Paint instance to add transparency etc.
 void setColor(int color)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XYRegionFormatter

public XYRegionFormatter(android.content.Context ctx,
                         int xmlCfgId)
Provided as a convenience to users; allows instantiation and xml configuration to take place in a single line

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

XYRegionFormatter

public XYRegionFormatter(int color)
Method Detail

getColor

public int getColor()

setColor

public void setColor(int color)

getPaint

public android.graphics.Paint getPaint()
Advanced users can use this method to access the Paint instance to add transparency etc.

Returns:


Copyright © 2010-2013 androidplot.com. All Rights Reserved.