public abstract class BrushStyle extends Style
IRenderSurface
Constructor and Description |
---|
BrushStyle() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getColor()
Gets the color for this PenStyle
|
abstract void |
initPaint(android.graphics.Paint paint,
int x,
int y,
int width,
int height)
Init a Paint instance with values provided by this brush style
|
public abstract int getColor()
public abstract void initPaint(android.graphics.Paint paint, int x, int y, int width, int height)
paint
- The Paint to initx
- The X coordinates of area where Paint will be drawny
- The Y coordinates of area where Paint will be drawnwidth
- The width of area where Paint will be drawnheight
- The height of area where Paint will be drawn