Search
Pen Constructor
See Also
 






Initializes a new instance of the Pen class. Instances of the Pen class created using this constructor are currently not serialised.

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

 Syntax

Java  Copy Code

public Pen (
    Brush brush,
    double width
)

 Parameters

brush

A Brush object representing the pen color.

width

A double value representing the pen width.

 See Also