Method OuterRectsInsideContainer
OuterRectsInsideContainer(RectI, NineRectsParts)
Returns an array of outer rectangles that are fully contained within the specified container rectangle.
public readonly RectI[] OuterRectsInsideContainer(RectI container, NineRects.NineRectsParts parts = NineRectsParts.Outer)
Parameters
containerRectIThe rectangle that defines the container area. Only outer rectangles entirely within this area are included in the result.
partsNineRects.NineRectsPartsA bitwise combination of values that specifies which outer parts to consider. Defaults to Outer.
Returns
- RectI[]
An array of RectI values representing the outer rectangles that are fully contained within the container. The array is empty if no such rectangles are found.