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