VNUtils Class
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.
A set of utility functions for working with images.
[ObjCRuntime.TV(11, 0)]
public static class VNUtils
type VNUtils = class
- Inheritance
-
VNUtils
- Attributes
Properties
NormalizedIdentityRect |
Gets the normalized identity CGRect [0, 0, 1, 1]. |
Methods
GetImagePoint(CGPoint, nuint, nuint) |
Calculates the non-normalized point in an image of the specified size for the |
GetImagePoint(Vector2, CGRect, nuint, nuint) |
Calculates the non-normalized point in an image of the specified size, given the normalized |
GetImageRect(CGRect, nuint, nuint) |
Calculates the non-normalized rectangle in an image of the specified size from |
GetNormalizedFaceBoundingBoxPoint(Vector2, CGRect, nuint, nuint) |
Gets the point, normalized in the range [0..1, 0..1] in an image of the given size, based on |
GetNormalizedRect(CGRect, nuint, nuint) |
Gets the normalized rectangle corresponding to |
IsIdentityRect(CGRect) |
Returns |