Style
public enum Style : UInt32
Set Style to fill, stroke, or both fill and stroke geometry.
The stroke and fill share all paint attributes; for instance, they are drawn with the same color.
Use .strokeAndFill
to avoid hitting the same pixels twice with a stroke draw and
a fill draw.
-
set to fill geometry
Declaration
Swift
case fill = 0
-
set to stroke geometry
Declaration
Swift
case stroke = 1
-
sets to stroke and fill geometry
Declaration
Swift
case strokeAndFill