public P4Poly(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) { this.LT = new D2Point(x1, y1); this.RT = new D2Point(x2, y2); this.RB = new D2Point(x3, y3); this.LB = new D2Point(x4, y4); }
public P4Poly(D2Point lt, D2Point rt, D2Point rb, D2Point lb) { this.LT = lt; this.RT = rt; this.RB = rb; this.LB = lb; }
public D4Rect(D2Point lt, D2Size size) : this(lt.X, lt.Y, size.W, size.H) { }