SKColorExtensions.ToColor(Color, Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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