PenOptions

Drawing pen options

Constructors

ConstructorDescription
PenOptions()Initializes a new instance of the PenOptions class.

Methods

MethodDescription
getStartCap()Gets or sets the start cap.
setStartCap(int value)Gets or sets the start cap.
getEndCap()Gets or sets the end cap.
setEndCap(int value)Gets or sets the end cap.

PenOptions()

public PenOptions()

Initializes a new instance of the PenOptions class.

getStartCap()

public int getStartCap()

Gets or sets the start cap.

Returns: int - The start cap.

setStartCap(int value)

public void setStartCap(int value)

Gets or sets the start cap.

Parameters:

ParameterTypeDescription
valueintThe start cap.

getEndCap()

public int getEndCap()

Gets or sets the end cap.

Returns: int - The end cap.

setEndCap(int value)

public void setEndCap(int value)

Gets or sets the end cap.

Parameters:

ParameterTypeDescription
valueintThe end cap.