Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.