public RectangleType(T x, T y, T width, T height) { this.location = new PointType <T>(x, y); this.size = new SizeType <T>(width, height); }
public RectangleType(PointType <T> location, SizeType <T> size) { this.location = location; this.size = size; }