SeslRoundedChunkingDrawable
Represents a drawable for rendering a rounded corner "chunk" or segment. This class is responsible for drawing a single rounded corner with a specified radius, paint, and rotation angle. It utilizes path manipulation to create smooth corner effects.
The drawable can be configured with a specific corner radius, a Paint object to define its appearance (color, style, etc.), and an angle to rotate the corner. This allows for drawing individual rounded corners at different orientations, which can then be combined to form more complex rounded shapes.
Key functionalities include:
- Generating a Path for a smooth rounded rectangle corner.
- Drawing the rounded corner onto a Canvas.
- Handling opacity, alpha, and color filter changes.
- Calculating and applying appropriate scaling and transformations to the corner path.
This class is typically used internally by SeslRoundedCorner to manage and draw the individual corners of a rounded rectangle.