aboutsummaryrefslogtreecommitdiffstatsci
path: root/Drawing2D/src/IGradient.cs
blob: 6371c969aa1dfa242a149296ebf4623c07e5fd55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2021  Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
//
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)

namespace Drawing2D
{
	public interface IGradient : IPattern
	{
		void AddColorStop (double offset, Color c);
		void AddColorStop(float offset, float r, float g, float b, float a = 1f);
	}
}