Pen.NULL

Overview | Methods | Fields | This Package | All Packages

Pen.NULL

Specifies a Pen object that does nothing in Graphics operations that require a pen.

Syntax

public static final Pen NULL;

Remarks

When you use the Graphics object's drawing methods, the methods draw using the current Pen object and fill the drawn area using the current Brush object. If you call one of these methods, and the Pen object associated with the Graphics object is null, only the fill occurs.