View Source Scenic.Primitive.Style.Fill (Scenic v0.11.2)
Fill primitives with the specified paint.
Example:
graph
|> rectangle( {10, 20}, fill: :blue )
data-format
Data Format
Any valid paint. This can any be any paint format defined by the following modules:
Scenic.Primitive.Style.Paint.Color
Scenic.Primitive.Style.Paint.Image
Scenic.Primitive.Style.Paint.LinearGradient
Scenic.Primitive.Style.Paint.RadialGradient
Scenic.Primitive.Style.Paint.Stream
See the documentation for the paint module for further details.