Scalar type hints for parameters and return type hints were added to all classes and interfaces. Update derived classes accordingly.
The following interfaces got removed, use the corresponding classes instead.
ImageDimensionsInterface
ImportantPartInterface
PictureConfigurationInterface
PictureConfigurationItemInterface
ResizeCalculatorInterface
ResizeConfigurationInterface
ResizeCoordinatesInterface
ResizeOptionsInterface
The ImportantPart
class got reworked and now uses relative values as fractions
between 0
and 1
to represent X/Y coordinates and width/height dimensions.
Replace getPosition()
with getX()
and getY()
. Replace getSize()
with
getWidth()
and getHeight()
.