Rect.

Translate(Vector) Method

Summary

Translates the rectangle by an offset.
Namespace
Avalonia
Containing Type
Rect

Syntax

public Rect Translate(Vector offset)

Parameters

Name Type Description
offset Vector The offset.

Return Value

Type Description
Rect The translated rectangle.