Class of android.graphics.drawable.shapes · RoundRectShape.java · Android's reference
public class RoundRectShape extends RectShape
RoundRectShape ← RectShape ← Shape
A rectangle with round corners, with an optional inner round rectangle cut out of it.
public RoundRectShape(float[] outerRadii, RectF inset, float[] innerRadii) sourcepublic void draw(Canvas canvas, Paint paint) sourcepublic void getOutline(Outline outline) sourceprotected void onResize(float w, float h) sourcepublic RoundRectShape clone() throws CloneNotSupportedException sourceMade 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.