public class MaxFeaturesNumberTile extends java.lang.Object implements MaxFeaturesCustomTile
| Constructor and Description |
|---|
MaxFeaturesNumberTile()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Bitmap |
drawTile(int tileWidth,
int tileHeight,
long features)
Draw a tile using the width, height, and number of features
|
android.graphics.Paint |
getCircleFillPaint()
Get the paint object used to draw the filled circle
|
float |
getCirclePaddingPercentage()
Get the circle padding percentage around the text
|
android.graphics.Paint |
getCirclePaint()
Get the paint object used to draw the circle
|
android.graphics.Paint |
getTextPaint()
Get the paint object used to draw the text
|
void |
setCircleFillPaint(android.graphics.Paint circleFillPaint)
Set the paint object used to draw the filled circle
|
void |
setCirclePaddingPercentage(float circlePaddingPercentage)
Set the circle padding percentage to pad around the text, value between 0.0 and 1.0
|
void |
setCirclePaint(android.graphics.Paint circlePaint)
Set the paint object used to draw the circle
|
void |
setTextPaint(android.graphics.Paint textPaint)
Set the paint object used to draw the text
|
public android.graphics.Paint getTextPaint()
public void setTextPaint(android.graphics.Paint textPaint)
textPaint - public android.graphics.Paint getCirclePaint()
public void setCirclePaint(android.graphics.Paint circlePaint)
circlePaint - public android.graphics.Paint getCircleFillPaint()
public void setCircleFillPaint(android.graphics.Paint circleFillPaint)
circleFillPaint - public float getCirclePaddingPercentage()
public void setCirclePaddingPercentage(float circlePaddingPercentage)
circlePaddingPercentage - public android.graphics.Bitmap drawTile(int tileWidth,
int tileHeight,
long features)
drawTile in interface MaxFeaturesCustomTile