Created
October 10, 2019 12:08
-
-
Save bbenetskyy/fec3ad7ed97e92174cb58479b78a60bd to your computer and use it in GitHub Desktop.
Complex Linear Gradient in XAML
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
<magic:GradientView VerticalOptions="FillAndExpand"> | |
<magic:GradientView.GradientSource> | |
<magic:GradientCollection> | |
<magic:LinearGradient Angle="45"> | |
<magic:GradientStop Color="Orange" Offset="0" /> | |
<magic:GradientStop Color="#ff0000" Offset="0.6" /> | |
</magic:LinearGradient> | |
<magic:LinearGradient Angle="90"> | |
<magic:GradientStop Color="#33ff0000" Offset="0.4" /> | |
<magic:GradientStop Color="#ff00ff00" Offset="1" /> | |
</magic:LinearGradient> | |
</magic:GradientCollection> | |
</magic:GradientView.GradientSource> | |
</magic:GradientView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment