Table of Contents

Constructor NineRects

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

NineRects(RectI, RectI)

Initializes a new instance of the NineRects struct.

public NineRects(RectI container, RectI patch)

Parameters

container RectI

Rectangle to slice.

patch RectI

Rectangle which defines sliced parts.

Remarks

patch coordinates are not counted from top-left corner of the container, these rectangles are assumed to be siblings.