PixelRect.

Translate(PixelVector) Method

Summary

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

Syntax

public PixelRect Translate(PixelVector offset)

Parameters

Name Type Description
offset PixelVector The offset.

Return Value

Type Description
PixelRect The translated rectangle.