@@ -43,7 +43,7 @@ var Shadings = {};
43
43
44
44
// Radial and axial shading have very similar implementations
45
45
// If needed, the implementations can be broken into two classes
46
- Shadings .RadialAxial = (function radialAxialShadings () {
46
+ Shadings .RadialAxial = (function radialAxialShading () {
47
47
function constructor (dict , matrix , xref , res , ctx ) {
48
48
this .matrix = matrix ;
49
49
this .coordsArr = dict .get ('Coords' );
@@ -97,7 +97,7 @@ Shadings.RadialAxial = (function radialAxialShadings() {
97
97
this .colorStops = colorStops ;
98
98
}
99
99
100
- constructor .fromIR = function radialAxialShadingsGetIR (ctx , raw ) {
100
+ constructor .fromIR = function radialAxialShadingGetIR (ctx , raw ) {
101
101
var type = raw [1 ];
102
102
var colorStops = raw [2 ];
103
103
var p0 = raw [3 ];
@@ -129,7 +129,7 @@ Shadings.RadialAxial = (function radialAxialShadings() {
129
129
}
130
130
131
131
constructor .prototype = {
132
- getIR : function radialAxialShadingsGetIR () {
132
+ getIR : function radialAxialShadingGetIR () {
133
133
var coordsArr = this .coordsArr ;
134
134
var type = this .shadingType ;
135
135
if (type == 2 ) {
@@ -159,17 +159,17 @@ Shadings.RadialAxial = (function radialAxialShadings() {
159
159
return constructor ;
160
160
})();
161
161
162
- Shadings .Dummy = (function dummyShadings () {
162
+ Shadings .Dummy = (function dummyShading () {
163
163
function constructor () {
164
164
this .type = 'Pattern' ;
165
165
}
166
166
167
- constructor .fromIR = function dummyShadingsFromIR () {
167
+ constructor .fromIR = function dummyShadingFromIR () {
168
168
return 'hotpink' ;
169
169
}
170
170
171
171
constructor .prototype = {
172
- getIR : function dummyShadingsGetIR () {
172
+ getIR : function dummyShadingGetIR () {
173
173
return ['Dummy' ];
174
174
}
175
175
};
0 commit comments