Rect.Offset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Offset(Point) | |
Offset(Double, Double) |
Offset(Point)
- Source:
- Rect.cs
- Source:
- Rect.cs
public:
Microsoft::Maui::Graphics::Rect Offset(Microsoft::Maui::Graphics::Point dr);
public Microsoft.Maui.Graphics.Rect Offset (Microsoft.Maui.Graphics.Point dr);
member this.Offset : Microsoft.Maui.Graphics.Point -> Microsoft.Maui.Graphics.Rect
Public Function Offset (dr As Point) As Rect
Parameters
- dr
- Point
Returns
Applies to
Offset(Double, Double)
- Source:
- Rect.cs
- Source:
- Rect.cs
public:
Microsoft::Maui::Graphics::Rect Offset(double dx, double dy);
public Microsoft.Maui.Graphics.Rect Offset (double dx, double dy);
member this.Offset : double * double -> Microsoft.Maui.Graphics.Rect
Public Function Offset (dx As Double, dy As Double) As Rect
Parameters
- dx
- Double
- dy
- Double