Lines Matching defs:rect
113 * or round rect support clipping.
158 * Sets the Outline to the rounded rect defined by the input rect, and
168 public void setRect(@NonNull Rect rect) {
169 setRect(rect.left, rect.top, rect.right, rect.bottom);
173 * Sets the Outline to the rounded rect defined by the input rect, and corner radius.
192 public void setRoundRect(@NonNull Rect rect, float radius) {
193 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
201 * @param outRect the rect to populate with the outline bounds, if set
214 * Returns the rounded rect radius, if set, or a value less than 0 if a path has
216 * indicates a non-rounded rect.
218 * @return the rounded rect radius, or value < 0
225 * Sets the outline to the oval defined by input rect.
234 // represent circle as round rect, for efficiency, and to enable clipping
249 public void setOval(@NonNull Rect rect) {
250 setOval(rect.left, rect.top, rect.right, rect.bottom);