MatrixExtensions.Round(Matrix, Int32) 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.
Rounds the non-offset elements of a matrix to avoid issues due to floating point imprecision and returns the result.
public static Windows.UI.Xaml.Media.Matrix Round (this Windows.UI.Xaml.Media.Matrix matrix, int decimalsAfterRound);
static member Round : Windows.UI.Xaml.Media.Matrix * int -> Windows.UI.Xaml.Media.Matrix
<Extension()>
Public Function Round (matrix As Matrix, decimalsAfterRound As Integer) As Matrix
Parameters
- matrix
- Matrix
The matrix to round.
- decimalsAfterRound
- Int32
The number of decimals after the round.
Returns
The rounded matrix.