private void PreRect(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) { ResetSubBuffer(); ExpandBounds(p1); ExpandBounds(p2); ExpandBounds(p3); ExpandBounds(p4); basicDraw.MoveTo(p1); basicDraw.LineTo(p2); basicDraw.LineTo(p3); basicDraw.LineTo(p4); basicDraw.LineTo(p1); }
public void MoveTo(Vector2 p) { _basicDraw.MoveTo(p); }