共用方式為


SKColorExtensions.ToColor(Color, Single) 方法

定義

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

參數

target
Color
alpha
Single

傳回

適用於