blob: 2e56e127dfcfc2edfbc5b048e116015f5c9e9e1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">
<!-- THIS FILE IS GENERATED DO NOT EDIT -->
<erlref>
<header>
<copyright>
<year>2020</year><year>2021</year>
<holder>wxWidgets team.</holder></copyright>
<legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
</legalnotice>
<title>wxGraphicsGradientStops</title>
</header>
<module>wxGraphicsGradientStops</module>
<modulesummary>Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and CreateRadialGradientBrush. </modulesummary>
<description><p>The stops are maintained in order of position. If two or more stops are added with the same position then the one(s) added later come later. This can be useful for producing discontinuities in the colour gradient.
</p><p>Notice that this class is write-once, you can't modify the stops once they had been added.
</p><p>Since: 2.9.1
</p>
<p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_graphics_gradient_stops.html">wxGraphicsGradientStops</url></p>
</description>
<datatypes><datatype><name name="wxGraphicsGradientStops"/></datatype></datatypes>
<funcs>
<func>
<name name="new" arity="0" clause_i="1" since=""/>
<fsummary>See: <c>new/1</c></fsummary>
</func>
<func>
<name name="new" arity="1" clause_i="1" since=""/>
<fsummary>Initializes the gradient stops with the given boundary colours. </fsummary>
<desc><p>Initializes the gradient stops with the given boundary colours.
</p><p>Creates a <seeerl marker="wxGraphicsGradientStops"><c>wxGraphicsGradientStops</c></seeerl> instance with start colour given by <c>startCol</c> and end colour given by <c>endCol</c>.
</p></desc>
</func>
<func>
<name name="item" arity="2" clause_i="1" since=""/>
<fsummary>Returns the stop at the given index. </fsummary>
<desc><p>Returns the stop at the given index.
</p></desc>
</func>
<func>
<name name="getCount" arity="1" clause_i="1" since=""/>
<fsummary>Returns the number of stops. </fsummary>
<desc><p>Returns the number of stops.
</p></desc>
</func>
<func>
<name name="setStartColour" arity="2" clause_i="1" since=""/>
<fsummary>Set the start colour to <c>col</c>. </fsummary>
<desc><p>Set the start colour to <c>col</c>.
</p></desc>
</func>
<func>
<name name="getStartColour" arity="1" clause_i="1" since=""/>
<fsummary>Returns the start colour. </fsummary>
<desc><p>Returns the start colour.
</p></desc>
</func>
<func>
<name name="setEndColour" arity="2" clause_i="1" since=""/>
<fsummary>Set the end colour to <c>col</c>. </fsummary>
<desc><p>Set the end colour to <c>col</c>.
</p></desc>
</func>
<func>
<name name="getEndColour" arity="1" clause_i="1" since=""/>
<fsummary>Returns the end colour. </fsummary>
<desc><p>Returns the end colour.
</p></desc>
</func>
<func>
<name name="add" arity="3" clause_i="1" since=""/>
<fsummary>Add a new stop. </fsummary>
<desc><p>Add a new stop.
</p></desc>
</func>
<func>
<name name="destroy" arity="1" clause_i="1" since=""/>
<fsummary>Destructor</fsummary>
<desc><p>Destroys the object.</p></desc>
</func>
</funcs>
</erlref>
|