Beispiel #1
0
 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;
 }
Beispiel #2
0
 /// <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)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XPen"/> class
 /// </summary>
 /// <param name="brush"></param>
 public XPen(XBrush brush) : this(brush, 1, false)
 {
 }