RectangleAlignment

RectangleAlignment

Overview

RectangleAlignment is a enum in Aspose.Slides FOSS for Python.

Defines 2-dimension allignment.

This enumeration defines 10 values: NOT_DEFINED, TOP_LEFT, TOP, TOP_RIGHT, LEFT, CENTER, RIGHT, BOTTOM_LEFT, BOTTOM, BOTTOM_RIGHT.

Values

ValueDescription
NOT_DEFINEDRepresents an undefined or default rectangle alignment
TOP_LEFTAligns the rectangle to the top‑left corner
TOPAligns the rectangle to the top edge, centered horizontally
TOP_RIGHTAligns the rectangle to the top‑right corner
LEFTAligns the rectangle to the left edge, centered vertically
CENTERAligns the rectangle to the center of both axes
RIGHT
BOTTOM_LEFTAligns the rectangle to the bottom‑left corner
BOTTOM
BOTTOM_RIGHTAligns the rectangle to the bottom‑right corner

See Also