Table of Contents

Method OuterRectsInsideContainer

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

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

container RectI

The rectangle that defines the container area. Only outer rectangles entirely within this area are included in the result.

parts NineRects.NineRectsParts

A 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.