function Rectangle::getBoundingWidth

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Utility/Rectangle.php \Drupal\Component\Utility\Rectangle::getBoundingWidth()
  2. 10 core/lib/Drupal/Component/Utility/Rectangle.php \Drupal\Component\Utility\Rectangle::getBoundingWidth()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.