ITeye博客

Rect and RectF in Android SDK

bolutes · 2011-11-18 17:32 · Markdown

转载:http://stackoverflow.com/questions/4913643/rect-and-rectf-in-android-sdk

UsingRectyou define its edges using integers and usingRectFthey are defined as floats.

Looking at them more carefully I have spotted a few differences actually. I will only list what one implementation has more compared to the other one.

Rect

RectF

So apparently there are some differences.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。