Skip to main content

UnaryNegation Operator

Negates the given matrix by multiplying all values by -1.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static Matrix operator -(
Matrix value
)

Parameters​

  Matrix
The source matrix.

Return Value​

Matrix
The negated matrix.

See Also​

Reference​

Matrix Structure
Avalonia Namespace