Pen.getWidth

Overview | Methods | Fields | This Package | All Packages

Pen.getWidth

Retrieves the width of this pen in logical units.

Syntax

public final int getWidth()

Return Value

Returns the width of the pen in logical units. If the width of the pen is zero, this method returns 1, regardless of the current transformation.