Exemplo n.º 1
0
        /// <summary>
        /// Create a new RectArea object.
        /// </summary>
        /// <param name="maxX">Initial value of the MaxX property.</param>
        /// <param name="minX">Initial value of the MinX property.</param>
        /// <param name="maxY">Initial value of the MaxY property.</param>
        /// <param name="minY">Initial value of the MinY property.</param>
        public static RectArea CreateRectArea(global::System.Double maxX, global::System.Double minX, global::System.Double maxY, global::System.Double minY)
        {
            RectArea rectArea = new RectArea();

            rectArea.MaxX = maxX;
            rectArea.MinX = minX;
            rectArea.MaxY = maxY;
            rectArea.MinY = minY;
            return(rectArea);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new RectArea object.
 /// </summary>
 /// <param name="maxX">Initial value of the MaxX property.</param>
 /// <param name="minX">Initial value of the MinX property.</param>
 /// <param name="maxY">Initial value of the MaxY property.</param>
 /// <param name="minY">Initial value of the MinY property.</param>
 public static RectArea CreateRectArea(global::System.Double maxX, global::System.Double minX, global::System.Double maxY, global::System.Double minY)
 {
     RectArea rectArea = new RectArea();
     rectArea.MaxX = maxX;
     rectArea.MinX = minX;
     rectArea.MaxY = maxY;
     rectArea.MinY = minY;
     return rectArea;
 }