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.
ImageDimensionsInterfaceImportantPartInterfacePictureConfigurationInterfacePictureConfigurationItemInterfaceResizeCalculatorInterfaceResizeConfigurationInterfaceResizeCoordinatesInterfaceResizeOptionsInterface
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().