public bool Equals(PointFloat p) { return MatchFields(this, p); }
public RectF(float X, float Y, SizeFloat size) { _topLeft = new PointFloat(X, Y); _bottomRight = new PointFloat(size.Width + X - 1, size.Height + Y - 1); }
public RectF(float left, float right, float top, float bottom) { _topLeft = new PointFloat(left, top); _bottomRight = new PointFloat(right, bottom); }
public RectF(PointFloat topLeft, PointFloat bottomRight) { _topLeft = topLeft; _bottomRight = bottomRight; }
public RectF(float bottom, float right) { _topLeft = new PointFloat(); _bottomRight = new PointFloat(bottom, right); }
private static bool MatchFields(PointFloat a, PointFloat m) { return(a.X == m.X && a.Y == m.Y); }
public RectF(PointFloat topLeft, SizeFloat size) { _topLeft = topLeft; _bottomRight = new PointFloat(size.Width + topLeft.X - 1, size.Height + topLeft.Y - 1); }
public RectF(RectF rect) { _topLeft = new PointFloat(rect.TopLeft); _bottomRight = new PointFloat(rect.BottomRight); }
public bool Equals(PointFloat p) { return(MatchFields(this, p)); }
private static bool MatchFields(PointFloat a, PointFloat m) { return (a.X == m.X && a.Y == m.Y); }
public PointFloat(PointFloat p) { _x = p.X; _y = p.Y; }