Class SolidPenStyle
Defines a style class for lines with solid color which is used to draw 2D lines on the IRenderSurface
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SolidPenStyle extends PenStyle
Constructors
SolidPenStyle(int color, boolean antiAliasing, float thickness, float[] strokeDashArray)
Creates a new PenStyle instance
Declaration
public SolidPenStyle(int color, boolean antiAliasing, float thickness, float[] strokeDashArray)
Parameters
Type | Name | Description |
---|---|---|
int | color | The stroke color |
boolean | antiAliasing | The value indicating whether the pen should use antialiasing or no |
float | thickness | The stroke thickness in pixels |
float[] | strokeDashArray | The stroke dash pattern |
Fields
DEFAULT_PEN_STYLE
Declaration
public static final SolidPenStyle DEFAULT_PEN_STYLE
Field Value
Type | Description |
---|---|
color
Declaration
public final int color
Field Value
Type | Description |
---|---|
int |
Methods
equals(Object o)
Declaration
public boolean equals(Object o)
Parameters
Type | Name | Description |
---|---|---|
Object | o |
Returns
Type | Description |
---|---|
boolean |
Overrides
getColor()
Gets the color for this PenStyle
Declaration
public int getColor()
Returns
Type | Description |
---|---|
int |
Overrides
hashCode()
Declaration
public int hashCode()
Returns
Type | Description |
---|---|
int |
Overrides
isVisible()
Gets whether this style is visible
Declaration
public boolean isVisible()
Returns
Type | Description |
---|---|
boolean |