Skip to main content

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.v24.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