Skip to content

Commit 9de8aa8

Browse files
committed
fix acgraph.vector.Image.Align enum
1 parent bab987b commit 9de8aa8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/vector/Image.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,55 +95,55 @@ acgraph.vector.Image.Align = {
9595
Align the <min-x> of the element's ‘viewBox’ with the smallest X value of the viewport.
9696
Align the <min-y> of the element's ‘viewBox’ with the smallest Y value of the viewport.
9797
*/
98-
X_MIN_Y_MIN: 'x-min-y-min',
98+
X_MIN_Y_MIN: 'xMinYMin',
9999
/**
100100
* Force uniform scaling.
101101
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
102102
Align the <min-y> of the element's ‘viewBox’ with the smallest Y value of the viewport.
103103
*/
104-
X_MID_Y_MIN: 'x-mid-y-min',
104+
X_MID_Y_MIN: 'xMidYMin',
105105
/**
106106
* Force uniform scaling.
107107
Align the <min-x>+<width> of the element's ‘viewBox’ with the maximum X value of the viewport.
108108
Align the <min-y> of the element's ‘viewBox’ with the smallest Y value of the viewport.
109109
*/
110-
X_MAX_Y_MIN: 'x-max-y-min',
110+
X_MAX_Y_MIN: 'xMaxYMin',
111111
/**
112112
* Force uniform scaling.
113113
Align the <min-x> of the element's ‘viewBox’ with the smallest X value of the viewport.
114114
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
115115
*/
116-
X_MIN_Y_MID: 'x-min-y-mid',
116+
X_MIN_Y_MID: 'xMinYMid',
117117
/**
118118
* Force uniform scaling.
119119
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
120120
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
121121
*/
122-
X_MID_Y_MID: 'x-mid-y-mid',
122+
X_MID_Y_MID: 'xMidYMid',
123123
/**
124124
* Force uniform scaling.
125125
Align the <min-x>+<width> of the element's ‘viewBox’ with the maximum X value of the viewport.
126126
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
127127
*/
128-
X_MAX_Y_MID: 'x-max-y-mid',
128+
X_MAX_Y_MID: 'xMaxYMid',
129129
/**
130130
* Force uniform scaling.
131131
Align the <min-x> of the element's ‘viewBox’ with the smallest X value of the viewport.
132132
Align the <min-y>+<height> of the element's ‘viewBox’ with the maximum Y value of the viewport.
133133
*/
134-
X_MIN_Y_MAX: 'x-min-y-max',
134+
X_MIN_Y_MAX: 'xMinYMax',
135135
/**
136136
* Force uniform scaling.
137137
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
138138
Align the <min-y>+<height> of the element's ‘viewBox’ with the maximum Y value of the viewport.
139139
*/
140-
X_MID_Y_MAX: 'x-mid-y-max',
140+
X_MID_Y_MAX: 'xMidYMax',
141141
/**
142142
* Force uniform scaling.
143143
Align the <min-x>+<width> of the element's ‘viewBox’ with the maximum X value of the viewport.
144144
Align the <min-y>+<height> of the element's ‘viewBox’ with the maximum Y value of the viewport.
145145
*/
146-
X_MAX_Y_MAX: 'x-max-y-max'
146+
X_MAX_Y_MAX: 'xMaxYMax'
147147
};
148148

149149

0 commit comments

Comments
 (0)