Make RRect useful
Other changes: - Remove the default constructor for RRect and Rect. - Add trailing periods to Offset comments. - Add Offset.distanceSquared for people who want to compare x^2+y^2 to r^2 without paying the cost of the sqrt. (Corresponding fix to OvalRect coming in a separate flutter patch.) - Fix a bug in Rect.lerp(). - Fix various Rect comments. - Remove a "var" in Rect. Fixes #769.
Showing
想要评论请 注册 或 登录