TileBrushCalculator.

CalculateTranslate(AlignmentX, AlignmentY, Rect, Rect, Vector) Method

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