public abstract class PenStyle extends Style
IRenderSurface
Modifier and Type | Field and Description |
---|---|
boolean |
antiAliasing |
float[] |
strokeDashArray |
float |
thickness |
Modifier | Constructor and Description |
---|---|
protected |
PenStyle(boolean antiAliasing,
float thickness,
float[] strokeDashArray)
Creates a new
PenStyle instance |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
abstract int |
getColor()
Gets the color for this PenStyle
|
int |
hashCode() |
void |
initPaint(android.graphics.Paint paint)
Initialises Paint with this pen style
|
boolean |
isVisible()
Gets whether this style is visible
|
public final boolean antiAliasing
public final float thickness
public final float[] strokeDashArray
protected PenStyle(boolean antiAliasing, float thickness, float[] strokeDashArray)
PenStyle
instanceantiAliasing
- The value indicating whether the pen should use antialiasing or nothickness
- The stroke thickness in pixelsstrokeDashArray
- The stroke dash patternpublic abstract int getColor()
public void initPaint(android.graphics.Paint paint)
paint
- The Paint to initpublic boolean isVisible()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object