AbsoluteCornerSize

public final class AbsoluteCornerSize implements CornerSize


A CornerSize that always uses the provided size and ignores the bounds.

Summary

Public constructors

AbsoluteCornerSize(float size)

Public methods

boolean
float

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
String

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()

toString

public String toString()