Overview | Methods | This Package | All Packages
Retrieves the pen associated with the Graphics object.
Syntax
public final Pen getPen()
Return Value
Returns a Pen object that specifies the current pen if a pen is set; otherwise, returns null.
See Also setPen