- Namespace
- Avalonia
.Rendering .Utilities - Containing Type
- TileBrushCalculator
Syntax
public static Vector CalculateTranslate(AlignmentX alignmentX, AlignmentY alignmentY, Rect sourceRect, Rect destinationRect, Vector scale)
Parameters
Name | Type | Description |
---|---|---|
alignmentX | AlignmentX | |
alignmentY | AlignmentY | |
sourceRect | Rect | |
destinationRect | Rect | |
scale | Vector |
Return Value
Type | Description |
---|---|
Vector |