get_source_rect


Description:

public unowned Rectangle? get_source_rect ()

Gets the source rectangle of the sprite.

Parameters:

this

a [class@VectorSprite]

Returns:

the sprite's source rectangle, or null if the entire paintable is used