Interface IPen2D
Defines the interface to a 2D pen, used to draw lines on the IRenderSurface
Implements
Namespace:
Assembly: .dll
Syntax
public interface IPen2D extends IPathColor
Methods
getAntialised()
Gets the value indicating whether this pen should use antialiasing
Declaration
public abstract boolean getAntialised()
Returns
Type | Description |
---|---|
boolean | True if antialiasing should be used |
getThickness()
Get the stroke thickness of this pen
Declaration
public abstract float getThickness()
Returns
Type | Description |
---|---|
float | The stroke thickness in pixels |
hasDashes()
Gets the value indicating whether this pen has dash array
Declaration
public abstract boolean hasDashes()
Returns
Type | Description |
---|---|
boolean | True if pen has dash array |