Editar

Compartir a través de


SKColorF.Explicit(SKColorF to SKColor) Operator

Definition

Converts a SKColorF to a SKColor.

public static explicit operator SkiaSharp.SKColor (SkiaSharp.SKColorF color);

Parameters

color
SKColorF

The color to convert.

Returns

The SKColor.

Remarks

As a result of converting a floating-point color to an integer color, some data loss will occur.

Applies to