@@ -71,29 +71,29 @@ extern "C" {
71
71
this : & OffscreenCanvasRenderingContext2d ,
72
72
value : & :: wasm_bindgen:: JsValue ,
73
73
) ;
74
- # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeStyleStr ) ]
75
- #[ doc = "Setter for the `strokeStyleStr ` field of this object." ]
74
+ # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeStyle ) ]
75
+ #[ doc = "Setter for the `strokeStyle ` field of this object." ]
76
76
#[ doc = "" ]
77
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeStyleStr )" ]
77
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeStyle )" ]
78
78
#[ doc = "" ]
79
79
#[ doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*" ]
80
80
pub fn set_stroke_style_str ( this : & OffscreenCanvasRenderingContext2d , value : & str ) ;
81
81
#[ cfg( feature = "CanvasGradient" ) ]
82
- # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeStyleCanvasGradient ) ]
83
- #[ doc = "Setter for the `strokeStyleCanvasGradient ` field of this object." ]
82
+ # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeStyle ) ]
83
+ #[ doc = "Setter for the `strokeStyle ` field of this object." ]
84
84
#[ doc = "" ]
85
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeStyleCanvasGradient )" ]
85
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeStyle )" ]
86
86
#[ doc = "" ]
87
87
#[ doc = "*This API requires the following crate features to be activated: `CanvasGradient`, `OffscreenCanvasRenderingContext2d`*" ]
88
88
pub fn set_stroke_style_canvas_gradient (
89
89
this : & OffscreenCanvasRenderingContext2d ,
90
90
value : & CanvasGradient ,
91
91
) ;
92
92
#[ cfg( feature = "CanvasPattern" ) ]
93
- # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeStyleCanvasPattern ) ]
94
- #[ doc = "Setter for the `strokeStyleCanvasPattern ` field of this object." ]
93
+ # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = strokeStyle ) ]
94
+ #[ doc = "Setter for the `strokeStyle ` field of this object." ]
95
95
#[ doc = "" ]
96
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeStyleCanvasPattern )" ]
96
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/strokeStyle )" ]
97
97
#[ doc = "" ]
98
98
#[ doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `OffscreenCanvasRenderingContext2d`*" ]
99
99
pub fn set_stroke_style_canvas_pattern (
@@ -118,29 +118,29 @@ extern "C" {
118
118
this : & OffscreenCanvasRenderingContext2d ,
119
119
value : & :: wasm_bindgen:: JsValue ,
120
120
) ;
121
- # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillStyleStr ) ]
122
- #[ doc = "Setter for the `fillStyleStr ` field of this object." ]
121
+ # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillStyle ) ]
122
+ #[ doc = "Setter for the `fillStyle ` field of this object." ]
123
123
#[ doc = "" ]
124
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillStyleStr )" ]
124
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillStyle )" ]
125
125
#[ doc = "" ]
126
126
#[ doc = "*This API requires the following crate features to be activated: `OffscreenCanvasRenderingContext2d`*" ]
127
127
pub fn set_fill_style_str ( this : & OffscreenCanvasRenderingContext2d , value : & str ) ;
128
128
#[ cfg( feature = "CanvasGradient" ) ]
129
- # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillStyleCanvasGradient ) ]
130
- #[ doc = "Setter for the `fillStyleCanvasGradient ` field of this object." ]
129
+ # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillStyle ) ]
130
+ #[ doc = "Setter for the `fillStyle ` field of this object." ]
131
131
#[ doc = "" ]
132
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillStyleCanvasGradient )" ]
132
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillStyle )" ]
133
133
#[ doc = "" ]
134
134
#[ doc = "*This API requires the following crate features to be activated: `CanvasGradient`, `OffscreenCanvasRenderingContext2d`*" ]
135
135
pub fn set_fill_style_canvas_gradient (
136
136
this : & OffscreenCanvasRenderingContext2d ,
137
137
value : & CanvasGradient ,
138
138
) ;
139
139
#[ cfg( feature = "CanvasPattern" ) ]
140
- # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillStyleCanvasPattern ) ]
141
- #[ doc = "Setter for the `fillStyleCanvasPattern ` field of this object." ]
140
+ # [ wasm_bindgen ( structural , method , setter , js_class = "OffscreenCanvasRenderingContext2D" , js_name = fillStyle ) ]
141
+ #[ doc = "Setter for the `fillStyle ` field of this object." ]
142
142
#[ doc = "" ]
143
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillStyleCanvasPattern )" ]
143
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvasRenderingContext2D/fillStyle )" ]
144
144
#[ doc = "" ]
145
145
#[ doc = "*This API requires the following crate features to be activated: `CanvasPattern`, `OffscreenCanvasRenderingContext2d`*" ]
146
146
pub fn set_fill_style_canvas_pattern (
0 commit comments