RectF


public class RectF
extends Object implements Parcelable

java.lang.Object
   ↳ android.graphics.RectF


RectF holds four float coordinates for a rectangle. The rectangle is represented by the coordinates of its 4 edges (left, top, right, bottom). These fields can be accessed directly. Use width() and height() to retrieve the rectangle's width and height. Note: most methods do not check to see that the coordinates are sorted correctly (i.e. left <= right and top <= bottom).

Summary

Inherited constants

Fields

public static final Creator<RectF> CREATOR

public float bottom

public float left

public float right

public float top

Public constructors

RectF()

Create a new emp