示例#1
0
        /// <summary>
        ///	Offset Method
        /// </summary>
        ///
        /// <remarks>
        ///	Moves the RectangleF a specified distance.
        /// </remarks>

        public void Offset(PointF pos)
        {
            Offset(pos.X, pos.Y);
        }
示例#2
0
 public SizeF(PointF pt)
 {
     width = pt.X;
     height = pt.Y;
 }
示例#3
0
        /// <summary>
        ///	Contains Method
        /// </summary>
        ///
        /// <remarks>
        ///	Checks if a Point lies within this RectangleF.
        /// </remarks>

        public bool Contains(PointF pt)
        {
            return(Contains(pt.X, pt.Y));
        }