public virtual void setColor(global::alphatab.platform.model.Color color) { unchecked { this._color = global::System.Drawing.Color.FromArgb(color.getA(), color.getR(), color.getG(), color.getB()); this.recreateBrush(); this.recreatePen(); } }
public virtual void setColor(global::alphatab.platform.model.Color color) { unchecked { this._brush = new global::System.Windows.Media.SolidColorBrush(((global::System.Windows.Media.Color)(global::System.Windows.Media.Color.FromArgb(((byte)(color.getA())), ((byte)(color.getR())), ((byte)(color.getG())), ((byte)(color.getB())))))); } }