Class RadialGradientPenStyle
Defines a style class for lines with radial gradient which is used to draw 2D lines on the IRenderSurface
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class RadialGradientPenStyle extends PenStyle
Constructors
RadialGradientPenStyle(RadialGradientBrushStyle gradientStyle, boolean antiAliasing, float thickness, float[] strokeDashArray)
Creates a new LinearGradientPenStyle instance
Declaration
public RadialGradientPenStyle(RadialGradientBrushStyle gradientStyle, boolean antiAliasing, float thickness, float[] strokeDashArray)
Parameters
Type | Name | Description |
---|---|---|
RadialGradientBrushStyle | gradientStyle | The radial gradient style |
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
gradientStyle
Declaration
public final RadialGradientBrushStyle gradientStyle
Field Value
Type | Description |
---|---|
RadialGradientBrushStyle |
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 | True if this style is visible |