CornerSize

public interface CornerSize

Known direct subclasses
AbsoluteCornerSize

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

RelativeCornerSize

A CornerSize that takes a percent and computes the size used based on the length of the shortest edge adjacent to the corner.


Allows clients to describe the size of a corner independently from a CornerTreatment.

Summary

Public methods

abstract float
getCornerSize(RectF bounds)

Returns the corner size that should be used given the full bounds of the shape.

Public methods

getCornerSize

abstract float getCornerSize(RectF bounds)

Returns the corner size that should be used given the full bounds of the shape.