You are here

protected property PositionedRectangle::$rotationOffset in Image Effects 8.3

Same name and namespace in other branches
  1. 8 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::rotationOffset
  2. 8.2 src/Component/PositionedRectangle.php \Drupal\image_effects\Component\PositionedRectangle::rotationOffset

The offset needed to reposition the rectangle fully into first quadrant.

Rotating a rectangle which is sticking to axes in the first quadrant results in some of its corners to shift to other quadrants. The x/y offset required to reposition it fully in the first quadrant is stored here.

Type: array

File

src/Component/PositionedRectangle.php, line 65

Class

PositionedRectangle
Rectangle algebra class.

Namespace

Drupal\image_effects\Component

Code

protected $rotationOffset = [
  0,
  0,
];