strokeWidth property
num
get
strokeWidth
Gets or sets the thickness of the stroke's pen.
Value must be a real number greater than or equal to zero. The default value is 1.0.
A value of zero will cause the stroke not to be drawn. However, Main Shapes of Link Selection Adornments with a strokeWidth of 0 will inherit the strokeWidth from the Link's main Shape.
The stroke width will affect the GraphObject#measuredBounds and GraphObject#actualBounds of this shape. The stroke is drawn centered on the path of the geometry.
Implementation
_i2.num get strokeWidth => _i4.getProperty(
this,
'strokeWidth',
);
set
strokeWidth
(num value)
Implementation
set strokeWidth(_i2.num value) {
_i4.setProperty(
this,
'strokeWidth',
value,
);
}