/// <summary> /// Initializes a new instance of the <see cref="XLinearGradientBrush"/> class. /// </summary> public XLinearGradientBrush(SysPoint point1, SysPoint point2, XColor color1, XColor color2) : this(new XPoint(point1), new XPoint(point2), color1, color2) { }
/// <summary> /// Initializes a new instance of the <see cref="XLinearGradientBrush"/> class. /// </summary> public XLinearGradientBrush(Rect rect, XColor color1, XColor color2, XLinearGradientMode linearGradientMode) : this(new XRect(rect), color1, color2, linearGradientMode) { }
/// <summary> /// Initializes a new instance of the <see cref="XPen"/> class. /// </summary> public XPen(XColor color, double width) : this(color, width, false) { }
/// <summary> /// Creates an XColor structure from the specified alpha value and color. /// </summary> public static XColor FromArgb(int alpha, XColor color) { color.A = (byte)alpha / 255.0; return(color); }
/// <summary> /// Initializes a new instance of the <see cref="XPen"/> class. /// </summary> public XPen(XColor color) : this(color, 1, false) { }