示例#1
0
 /// <summary>
 /// Constructs a new P3Path with the given points, point types, fill mode and pen.
 /// </summary>
 /// <param name="pts">The points in the path.</param>
 /// <param name="types">The types of the points in the path.</param>
 /// <param name="fillMode">The fill mode to use when rendering this node.</param>
 /// <param name="pen">The pen to use when rendering this node.</param>
 public P3Path(PointF[] pts, byte[] types, FillMode fillMode, Pen pen)
 {
     path     = new GraphicsPath(pts, types, fillMode);
     this.pen = pen;
     UpdateBoundsFromPath();
 }
示例#2
0
		/// <summary>
		/// Constructs a new P3Path with the given points, point types, fill mode and pen.
		/// </summary>
		/// <param name="pts">The points in the path.</param>
		/// <param name="types">The types of the points in the path.</param>
		/// <param name="fillMode">The fill mode to use when rendering this node.</param>
		/// <param name="pen">The pen to use when rendering this node.</param>
		public P3Path(PointF[] pts, byte[] types, FillMode fillMode, Pen pen) {
			path = new GraphicsPath(pts, types, fillMode);
			this.pen = pen;
			UpdateBoundsFromPath();
		}
示例#3
0
 /// <summary>
 /// Constructs a new P3Path with the given points, point types and fill mode.
 /// </summary>
 /// <param name="pts">The points in the path.</param>
 /// <param name="types">The types of the points in the path.</param>
 /// <param name="fillMode">The fill mode to use when rendering this node.</param>
 public P3Path(PointF[] pts, byte[] types, FillMode fillMode)
     : this(pts, types, fillMode, DEFAULT_PEN)
 {
 }
示例#4
0
		/// <summary>
		/// Constructs a new P3Path with the given points, point types and fill mode.
		/// </summary>
		/// <param name="pts">The points in the path.</param>
		/// <param name="types">The types of the points in the path.</param>
		/// <param name="fillMode">The fill mode to use when rendering this node.</param>
		public P3Path(PointF[] pts, byte[] types, FillMode fillMode)
			: this(pts, types, fillMode, DEFAULT_PEN) {
		}