RoundRectShape

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.

Constructors

public RoundRectShape(float[] outerRadii, RectF inset, float[] innerRadii) source

Methods

public void draw(Canvas canvas, Paint paint) source
public void getOutline(Outline outline) source
protected void onResize(float w, float h) source
public RoundRectShape clone() throws CloneNotSupportedException 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.