ToAvalonia(SKColorType) Method
Definition
Namespace: Avalonia.Skia
Assembly: Avalonia.Skia (in Avalonia.Skia.dll)
- C#
- VB
- F#
public static PixelFormat? ToAvalonia(
this SKColorType colorType
)
<ExtensionAttribute>
Public Shared Function ToAvalonia (
colorType As SKColorType
) As PixelFormat?
[<ExtensionAttribute>]
static member ToAvalonia :
colorType : SKColorType -> Nullable<PixelFormat>
Parameters
- SKColorType
Return Value
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type SKColorType. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
Reference
SkiaSharpExtensions Class
ToAvalonia Overload
Avalonia.Skia Namespace