Top

[enum] anychart.graphics.vector.Image.Align Improve this Doc

Align enumeration.

Try it:

Value Description
none Do not force uniform scaling. Scale the graphic content of the given element non-uniformly if necessary such that the element's bounding box exactly matches the viewport rectangle. (Note: if is none, then the optional value is ignored.)
x-max-y-max Force uniform scaling.
Align the + of the element's ‘viewBox’ with the maximum X value of the viewport.
Align the + of the element's ‘viewBox’ with the maximum Y value of the viewport.
x-max-y-mid Force uniform scaling.
Align the + of the element's ‘viewBox’ with the maximum X value of the viewport.
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
x-max-y-min Force uniform scaling.
Align the + of the element's ‘viewBox’ with the maximum X value of the viewport.
Align the of the element's ‘viewBox’ with the smallest Y value of the viewport.
x-mid-y-max Force uniform scaling.
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
Align the + of the element's ‘viewBox’ with the maximum Y value of the viewport.
x-mid-y-mid Force uniform scaling.
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
x-mid-y-min Force uniform scaling.
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
Align the of the element's ‘viewBox’ with the smallest Y value of the viewport.
x-min-y-max Force uniform scaling.
Align the of the element's ‘viewBox’ with the smallest X value of the viewport.
Align the + of the element's ‘viewBox’ with the maximum Y value of the viewport.
x-min-y-mid Force uniform scaling.
Align the of the element's ‘viewBox’ with the smallest X value of the viewport.
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
x-min-y-min Force uniform scaling.
Align the of the element's ‘viewBox’ with the smallest X value of the viewport.
Align the of the element's ‘viewBox’ with the smallest Y value of the viewport.