You are here

public function Rectangle::getBoundingWidth in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Utility/Rectangle.php \Drupal\Component\Utility\Rectangle::getBoundingWidth()
  2. 9 core/lib/Drupal/Component/Utility/Rectangle.php \Drupal\Component\Utility\Rectangle::getBoundingWidth()

Gets the bounding width of the rectangle.

Return value

int The bounding width of the rotated rectangle.

File

core/lib/Drupal/Component/Utility/Rectangle.php, line 181

Class

Rectangle
Rectangle rotation algebra class.

Namespace

Drupal\Component\Utility

Code

public function getBoundingWidth() {
  return $this->boundingWidth;
}