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.

In SESL9, key performance and functional enhancements include:

Constructors

Link copied to clipboard
constructor(radius: Int, @NonNull paint: @NonNull Paint, angle: Float)

Functions

Link copied to clipboard
open fun draw(@NonNull canvas: @NonNull Canvas)
Link copied to clipboard
Link copied to clipboard
open fun getOpacity(): Int
Link copied to clipboard
@NonNull
open fun getSmoothCornerRectPath(cornerRadius: Float, width: Float, height: Float, adjustScale: Float, scale: Float): @NonNull Path
Link copied to clipboard
open fun setAlpha(@IntRange(from = 0, to = 255) alpha: Int)
Link copied to clipboard
open fun setColorFilter(@Nullable colorFilter: @Nullable ColorFilter)