public Pen(
Color32 color,
float width = 1f
)Public Sub New (
color As Color32,
Optional width As Single = 1F
)public:
Pen(
Color32 color,
float width = 1f
)new :
color : Color32 *
?width : float32
(* Defaults:
let _width = defaultArg width 1f
*)
-> PenA width of 1/64 or less is not visible. If FastThinLines is and AntiAliasing is , then a width less than 1/4 is not visible.
If the color depth of a Color32 instance is not enough to represent the specified color, then create a solid brush with the desired color depth and use the Pen(Brush, Single) constructor instead.
| ArgumentOutOfRangeException | width is not greater than 0. |