Utils.ToAbsVector4(Thickness) Method
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.
Converts the Thickness object to Vector4. If the Thickness object contains negative components they will be converted to positive values. If the Thickness object's component have values NaN, PositiveInfinity or NegativeInfinity, then Vector4.Zero will be returned.
C#
public static System.Numerics.Vector4 ToAbsVector4 (this Windows.UI.Xaml.Thickness thickness);
static member ToAbsVector4 : Windows.UI.Xaml.Thickness -> System.Numerics.Vector4
<Extension()>
Public Function ToAbsVector4 (thickness As Thickness) As Vector4
- thickness
- Thickness
Thickness object
Vector2
Produit | Versions |
---|---|
Windows Community Toolkit | 7.0.0, 7.1.0 |