getFrame method

GRect? getFrame(
  1. String name
)

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

Implementation

GRect? getFrame(String name) {
  return _subTextures![name]?.frame;
}