AspectRatioAlign enumeration
AspectRatioAlign enumeration
Specifies alignment types for the ‘preserveAspectRatio’ attribute in SVG.
The AspectRatioAlign type exposes the following members:
Fields
Field | Description |
---|---|
NONE | Indicates that no uniform scaling is applied; the aspect ratio is not preserved. |
X_MIN_Y_MIN | Aligns the minimum X and minimum Y of the viewBox with the smallest X and Y values of the viewport. |
X_MID_Y_MIN | Aligns the midpoint X and minimum Y of the viewBox with the midpoint X and smallest Y value of the viewport. |
X_MAX_Y_MIN | Aligns the maximum X and minimum Y of the viewBox with the largest X and smallest Y value of the viewport. |
X_MIN_Y_MID | Aligns the minimum X and midpoint Y of the viewBox with the smallest X and midpoint Y value of the viewport. |
X_MID_Y_MID | Aligns the midpoint X and Y of the viewBox with the midpoint X and Y of the viewport. |
X_MAX_Y_MID | Aligns the maximum X and midpoint Y of the viewBox with the largest X and midpoint Y value of the viewport. |
X_MIN_Y_MAX | Aligns the minimum X and maximum Y of the viewBox with the smallest X and largest Y value of the viewport. |
X_MID_Y_MAX | Aligns the midpoint X and maximum Y of the viewBox with the midpoint X and largest Y value of the viewport. |
X_MAX_Y_MAX | Aligns the maximum X and maximum Y of the viewBox with the largest X and Y values of the viewport. |
See Also
- module
aspose.svg.builder