SeslSubheaderRoundedCorner

Provides rounded corners for subheaders. This class extends SeslRoundedCorner to implement rounded corners specifically for subheader elements. It handles the drawing of rounded corners based on the view's position and dimensions. The rounded corners can be applied to any combination of the four corners (top-left, top-right, bottom-left, bottom-right) as specified by the `mRoundedCornerMode` flag.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)

Functions

Link copied to clipboard
open fun drawRoundedCorner(@NonNull view: View, @NonNull canvas: Canvas)
Draws the rounded corners for the specified view onto the given canvas.
open fun drawRoundedCorner(left: Int, top: Int, right: Int, bottom: Int, @NonNull canvas: Canvas)