Android examples for android.graphics:RectF
get Reduce Rect F
import android.graphics.RectF; public class Main { public static RectF getReduceRectF(RectF aRectF, int aReduceSize) { RectF rectF = new RectF(aRectF.left + aReduceSize, aRectF.top + aReduceSize, aRectF.right - aReduceSize, aRectF.bottom - aReduceSize);/*from w w w . ja v a 2 s . co m*/ return rectF; } }