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 serialized.

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

 Syntax

Java  Copy Code

public Pen (
    Brush brush,
    double width,
    DashStyle dashStyle
)

 Parameters

brush

A Brush object representing the pen color.

width

A double value representing the pen width.

dashStyle

A DashStyle object representing the pen's dash pattern.

 See Also