iOSExtensions.ToUIColor Method
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.
ToUIColor(SKColor) |
Converts a SkiaSharp color into a UIKit color. |
ToUIColor(SKColorF) |
Converts a SkiaSharp color into a UIKit color.
C#
public static UIKit.UIColor ToUIColor (this SkiaSharp.SKColor color);
Parameters
- color
- SKColor
The SkiaSharp color
Returns
Returns a UIKit color.
Applies to
SkiaSharp Views 2.88.x and other versions
Product | Versions |
---|---|
SkiaSharp Views | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
SkiaSharp feedback
SkiaSharp is an open source project. Select a link to provide feedback: