MPDC.Xamarin.iOS.Pastel 1.1.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package MPDC.Xamarin.iOS.Pastel --version 1.1.0
NuGet\Install-Package MPDC.Xamarin.iOS.Pastel -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MPDC.Xamarin.iOS.Pastel" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MPDC.Xamarin.iOS.Pastel --version 1.1.0
#r "nuget: MPDC.Xamarin.iOS.Pastel, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MPDC.Xamarin.iOS.Pastel as a Cake Addin
#addin nuget:?package=MPDC.Xamarin.iOS.Pastel&version=1.1.0

// Install MPDC.Xamarin.iOS.Pastel as a Cake Tool
#tool nuget:?package=MPDC.Xamarin.iOS.Pastel&version=1.1.0
  public override void ViewDidLoad()
  {
        base.ViewDidLoad();

        // Initializing pastelView object
        var pastelView = new MPDCPastelXamarinIOS.PastelView(View.Bounds);

        pastelView.AnimationDuration = 2.0;

        // init start point and end point
        pastelView.StartPoint = PastelPoint.BottomLeft.Point();
        pastelView.EndPoint = PastelPoint.TopRight.Point();

        // seting  colors
        pastelView.SetColors(PastelGradient.WinterNeva.Colors());
    
        // pastelView.AddColor(SecondGradientColor); 

        pastelView.StartAnimation();
        View.InsertSubview(pastelView,0);
  }

You need to include MPDCPastelXamarinIOS.Extensions namespace to use Colors and Point extension methods.

In PastelGradient enum, we have some custom gradient colors

Warflame NightFade SpringWarmth JuicyPeach YoungPassion LadyLips SunnyMorning RainyAshville FrozenDreams WinterNeva You can use this custom colors, or feel free to add some more gradient colors.

In SetColors method you can implement and add your own colors array.

Product Compatible and additional computed target framework versions.
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

Initial Release