StateListShapeAppearanceModel

A state list of ShapeAppearanceModels, which are used to define the shapes for different states of a component or MaterialShapeDrawable.

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDefaultShape(withCornerSizeOverrides: Boolean): ShapeAppearanceModel
Link copied to clipboard
Returns a ShapeAppearanceModel for the given state set.
Link copied to clipboard
open fun isStateful(): Boolean
Whether or not the ShapeAppearance provides different shapes for states.
Link copied to clipboard
open fun swapCornerPositionRtl(flagSet: Int): Int
Link copied to clipboard
Link copied to clipboard
Returns a new ShapeAppearanceModel with the same edges and corners as the default shape, but with the corner size for all corners updated.