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
red
byteRed component of the color.
green
byteGreen component of the color.
blue
byteBlue 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
alpha
byteAlpha component of the color.
red
byteRed component of the color.
green
byteGreen component of the color.
blue
byteBlue 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
color
SKColorColor value.
ColorStruct(uint)
Initializes a new instance of the ColorStruct struct.
public ColorStruct(uint value)
Parameters
value
uintColor value.