{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

DrawStyle

public sealed class DrawStyle

Known direct subclasses
Fill

Default DrawStyle indicating shapes should be drawn completely filled in with the provided color or pattern

Stroke

DrawStyle that provides information for drawing content with a stroke


Represents how the shapes should be drawn within a DrawScope

Summary

Protected constructors

Protected constructors

DrawStyle

protected DrawStyle()