SKColorF Constructors

Definition

Overloads

SKColorF(Single, Single, Single)

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

SKColorF(Single, Single, Single, Single)

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

SKColorF(Single, Single, Single)

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

public SKColorF (float red, float green, float blue);

Parameters

red
Single

The red component.

green
Single

The green component.

blue
Single

The blue component.

Applies to

SKColorF(Single, Single, Single, Single)

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

public SKColorF (float red, float green, float blue, float alpha);

Parameters

red
Single

The red component.

green
Single

The green component.

blue
Single

The blue component.

alpha
Single

The alpha component.

Applies to