You are here

public function PositionedRectangle::getWidth in Image Effects 8.3

Same name and namespace in other branches
  1. 8 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::getWidth()
  2. 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\Component

Code

public function getWidth() {
  return $this->width;
}