Esempio n. 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();
 }
Esempio n. 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();
		}
Esempio n. 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)
 {
 }
Esempio n. 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) {
		}