RectShape

Class of android.graphics.drawable.shapes · RectShape.java · Android's reference

public class RectShape extends Shape

RectShape ← Shape

A rectangle.

Extended in the framework by

Constructors

public RectShape() empty body source

Methods

public void draw(Canvas canvas, Paint paint) source
public void getOutline(Outline outline) source
protected void onResize(float width, float height) source
protected final RectF rect() source
public RectShape 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.