AbsoluteCornerSize
public
final
class
AbsoluteCornerSize
extends Object
implements
CornerSize
java.lang.Object
|
↳ |
com.google.android.material.shape.AbsoluteCornerSize
|
A CornerSize
that always uses the provided size and ignores the bounds.
Summary
Public methods |
boolean
|
equals(Object o)
|
float
|
getCornerSize()
Returns the size of this corner.
|
float
|
getCornerSize(RectF bounds)
Returns the corner size that should be used given the full bounds of the shape.
|
int
|
hashCode()
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
|
Public constructors
AbsoluteCornerSize
public AbsoluteCornerSize (float size)
Public methods
equals
public boolean equals (Object o)
getCornerSize
public float getCornerSize ()
Returns the size of this corner. Bounds aren't required since the result is always the same.
getCornerSize
public float getCornerSize (RectF bounds)
Returns the corner size that should be used given the full bounds of the shape.
hashCode
public int hashCode ()