Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

CornerPathEffect

extends PathEffect
java.lang.Object
   ↳ android.graphics.PathEffect
     ↳ android.graphics.CornerPathEffect

Summary

Public Constructors
CornerPathEffect (float radius)
Transforms geometries that are drawn (either STROKE or FILL styles) by replacing any sharp angles between line segments into rounded angles of the specified radius.
[Expand]
Inherited Methods
From class android.graphics.PathEffect
From class java.lang.Object

Public Constructors

public CornerPathEffect (float radius)

Added in API level 1

Transforms geometries that are drawn (either STROKE or FILL styles) by replacing any sharp angles between line segments into rounded angles of the specified radius.

Parameters
radius Amount to round sharp angles between line segments.