get_current_image


Description:

public virtual Paintable get_current_image ()

Gets an immutable paintable for the current contents displayed by this.

This is useful when you want to retain the current state of an animation, for example to take a screenshot of a running animation.

If the this is already immutable, it will return itself.

Parameters:

this

a Paintable

Returns:

An immutable paintable for the current contents of this.