Lines Matching refs:rect
120 * or round rect support clipping.
170 * Sets the Outline to the rounded rect defined by the input rect, and
180 public void setRect(@NonNull Rect rect) {
181 setRect(rect.left, rect.top, rect.right, rect.bottom);
185 * Sets the Outline to the rounded rect defined by the input rect, and corner radius.
207 public void setRoundRect(@NonNull Rect rect, float radius) {
208 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
216 * @param outRect the rect to populate with the outline bounds, if set
229 * Returns the rounded rect radius, if set, or a value less than 0 if a path has
231 * indicates a non-rounded rect.
233 * @return the rounded rect radius, or value < 0
240 * Sets the outline to the oval defined by input rect.
249 // represent circle as round rect, for efficiency, and to enable clipping
269 public void setOval(@NonNull Rect rect) {
270 setOval(rect.left, rect.top, rect.right, rect.bottom);