Class of android.graphics.drawable.shapes · RectShape.java · Android's reference
public class RectShape extends Shape
RectShape ← Shape
A rectangle.
public RectShape() empty body sourcepublic void draw(Canvas canvas, Paint paint) sourcepublic void getOutline(Outline outline) sourceprotected void onResize(float width, float height) sourceprotected final RectF rect() sourcepublic RectShape 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.