Created
February 28, 2019 03:50
-
-
Save jesulink2514/bf7d2da8e78405739a044337d2bed96f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NControl.Abstractions; | |
using NGraphics; | |
using Xamarin.Forms; | |
using Color = Xamarin.Forms.Color; | |
namespace DemoGradient.Controls | |
{ | |
public static class ColorHelpers | |
{ | |
public static NGraphics.Color ToNColor(this Color color) | |
{ | |
return new NGraphics.Color(color.R, color.G, color.B, color.A); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment