Constructor ColorStruct
ColorStruct(byte, byte, byte)
Initializes a new instance of the ColorStruct with the specified parameters.
public ColorStruct(byte red, byte green, byte blue)
Parameters
redbyteRed component of the color.
greenbyteGreen component of the color.
bluebyteBlue component of the color.
Remarks
Alpha component is assigned with 255.
ColorStruct(byte, byte, byte, byte)
Initializes a new instance of the ColorStruct with the specified parameters.
public ColorStruct(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.
ColorStruct()
Initializes a new instance of the ColorStruct struct.
public ColorStruct()
ColorStruct(SKColor)
Initializes a new instance of the ColorStruct struct.
public ColorStruct(SKColor color)
Parameters
colorSKColorColor value.
ColorStruct(uint)
Initializes a new instance of the ColorStruct struct.
public ColorStruct(uint value)
Parameters
valueuintColor value.
ColorStruct(int)
Initializes a new instance of the ColorStruct struct.
public ColorStruct(int value)
Parameters
valueintColor value.