android Rect 与 RectF

1、精度不一样,Rect是使用int类型作为数值,RectF是使用float类型作为数值
2、两个类型提供的方法也不是完全一致

你可能感兴趣的:(android,RectF,Rect)