ChartDirector 7.0 (Python Edition)

DrawArea.setClipRect


Usage

setClipRect(left, top, right, bottom)

Description

Sets the clip rectangle.

When performing graphics operation, only regions inside the clip rectangle will be affected. Regions outside will be unaffected.

Arguments

ArgumentDefaultDescription
left(Mandatory)The x coordinate of the left side of the clip rectangle.
top(Mandatory)The y coordinate of the top side of the clip rectangle.
right(Mandatory)The x coordinate of the right side of the clip rectangle.
bottom(Mandatory)The y coordinate of the bottom side of the clip rectangle.

Return Value

None