spriteSourceSize property
The offset and size of the trimmed texture inside the image.
Position represents the offset from the logical size, the size of the rect represents the size of the trimmed texture.
Rect spriteSourceSize = myTexture.spriteSourceSize;
Implementation
final Rect spriteSourceSize;