public class XYRegionFormatter
extends java.lang.Object
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
public XYRegionFormatter(android.content.Context ctx, int xmlCfgId)
ctx
- xmlCfgId
- Id of the xml config file within /res/xmlpublic XYRegionFormatter(int color)