Region

Class of android.graphics · Region.java · Android's reference

public class Region

An area: kept as its bounds, which is what the framework's users of it here need.

Nested types

Constructors

public Region() empty body source
public Region(Region region) source
public Region(Rect r) source
public Region(int left, int top, int right, int bottom) source

Methods

public void setEmpty() source
public boolean set(Region region) source
public boolean set(Rect r) source
public boolean set(int left, int top, int right, int bottom) source
public boolean setPath(Path path, Region clip) source
public boolean isEmpty() source
public boolean isRect() source
public boolean isComplex() source
public Rect getBounds() source
public boolean getBounds(Rect r) source
public boolean contains(int x, int y) source
public boolean quickContains(Rect r) source
public boolean quickContains(int left, int top, int right, int bottom) source
public boolean quickReject(Rect r) source
public boolean quickReject(int left, int top, int right, int bottom) source
public void translate(int dx, int dy) source
public final boolean union(Rect r) source
public boolean op(Rect r, Op op) source
public boolean op(int left, int top, int right, int bottom, Op op) source
public boolean op(Region region, Op op) source
public boolean op(Rect a, Rect b, Op op) source
public boolean op(Rect rect, Region region, Op op) source
public boolean op(Region a, Region b, Op op) source
public boolean equals(Object o) source
public int hashCode() source
public String toString() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.