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