get_target_rect


Description:

[ Version ( since = "1.14" ) ]
public bool get_target_rect (out Rect rect)

Retrieves the origin and size of the offscreen buffer used by this to paint the actor to which it has been applied.

This function should only be called by OffscreenEffect implementations, from within the paint_target virtual function.

Parameters:

this

a OffscreenEffect

rect

return location for the target area

Returns:

true if the offscreen buffer has a valid rectangle, and false otherwise