Skip to main content

GraphicsCache.IsNeedDrawRect(Rectangle) Method

Returns whether the region which is bounded by the specified rectangle needs to be redrawn.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public bool IsNeedDrawRect(
    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 region specified by the r parameter or its portion is visible the IsNeedDrawRect method returns true. The region’s visibility is calculated taking into account the current clipping region.

See Also