Search
Pen Constructor
See Also
 






Initializes a new instance of the Pen class.

Namespace: com.mindfusion.drawing
File: com.mindfusion.drawing

 Syntax

Java  Copy Code

public Pen (
    Color color,
    double width
)

 Parameters

color

A Color object representing the pen color.

width

A double value representing the pen width.

 See Also