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