Skip to main content

Struct SKColorF

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public readonly struct SKColorF

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

SKColorF(float, float, float, float)

public SKColorF(float red, float green, float blue, float alpha = 1)

Parameters

red float

green float

blue float

alpha float

Properties

Alpha

public float Alpha { get; }

Property Value

float

Blue

public float Blue { get; }

Property Value

float

Green

public float Green { get; }

Property Value

float

Red

public float Red { get; }

Property Value

float

Methods

ToColor()

public SKColor ToColor()

Returns

SKColor