public class SolidPenStyle extends PenStyle
IRenderSurface
Modifier and Type | Field and Description |
---|---|
int |
color |
static SolidPenStyle |
DEFAULT_PEN_STYLE |
antiAliasing, strokeDashArray, thickness
Constructor and Description |
---|
SolidPenStyle(int color,
boolean antiAliasing,
float thickness,
float[] strokeDashArray)
Creates a new
PenStyle instance |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getColor()
Gets the color for this PenStyle
|
int |
hashCode() |
boolean |
isVisible()
Gets whether this style is visible
|
public static final SolidPenStyle DEFAULT_PEN_STYLE
public final int color
public SolidPenStyle(int color, boolean antiAliasing, float thickness, float[] strokeDashArray)
PenStyle
instancecolor
- The stroke colorantiAliasing
- The value indicating whether the pen should use antialiasing or nothickness
- The stroke thickness in pixelsstrokeDashArray
- The stroke dash patternpublic int getColor()
public boolean isVisible()
public boolean equals(java.lang.Object o)
PenStyle