/// <summary> /// Offset Method /// </summary> /// /// <remarks> /// Moves the RectangleF a specified distance. /// </remarks> public void Offset(PointF pos) { Offset(pos.X, pos.Y); }
public SizeF(PointF pt) { width = pt.X; height = pt.Y; }
/// <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)); }