SKColorExtensions.ToColor(Color, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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