Enum AspectRatioAlign
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Specifies alignment types for the ‘preserveAspectRatio’ attribute in SVG.
[ComVisible(true)]
public enum AspectRatioAlign
Fields
None = 0
Indicates that no uniform scaling is applied; the aspect ratio is not preserved.
XMaxYMax = 9
Aligns the maximum X and maximum Y of the viewBox with the largest X and Y values of the viewport.
XMaxYMid = 6
Aligns the maximum X and midpoint Y of the viewBox with the largest X and midpoint Y value of the viewport.
XMaxYMin = 3
Aligns the maximum X and minimum Y of the viewBox with the largest X and smallest Y value of the viewport.
XMidYMax = 8
Aligns the midpoint X and maximum Y of the viewBox with the midpoint X and largest Y value of the viewport.
XMidYMid = 5
Aligns the midpoint X and Y of the viewBox with the midpoint X and Y of the viewport.
XMidYMin = 2
Aligns the midpoint X and minimum Y of the viewBox with the midpoint X and smallest Y value of the viewport.
XMinYMax = 7
Aligns the minimum X and maximum Y of the viewBox with the smallest X and largest Y value of the viewport.
XMinYMid = 4
Aligns the minimum X and midpoint Y of the viewBox with the smallest X and midpoint Y value of the viewport.
XMinYMin = 1
Aligns the minimum X and minimum Y of the viewBox with the smallest X and Y values of the viewport.