Top
You are looking at an outdated 7.11.1 version of this document. Switch to the 8.0.1 version to see the up to date information.

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

Align enumeration.

Try it:

Name Value Description
NONE 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 xMaxYMax 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 xMaxYMid 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 xMaxYMin 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 xMidYMax 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 xMidYMid 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 xMidYMin 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 xMinYMax 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 xMinYMid 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 xMinYMin 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.