rotationFocusPoint property

  1. @override
Offset? rotationFocusPoint
override

The center of the rotation transformation. It is a coordinate referring to the absolute dimensions of the image.

Implementation

@override
Offset? get rotationFocusPoint => value.rotationFocusPoint;
  1. @override
void rotationFocusPoint=(Offset? rotationFocusPoint)
override

The center of the rotation transformation. It is a coordinate referring to the absolute dimensions of the image.

Implementation

@override
set rotationFocusPoint(Offset? rotationFocusPoint) {
  if (value.rotationFocusPoint == rotationFocusPoint) {
    return;
  }
  prevValue = value;
  value = PhotoViewControllerValue(
    position: position,
    scale: scale,
    rotation: rotation,
    rotationFocusPoint: rotationFocusPoint,
  );
}