SESL Material
Toggle table of contents
1.12.0+1.0.31-sesl8+rev0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SESL Material
SESL Material
/
com.google.android.material.shape
/
CutCornerTreatment
Cut
Corner
Treatment
open
class
CutCornerTreatment
:
CornerTreatment
A corner treatment which cuts or clips the original corner of a shape with a straight line.
Members
Constructors
Cut
Corner
Treatment
Link copied to clipboard
constructor
(
)
constructor
(
size
:
Float
)
Instantiates a cut corner treatment of a given size.
Functions
get
Corner
Path
Link copied to clipboard
open
fun
getCornerPath
(
@
NonNull
shapePath
:
ShapePath
,
angle
:
Float
,
interpolation
:
Float
,
radius
:
Float
)
Generates a
ShapePath
for this corner treatment.