Example #1
0
 public static RectF FromLTRB(Point2F topLeft, Point2F bottomRight)
 {
     return(FromLTRB(topLeft.X, topLeft.Y, bottomRight.X, bottomRight.Y));
 }
Example #2
0
 public RectF(float x, float y, float width, float height) : this()
 {
     Location = new Point2F(x, y);
     Size     = new Point2F(width, height);
 }