Constructor BrushOrColor
BrushOrColor()
Initializes a new instance of the BrushOrColor class.
public BrushOrColor()
BrushOrColor(byte, byte, byte, byte)
Initializes a new instance of the BrushOrColor class.
public BrushOrColor(byte alpha, byte red, byte green, byte blue)
Parameters
alpha
byteAlpha component of the color.
red
byteRed component of the color.
green
byteGreen component of the color.
blue
byteBlue component of the color.
BrushOrColor(byte, byte, byte)
Initializes a new instance of the BrushOrColor class.
public BrushOrColor(byte red, byte green, byte blue)
Parameters
red
byteRed component of the color.
green
byteGreen component of the color.
blue
byteBlue component of the color.
BrushOrColor(Brush)
Initializes a new instance of the BrushOrColor class.
public BrushOrColor(Brush brush)
Parameters
brush
BrushBrush value.
BrushOrColor(Color)
Initializes a new instance of the BrushOrColor class.
public BrushOrColor(Color color)
Parameters
color
ColorColor value.