Pen Constructor (Color, Single) |
Creates a new pen with the specified color and thickness
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public Pen(
Color color,
float thickness = 1f
)
Public Sub New (
color As Color,
Optional thickness As Single = 1F
)
new :
color : Color *
?thickness : float32
(* Defaults:
let _thickness = defaultArg thickness 1f
*)
-> Pen
Parameters
- color
- Type: Eto.DrawingColor
Color for the new pen - thickness (Optional)
- Type: SystemSingle
Thickness of the new pen
See Also