Sets the cap style for stroked lines and curves
style is one of :butt, :round, or :projecting_square
NOTE: If this method is never called, :butt will be used by default.
Alias for cap_style
[Validate]