getRegion method

GRect? getRegion(
  1. String name
)

Returns the region of the sub-texture with the given name.

Implementation

GRect? getRegion(String name) {
  return _subTextures![name]?.region;
}