Compartilhar via


SKColorExtensions.ToColor(Color, Single) Method

Definition

public static SkiaSharp.SKColor ToColor (this Microsoft.Maui.Graphics.Color target, float alpha = 1);
static member ToColor : Microsoft.Maui.Graphics.Color * single -> SkiaSharp.SKColor
<Extension()>
Public Function ToColor (target As Color, Optional alpha As Single = 1) As SKColor

Parameters

target
Color
alpha
Single

Returns

Applies to