Skip to main content
A newer version of this page is available. .

GraphicsCache.IsNeedDrawRectEx(Rectangle) Method

Returns whether the region which is bounded by the specified rectangle needs to be redrawn, taking into account clip regions, if any.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public bool IsNeedDrawRectEx(
    Rectangle r
)

Parameters

Name Type Description
r Rectangle

A Rectangle structure that specifies the rectangle to test.

Returns

Type Description
Boolean

true, if the specified rectangle needs to be redrawn; otherwise, false.

Remarks

If the rectangle specified by the r parameter or its portion is visible and any of clip regions intersects with this rectangle the IsNeedDrawRectEx method returns true.

See Also