is_in_frame


Description:

public bool is_in_frame ()

Returns true if this is in the process of drawing to its surface after a call to begin_frame and not yet having called end_frame.

In this situation, drawing commands may be effecting the contents of a this's surface.

Parameters:

this

a DrawContext

Returns:

true if the context is between begin_frame and end_frame calls.