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,
    DashStyle dashStyle
)

 Parameters

color

A Color 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