Bearbeiten

Freigeben über


SKColor Constructors

Definition

Overloads

SKColor(UInt32)

Creates a color from the specified integer.

SKColor(Byte, Byte, Byte)

Creates a color from the specified red, green and blue components.

SKColor(Byte, Byte, Byte, Byte)

Creates a color from the specified red, green, blue and alpha components.

SKColor(UInt32)

Creates a color from the specified integer.

public SKColor (uint value);

Parameters

value
UInt32

The integer value of the unpremultiplied color.

Applies to

SKColor(Byte, Byte, Byte)

Creates a color from the specified red, green and blue components.

public SKColor (byte red, byte green, byte blue);

Parameters

red
Byte

The red component.

green
Byte

The green component.

blue
Byte

The blue component.

Applies to

SKColor(Byte, Byte, Byte, Byte)

Creates a color from the specified red, green, blue and alpha components.

public SKColor (byte red, byte green, byte blue, byte alpha);

Parameters

red
Byte

The red component.

green
Byte

The green component.

blue
Byte

The blue component.

alpha
Byte

The alpha component.

Applies to