Operator explicit operator
explicit operator Brush(Color)
public static explicit operator Brush(Color color)
Parameters
color
Color
Returns
explicit operator Pen(Color)
public static explicit operator Pen(Color color)
Parameters
color
Color
Returns
Remarks
Pen width is set to 1 device-independent unit.
explicit operator SolidBrush(Color)
public static explicit operator SolidBrush(Color color)
Parameters
color
Color
Returns
explicit operator Color(string)
public static explicit operator Color(string s)
Parameters
s
string