public function IconBuilderInterface::setStrokeWidth in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setStrokeWidth()
Sets the stroke width.
Parameters
int|null $stroke_width: The width of region borders.
Return value
$this
1 method overrides IconBuilderInterface::setStrokeWidth()
- SvgIconBuilder::setStrokeWidth in core/
lib/ Drupal/ Core/ Layout/ Icon/ SvgIconBuilder.php - Sets the stroke width.
File
- core/
lib/ Drupal/ Core/ Layout/ Icon/ IconBuilderInterface.php, line 97
Class
- IconBuilderInterface
- Provides an interface for building layout icons.
Namespace
Drupal\Core\Layout\IconCode
public function setStrokeWidth($stroke_width);