internal XPen(XBrush brush, double width, bool immutable) { _brush = brush; _width = width; _lineJoin = XLineJoin.Miter; _lineCap = XLineCap.Flat; _dashStyle = XDashStyle.Solid; _dashOffset = 0f; _immutable = immutable; }
/// <summary> /// Initializes a new instance of the <see cref="XPen"/> class /// </summary> /// <param name="brush"></param> /// <param name="width"></param> public XPen(XBrush brush, double width) : this(brush, width, false) { }
/// <summary> /// Initializes a new instance of the <see cref="XPen"/> class /// </summary> /// <param name="brush"></param> public XPen(XBrush brush) : this(brush, 1, false) { }