Retrieves the width of this pen in logical units.
public final int getWidth()
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.