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