Absolute

class Absolute(val sizeDp: Float, cornerTreatment: CornerTreatment) : Corner

Defines an absolute size for a corner (in dp).

Parameters

sizeDp

the size of the corner (in dp).

Constructors

Link copied to clipboard
constructor(sizeDp: Float, cornerTreatment: CornerTreatment)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getCornerSize(availableCornerSize: Float, density: Float): Float

Calculates the size of the corner.