public function PositionedRectangle::getRotationOffset in Image Effects 8.3
Same name and namespace in other branches
- 8 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::getRotationOffset()
- 8.2 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::getRotationOffset()
Gets the rotation offset of the rectangle.
Return value
array The x/y offset required to reposition the rectangle fully in the first quadrant after it has been rotated.
File
- src/
Component/ PositionedRectangle.php, line 274
Class
- PositionedRectangle
- Rectangle algebra class.
Namespace
Drupal\image_effects\ComponentCode
public function getRotationOffset() {
return $this->rotationOffset;
}