Java android.graphics Outline fields, constructors, methods, implement or subclass

Example usage for Java android.graphics Outline fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics Outline.

The text is from its open source code.

Constructor

Outline()
Constructs an empty Outline.

Method

booleanisEmpty()
Returns whether the Outline is empty.
voidoffset(int dx, int dy)
Offsets the Outline by (dx,dy)
voidsetConvexPath(@NonNull Path convexPath)
Sets the Constructs an Outline from a android.graphics.Path#isConvex() convex path .
voidsetOval(int left, int top, int right, int bottom)
Sets the outline to the oval defined by input rect.
voidsetRect(int left, int top, int right, int bottom)
Sets the Outline to the rounded rect defined by the input rect, and corner radius.
voidsetRoundRect(int left, int top, int right, int bottom, float radius)
Sets the Outline to the rounded rect defined by the input rect, and corner radius.