TClrColor.SetColor(Integer,Integer,Integer,Integer) Method
Sets the instance of the TClrColor class with the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
public procedure SetColor(Alpha, Red, Green, Blue: Integer); overload;
Parameters
- Alpha
- Type: Integer
The alpha component value for the new Color. Valid values are 0 through 255.
- Red
- Type: Integer
The red component value for the new Color. Valid values are 0 through 255.
- Green
- Type: Integer
The green component value for the new Color. Valid values are 0 through 255.
- Blue
- Type: Integer
The blue component value for the new Color. Valid values are 0 through 255.