public void SetColor (SolidBrush widget, Color color)
		{
			widget.ControlObject = color.ToCairo ();
		}
		public object Create (Color color)
		{
			return color.ToCairo ();
		}
Exemple #3
0
		object SolidBrush.IHandler.Create(Color color)
		{
			return color.ToCG();
		}
Exemple #4
0
		public void SetColor(SolidBrush widget, Color color)
		{
			var brush = ((SolidBrushData)widget.ControlObject);
			brush.Reset();
			brush.Color = color;
		}
Exemple #5
0
		public object Create(Color color)
		{
			return new SolidBrushData { Color = color };
		}
		object ISolidBrush.Create (Color color)
		{
			return color.ToCGColor ();
		}
Exemple #7
0
 object ISolidBrush.Create(Eto.Drawing.Color color)
 {
     return(color.ToCGColor());
 }