Struct NineRects
Implements slicing of the rectangle into 9 parts.
public struct NineRects
Remarks
Issue with details is here: https://github.com/alternetsoft/AlternetUI/issues/115.
Constructors
- NineRects(RectI, RectI)
Initializes a new instance of the NineRects struct.
Properties
- BottomCenter
Bottom-center corner of the Container.
- BottomLeft
Bottom-left corner of the Container.
- BottomRight
Bottom-right corner of the Container.
- CenterLeft
Center-left corner of the Container.
- CenterRight
Center-right corner of the Container.
- Container
Rectangle which is sliced.
- Patch
Rectangle which defines sliced parts.
- Rects
Gets all 9 rectangles.
Methods
- GetRect(HorizontalAlignment, VerticalAlignment)
Gets rectangle specified by
horz
andvert
params. Only left, center, right, top, bottom values are supported.