2013-12-18 3 views
8

Rect 변수를 RectF로 변환하는 가장 좋은 방법은 무엇입니까? 나는 그것을 던질 수 없다. 의Rect를 RectF로 변환

RectF rect = (RectF) currentRect; //produces an error 
+0

가능한 복제 [안드로이드의 사각형에 RectF 변환하는 가장 좋은 방법은 무엇입니까? (http://stackoverflow.com/questions/16449145/what-is-the-best - way-to-a-rect-to-a-rect-in-android) –

답변

16
RectF rect = new RectF(currentRect); 
관련 문제