OdPen

Inheritance: java.lang.Object

public class OdPen

The open document pen

Constructors

ConstructorDescription
OdPen()

Methods

MethodDescription
getPenStyle()Gets the pen style.
setPenStyle(int value)Sets the pen style.
getBrush()Gets the brush.
setBrush(OdBrush value)Sets the brush.
getWidth()Gets the width.
setWidth(int value)Sets the width.

OdPen()

public OdPen()

getPenStyle()

public final int getPenStyle()

Gets the pen style.

Returns: int - the pen style.

setPenStyle(int value)

public final void setPenStyle(int value)

Sets the pen style.

Parameters:

ParameterTypeDescription
valueintthe pen style.

getBrush()

public final OdBrush getBrush()

Gets the brush.

Returns: OdBrush - the brush.

setBrush(OdBrush value)

public final void setBrush(OdBrush value)

Sets the brush.

Parameters:

ParameterTypeDescription
valueOdBrushthe brush.

getWidth()

public final int getWidth()

Gets the width.

Returns: int - the width.

setWidth(int value)

public final void setWidth(int value)

Sets the width.

Parameters:

ParameterTypeDescription
valueintthe width.