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
alphabyteAlpha component of the color.
redbyteRed component of the color.
greenbyteGreen component of the color.
bluebyteBlue 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
redbyteRed component of the color.
greenbyteGreen component of the color.
bluebyteBlue component of the color.
BrushOrColor(Brush)
Initializes a new instance of the BrushOrColor class.
public BrushOrColor(Brush brush)
Parameters
brushBrushBrush value.
BrushOrColor(Color)
Initializes a new instance of the BrushOrColor class.
public BrushOrColor(Color color)
Parameters
colorColorColor value.