예제 #1
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="bgra">Цвят</param>
 public Rgba(Bgra bgra)
 {
     this.Red   = bgra.Red;
     this.Green = bgra.Green;
     this.Blue  = bgra.Blue;
     this.Alpha = bgra.Alpha;
 }
예제 #2
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="bgra">Цвят</param>
 public Bgr(Bgra bgra) : this(bgra.Blue, bgra.Green, bgra.Red)
 {
     //Всичко е в горната линия
 }
예제 #3
0
		/// <summary>
		/// Конструктор
		/// </summary>
		/// <param name="bgra">Цвят</param>
		public Rgba(Bgra bgra)
		{
			this.Red   = bgra.Red;
			this.Green = bgra.Green;
			this.Blue  = bgra.Blue;
			this.Alpha = bgra.Alpha;
		}
예제 #4
0
		/// <summary>
		/// Конструктор
		/// </summary>
		/// <param name="bgra">Цвят</param>
		public Rgb(Bgra bgra) : this(bgra.Red, bgra.Green, bgra.Blue)
		{
			//Всичко е в горната линия
		}
예제 #5
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="bgra">Цвят</param>
 public Rgb(Bgra bgra) : this(bgra.Red, bgra.Green, bgra.Blue)
 {
     //Всичко е в горната линия
 }
예제 #6
0
		/// <summary>
		/// Конструктор
		/// </summary>
		/// <param name="bgra">Цвят</param>
		public Bgr(Bgra bgra) : this(bgra.Blue, bgra.Green, bgra.Red)
		{
			//Всичко е в горната линия
		}