AccessibilityPainter

Abstraction for something that can be drawn with a content description.

Properties

Link copied to clipboard
abstract val contentDescription: String?

text used by accessibility services to describe what this. Painter represents. This text should be localized. This should always be provided unless this image is used for decorative purposes, and does not represent a meaningful action that a user can take. In case it is null or left empty, no Semantics will be set inside the component and should be set outside the AccessibilityPainter.

Link copied to clipboard
abstract val painter: Painter

Painter to draw.