Rect.offset
graphene.rect.Rect offset(float dX, float dY)Offsets the origin by d_x and d_y.
The size of the rectangle is unchanged.
Parameters
dX | the horizontal offset |
dY | the vertical offset |
Returns
the offset rectangle
graphene.rect.Rect offset(float dX, float dY)Offsets the origin by d_x and d_y.
The size of the rectangle is unchanged.
dX | the horizontal offset |
dY | the vertical offset |