strokeCap property
StrokeCap
get
strokeCap
Gets or sets the style for how the ends of the stroke's line are drawn. The value must be one of "butt", "round", or "square". The default is "butt".
For more information, see Stroke Line Cap (w3.org).
Implementation
_i3.StrokeCap get strokeCap => _i3.StrokeCap.values.byName(_i4.getProperty(
this,
'strokeCap',
));
set
strokeCap
(StrokeCap value)
Implementation
set strokeCap(_i3.StrokeCap value) {
_i4.setProperty(
this,
'strokeCap',
value.name,
);
}