This class provides two transformation and a descendant-encapsulation functions that can be applied to Bounds, and IGraphicsBounds objects.
Static Public Member Functions | |
| static Bounds | FromGlobalTo (this Bounds boundsToTransform, Transform toThisTransform) |
| Transforms a global bounds into a local bounds, relative to the provided transform. | |
| static Bounds | GetBoundsIncludingDecendants (Transform localToThisTransform) |
| Gets all IGraphicsBounds components in provided transform's object, and it's children. All bounds are transformed relative to the provided transform, and encapsulated into the result. | |
| static Bounds | RelativeTo (this IGraphicsBounds boundsToTransform, Transform localToThisTransform) |
| Converts a local bounds to one relative to the provided transform. Assumes that the bounds are a descendant of the transform. | |