public function PositionedRectangle::getWidth in Image Effects 8.3
Same name and namespace in other branches
- 8 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::getWidth()
- 8.2 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::getWidth()
Gets the width of the rectangle.
Return value
int The width of the rectangle.
1 call to PositionedRectangle::getWidth()
- PositionedRectangle::resize in src/
Component/ PositionedRectangle.php - Resizes the rectangle and any additional point.
File
- src/
Component/ PositionedRectangle.php, line 253
Class
- PositionedRectangle
- Rectangle algebra class.
Namespace
Drupal\image_effects\ComponentCode
public function getWidth() {
return $this->width;
}