Tryst::Vector::StrokeCap
Inherits Enum < Comparable < Value < Object
The shape drawn at the two ends of an open stroked path (e.g. Context#arc, which never closes its own path - see its own doc comment). Meaningless on a closed shape (rect/circle/polygon) - there are no open endpoints for a cap to apply to.
Constants
Butt = 0
The stroke ends exactly at the endpoint - ThorVG's own default.
Round = 1
Extended past the endpoint by a half circle (radius = half the stroke width) - what makes a spinner's arc read as a smooth rounded sweep instead of a hard-edged wedge.
Square = 2
Extended past the endpoint by a square the same width as the stroke.