This topic has not yet been rated - Rate this topic

Rect.Offset Method

Translates the rectangle by the specified amount.
Name Description
Rect.Offset (Vector) Translates this rectangle by the specified amount.
Rect.Offset (Double, Double) Translates this rectangle by the specified horizontal and vertical amounts.
Rect.Offset (Rect, Vector) Translates the specified rectangle by the specified amount and returns the resulting Rect.
Rect.Offset (Rect, Double, Double) Translates the specified rectangle by the specified horizontal and vertical amounts and returns the resulting Rect.

Calling this method on the empty rectangle (Rect.Empty) is illegal.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.