Shape.textureRect

The sub-rectangle of the texture that the shape will display.

The texture rect is useful when you don't want to display the whole texture, but rather a part of it. By default, the texture rect covers the entire texture.

  1. IntRect textureRect [@property setter]
  2. IntRect textureRect [@property getter]
    class Shape
    @property const
    textureRect
    ()

Meta