Scenic v0.10.2 Scenic.Primitive.Circle View Source
Draw a circle on the screen.
Data
radius
The data for an arc is a single number.
radius
- the radius of the arc
Styles
This primitive recognizes the following styles
hidden
- show or hide the primitivefill
- fill in the area of the primitivestroke
- stroke the outline of the primitive. In this case, only the curvy part.
Usage
You should add/modify primitives via the helper functions in
Scenic.Primitives
Link to this section Summary
Functions
Returns a list of styles recognized by this primitive
Link to this section Functions
Link to this function
valid_styles()
View Source
valid_styles()
View Source
valid_styles() :: [:hidden | :fill | :stroke]
valid_styles() :: [:hidden | :fill | :stroke]
Returns a list of styles recognized by this primitive.