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