File tree Expand file tree Collapse file tree 8 files changed +171
-0
lines changed
api/javascript/dataviz/drawing Expand file tree Collapse file tree 8 files changed +171
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ The configuration options.
37
37
### fill ` kendo.dataviz.drawing.FillOptions `
38
38
The fill options of the shape.
39
39
40
+ ### opacity ` Number `
41
+ The element opacity.
42
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
43
+
40
44
### stroke ` kendo.dataviz.drawing.StrokeOptions `
41
45
The stroke options of the shape.
42
46
@@ -85,6 +89,21 @@ The [fill opacity](fill-options#fields-opacity) to set.
85
89
` kendo.dataviz.drawing.Arc ` The current instance to allow chaining.
86
90
87
91
92
+ ### opacity
93
+ Gets or sets the element opacity.
94
+ Inherited from [ Element.opacity] ( element#methods-opacity )
95
+
96
+ If set, the stroke and fill opacity will be multiplied by the element opacity.
97
+
98
+ #### Parameters
99
+
100
+ ##### opacity ` Number `
101
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
102
+
103
+ #### Returns
104
+ ` Number ` The current element opacity.
105
+
106
+
88
107
### stroke
89
108
Sets the shape [ stroke] ( #configuration-stroke ) .
90
109
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ The configuration options.
32
32
### fill ` kendo.dataviz.drawing.FillOptions `
33
33
The fill options of the shape.
34
34
35
+ ### opacity ` Number `
36
+ The element opacity.
37
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
38
+
35
39
### stroke ` kendo.dataviz.drawing.StrokeOptions `
36
40
The stroke options of the shape.
37
41
@@ -80,6 +84,21 @@ The [fill opacity](fill-options#fields-opacity) to set.
80
84
` kendo.dataviz.drawing.Circle ` The current instance to allow chaining.
81
85
82
86
87
+ ### opacity
88
+ Gets or sets the element opacity.
89
+ Inherited from [ Element.opacity] ( element#methods-opacity )
90
+
91
+ If set, the stroke and fill opacity will be multiplied by the element opacity.
92
+
93
+ #### Parameters
94
+
95
+ ##### opacity ` Number `
96
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
97
+
98
+ #### Returns
99
+ ` Number ` The current element opacity.
100
+
101
+
83
102
### stroke
84
103
Sets the shape [ stroke] ( #configuration-stroke ) .
85
104
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ The configuration of this Group.
13
13
14
14
## Configuration
15
15
16
+ ### opacity ` Number `
17
+ The element opacity.
18
+
16
19
### transform ` kendo.dataviz.geometry.Transformation `
17
20
The transformation to apply to this element.
18
21
@@ -33,6 +36,31 @@ Returns the bounding box of the element with transformations applied.
33
36
` kendo.dataviz.geometry.Rect ` The bounding box of the element with transformations applied.
34
37
35
38
39
+ ### opacity
40
+ Gets or sets the element opacity.
41
+
42
+ #### Example - setting transformation on an element
43
+ <div id="surface"></div>
44
+ <script>
45
+ var draw = kendo.dataviz.drawing;
46
+
47
+ var path = new draw.Path();
48
+ path.moveTo(0, 0).lineTo(100, 100);
49
+ path.opacity(0.5);
50
+
51
+ var surface = draw.Surface.create($("#surface"));
52
+ surface.draw(path);
53
+ </script>
54
+
55
+ #### Parameters
56
+
57
+ ##### opacity ` Number `
58
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
59
+
60
+ #### Returns
61
+ ` Number ` The current element opacity.
62
+
63
+
36
64
### transform
37
65
Gets or sets the transformation of the element.
38
66
Original file line number Diff line number Diff line change @@ -26,6 +26,22 @@ Represents a set of drawing elements, possibly including other groups.
26
26
### options ` Object `
27
27
The configuration of this Group.
28
28
29
+ ## Configuration
30
+
31
+ ### opacity ` Number `
32
+ The group opacity.
33
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
34
+
35
+ The opacity of any child groups and elements will be multiplied by this value.
36
+
37
+ ### transform ` kendo.dataviz.geometry.Transformation `
38
+ The transformation to apply to this group and its children.
39
+ Inherited from [ Element.transform] ( element#configuration-transform )
40
+
41
+ ### visible ` Boolean `
42
+ A flag, indicating if the group and its children are visible.
43
+ Inherited from [ Element.visible] ( element#configuration-visible )
44
+
29
45
## Fields
30
46
31
47
### children ` Array `
@@ -46,6 +62,21 @@ The element to append. Multiple parameters are accepted.
46
62
Removes all child elements from the group.
47
63
48
64
65
+ ### opacity
66
+ Gets or sets the group opacity.
67
+ Inherited from [ Element.opacity] ( element#methods-opacity )
68
+
69
+ The opacity of any child groups and elements will be multiplied by this value.
70
+
71
+ #### Parameters
72
+
73
+ ##### opacity ` Number `
74
+ The group opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
75
+
76
+ #### Returns
77
+ ` Number ` The current group opacity.
78
+
79
+
49
80
### remove
50
81
Removes the specified element from the group.
51
82
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ A rectange defining the position and size of the image.
32
32
33
33
## Configuration
34
34
35
+ ### opacity ` Number `
36
+ The element opacity.
37
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
38
+
35
39
### transform ` kendo.dataviz.geometry.Transformation `
36
40
The transformation to apply to this element.
37
41
Inherited from [ Element.transform] ( element#configuration-transform )
@@ -50,6 +54,19 @@ Inherited from [Element.bbox](element#methods-bbox)
50
54
` kendo.dataviz.geometry.Rect ` The bounding box of the element with transformations applied.
51
55
52
56
57
+ ### opacity
58
+ Gets or sets the element opacity.
59
+ Inherited from [ Element.opacity] ( element#methods-opacity )
60
+
61
+ #### Parameters
62
+
63
+ ##### opacity ` Number `
64
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
65
+
66
+ #### Returns
67
+ ` Number ` The current element opacity.
68
+
69
+
53
70
### src
54
71
Gets or sets the image source URL.
55
72
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ The configuration options.
33
33
### fill ` kendo.dataviz.drawing.FillOptions `
34
34
The fill options of the shape.
35
35
36
+ ### opacity ` Number `
37
+ The element opacity.
38
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
39
+
36
40
### stroke ` kendo.dataviz.drawing.StrokeOptions `
37
41
The stroke options of the shape.
38
42
@@ -204,6 +208,21 @@ Optional if the first parameter is a Point/Array.
204
208
` kendo.dataviz.drawing.MultiPath ` The current instance to allow chaining.
205
209
206
210
211
+ ### opacity
212
+ Gets or sets the element opacity.
213
+ Inherited from [ Element.opacity] ( element#methods-opacity )
214
+
215
+ If set, the stroke and fill opacity will be multiplied by the element opacity.
216
+
217
+ #### Parameters
218
+
219
+ ##### opacity ` Number `
220
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
221
+
222
+ #### Returns
223
+ ` Number ` The current element opacity.
224
+
225
+
207
226
### stroke
208
227
Sets the shape [ stroke] ( #configuration-stroke ) .
209
228
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ The [configuration](/api/dataviz/drawing/path#configuration) options for the pat
76
76
### fill ` kendo.dataviz.drawing.FillOptions `
77
77
The fill options of the shape.
78
78
79
+ ### opacity ` Number `
80
+ The element opacity.
81
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
82
+
79
83
### stroke ` kendo.dataviz.drawing.StrokeOptions `
80
84
The stroke options of the shape.
81
85
@@ -243,6 +247,21 @@ Optional if the first parameter is a Point/Array.
243
247
` kendo.dataviz.drawing.Path ` The current instance to allow chaining.
244
248
245
249
250
+ ### opacity
251
+ Gets or sets the element opacity.
252
+ Inherited from [ Element.opacity] ( element#methods-opacity )
253
+
254
+ If set, the stroke and fill opacity will be multiplied by the element opacity.
255
+
256
+ #### Parameters
257
+
258
+ ##### opacity ` Number `
259
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
260
+
261
+ #### Returns
262
+ ` Number ` The current element opacity.
263
+
264
+
246
265
### stroke
247
266
Sets the shape [ stroke] ( #configuration-stroke ) .
248
267
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ The configuration options.
35
35
### fill ` kendo.dataviz.drawing.FillOptions `
36
36
The fill options of the text.
37
37
38
+ ### opacity ` Number `
39
+ The element opacity.
40
+ Inherited from [ Element.opacity] ( element#configuration-opacity )
41
+
38
42
### stroke ` kendo.dataviz.drawing.StrokeOptions `
39
43
The stroke options of the text.
40
44
@@ -100,6 +104,21 @@ The [fill opacity](fill-options#fields-opacity) to set.
100
104
` kendo.dataviz.drawing.Text ` The current instance to allow chaining.
101
105
102
106
107
+ ### opacity
108
+ Gets or sets the element opacity.
109
+ Inherited from [ Element.opacity] ( element#methods-opacity )
110
+
111
+ If set, the stroke and fill opacity will be multiplied by the element opacity.
112
+
113
+ #### Parameters
114
+
115
+ ##### opacity ` Number `
116
+ The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
117
+
118
+ #### Returns
119
+ ` Number ` The current element opacity.
120
+
121
+
103
122
### position
104
123
Gets or sets the position of the text upper left corner.
105
124
You can’t perform that action at this time.
0 commit comments