srcSize property

Vector2 get srcSize

Implementation

Vector2 get srcSize => Vector2(src.width, src.height);
set srcSize (Vector2? size)

Implementation

set srcSize(Vector2? size) {
  final actualSize = size ?? image.size;
  src = srcPosition.toPositionedRect(actualSize);
}