Documentation/Source/eric5.Graphics.UMLItem.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Graphics.UMLItem</h1> 23 <h1>eric5.Graphics.UMLItem</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#85;&#77;&#76;&#87;&#105;&#100;&#103;&#101;&#116; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;. 25 Module implementing the UMLWidget base class.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#UMLItem">UMLItem</a></td> 34 <td><a href="#UMLItem">UMLItem</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#85;&#77;&#76;&#73;&#116;&#101;&#109; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;.</td> 35 <td>Class implementing the UMLItem base class.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="UMLItem" ID="UMLItem"></a> 43 <a NAME="UMLItem" ID="UMLItem"></a>
44 <h2>UMLItem</h2> 44 <h2>UMLItem</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#85;&#77;&#76;&#73;&#116;&#101;&#109; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;. 46 Class implementing the UMLItem base class.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QGraphicsRectItem 49 QGraphicsRectItem
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#UMLItem.__init__">UMLItem</a></td> 57 <td><a href="#UMLItem.__init__">UMLItem</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#UMLItem.addAssociation">addAssociation</a></td> 60 <td><a href="#UMLItem.addAssociation">addAssociation</a></td>
61 <td>&#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#116;&#111; &#116;&#104;&#105;&#115; w&#105;&#100;&#103;&#101;&#116;.</td> 61 <td>Method to add an association to this widget.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#UMLItem.adjustAssociations">adjustAssociations</a></td> 63 <td><a href="#UMLItem.adjustAssociations">adjustAssociations</a></td>
64 <td>&#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#106;&#117;&#115;&#116; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#116;&#111; w&#105;&#100;&#103;&#101;&#116; &#109;&#111;v&#101;&#109;&#101;&#110;&#116;&#115;.</td> 64 <td>Method to adjust the associations to widget movements.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#UMLItem.itemChange">itemChange</a></td> 66 <td><a href="#UMLItem.itemChange">itemChange</a></td>
67 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#97;&#110; &#105;&#116;&#101;&#109;&#115; &#115;&#116;&#97;&#116;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#115;.</td> 67 <td>Protected method called when an items state changes.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#UMLItem.moveBy">moveBy</a></td> 69 <td><a href="#UMLItem.moveBy">moveBy</a></td>
70 <td>&#79;v&#101;&#114;&#114;&#105;&#100;&#101;&#110; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#111;v&#101; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116; &#114;&#101;&#108;&#97;&#116;&#105;v&#101;.</td> 70 <td>Overriden method to move the widget relative.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#UMLItem.paint">paint</a></td> 72 <td><a href="#UMLItem.paint">paint</a></td>
73 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#97;&#105;&#110;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#105;&#110; &#108;&#111;&#99;&#97;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115;.</td> 73 <td>Public method to paint the item in local coordinates.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td> 75 <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td>
76 <td>&#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#116;&#111; &#116;&#104;&#105;&#115; w&#105;&#100;&#103;&#101;&#116;.</td> 76 <td>Method to remove an association to this widget.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#UMLItem.removeAssociations">removeAssociations</a></td> 78 <td><a href="#UMLItem.removeAssociations">removeAssociations</a></td>
79 <td>&#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#108;&#108; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#111;&#102; &#116;&#104;&#105;&#115; w&#105;&#100;&#103;&#101;&#116;.</td> 79 <td>Method to remove all associations of this widget.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#UMLItem.setPos">setPos</a></td> 81 <td><a href="#UMLItem.setPos">setPos</a></td>
82 <td>&#79;v&#101;&#114;&#114;&#105;&#100;&#101;&#110; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109;&#115; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110;.</td> 82 <td>Overriden method to set the items position.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#UMLItem.setSize">setSize</a></td> 84 <td><a href="#UMLItem.setSize">setSize</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;&#115; &#115;&#105;z&#101;.</td> 85 <td>Public method to set the rectangles size.</td>
86 </tr> 86 </tr>
87 </table> 87 </table>
88 <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a> 88 <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a>
89 <h4>UMLItem (Constructor)</h4> 89 <h4>UMLItem (Constructor)</h4>
90 <b>UMLItem</b>(<i>x = 0, y = 0, rounded = False, parent = None</i>) 90 <b>UMLItem</b>(<i>x = 0, y = 0, rounded = False, parent = None</i>)
91 <p> 91 <p>
92 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 92 Constructor
93 </p><dl> 93 </p><dl>
94 <dt><i>x</i></dt> 94 <dt><i>x</i></dt>
95 <dd> 95 <dd>
96 x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 96 x-coordinate (integer)
97 </dd><dt><i>y</i></dt> 97 </dd><dt><i>y</i></dt>
98 <dd> 98 <dd>
99 y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 99 y-coordinate (integer)
100 </dd><dt><i>rounded</i></dt> 100 </dd><dt><i>rounded</i></dt>
101 <dd> 101 <dd>
102 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#114;&#111;&#117;&#110;&#100;&#101;&#100; &#99;&#111;&#114;&#110;&#101;&#114; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 102 flag indicating a rounded corner (boolean)
103 </dd><dt><i>parent=</i></dt> 103 </dd><dt><i>parent=</i></dt>
104 <dd> 104 <dd>
105 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;) 105 reference to the parent object (QGraphicsItem)
106 </dd> 106 </dd>
107 </dl><a NAME="UMLItem.addAssociation" ID="UMLItem.addAssociation"></a> 107 </dl><a NAME="UMLItem.addAssociation" ID="UMLItem.addAssociation"></a>
108 <h4>UMLItem.addAssociation</h4> 108 <h4>UMLItem.addAssociation</h4>
109 <b>addAssociation</b>(<i>assoc</i>) 109 <b>addAssociation</b>(<i>assoc</i>)
110 <p> 110 <p>
111 &#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#116;&#111; &#116;&#104;&#105;&#115; w&#105;&#100;&#103;&#101;&#116;. 111 Method to add an association to this widget.
112 </p><dl> 112 </p><dl>
113 <dt><i>assoc</i></dt> 113 <dt><i>assoc</i></dt>
114 <dd> 114 <dd>
115 &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#101; &#97;&#100;&#100;&#101;&#100; (&#65;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#87;&#105;&#100;&#103;&#101;&#116;) 115 association to be added (AssociationWidget)
116 </dd> 116 </dd>
117 </dl><a NAME="UMLItem.adjustAssociations" ID="UMLItem.adjustAssociations"></a> 117 </dl><a NAME="UMLItem.adjustAssociations" ID="UMLItem.adjustAssociations"></a>
118 <h4>UMLItem.adjustAssociations</h4> 118 <h4>UMLItem.adjustAssociations</h4>
119 <b>adjustAssociations</b>(<i></i>) 119 <b>adjustAssociations</b>(<i></i>)
120 <p> 120 <p>
121 &#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#106;&#117;&#115;&#116; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#116;&#111; w&#105;&#100;&#103;&#101;&#116; &#109;&#111;v&#101;&#109;&#101;&#110;&#116;&#115;. 121 Method to adjust the associations to widget movements.
122 </p><a NAME="UMLItem.itemChange" ID="UMLItem.itemChange"></a> 122 </p><a NAME="UMLItem.itemChange" ID="UMLItem.itemChange"></a>
123 <h4>UMLItem.itemChange</h4> 123 <h4>UMLItem.itemChange</h4>
124 <b>itemChange</b>(<i>change, value</i>) 124 <b>itemChange</b>(<i>change, value</i>)
125 <p> 125 <p>
126 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#97;&#110; &#105;&#116;&#101;&#109;&#115; &#115;&#116;&#97;&#116;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#115;. 126 Protected method called when an items state changes.
127 </p><dl> 127 </p><dl>
128 <dt><i>change</i></dt> 128 <dt><i>change</i></dt>
129 <dd> 129 <dd>
130 &#116;&#104;&#101; &#105;&#116;&#101;&#109;'&#115; &#99;&#104;&#97;&#110;&#103;&#101; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;.&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;&#67;&#104;&#97;&#110;&#103;&#101;) 130 the item's change (QGraphicsItem.GraphicsItemChange)
131 </dd><dt><i>value</i></dt> 131 </dd><dt><i>value</i></dt>
132 <dd> 132 <dd>
133 &#116;&#104;&#101; v&#97;&#108;&#117;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101; 133 the value of the change
134 </dd> 134 </dd>
135 </dl><dl> 135 </dl><dl>
136 <dt>Returns:</dt> 136 <dt>Returns:</dt>
137 <dd> 137 <dd>
138 &#97;&#100;&#106;&#117;&#115;&#116;&#101;&#100; v&#97;&#108;&#117;&#101;&#115; 138 adjusted values
139 </dd> 139 </dd>
140 </dl><a NAME="UMLItem.moveBy" ID="UMLItem.moveBy"></a> 140 </dl><a NAME="UMLItem.moveBy" ID="UMLItem.moveBy"></a>
141 <h4>UMLItem.moveBy</h4> 141 <h4>UMLItem.moveBy</h4>
142 <b>moveBy</b>(<i>dx, dy</i>) 142 <b>moveBy</b>(<i>dx, dy</i>)
143 <p> 143 <p>
144 &#79;v&#101;&#114;&#114;&#105;&#100;&#101;&#110; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#111;v&#101; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116; &#114;&#101;&#108;&#97;&#116;&#105;v&#101;. 144 Overriden method to move the widget relative.
145 </p><dl> 145 </p><dl>
146 <dt><i>dx</i></dt> 146 <dt><i>dx</i></dt>
147 <dd> 147 <dd>
148 &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#109;&#111;v&#101;&#109;&#101;&#110;&#116; &#105;&#110; x-&#100;&#105;&#114;&#101;&#99;&#116;&#105;&#111;&#110; (&#102;&#108;&#111;&#97;&#116;) 148 relative movement in x-direction (float)
149 </dd><dt><i>dy</i></dt> 149 </dd><dt><i>dy</i></dt>
150 <dd> 150 <dd>
151 &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#109;&#111;v&#101;&#109;&#101;&#110;&#116; &#105;&#110; y-&#100;&#105;&#114;&#101;&#99;&#116;&#105;&#111;&#110; (&#102;&#108;&#111;&#97;&#116;) 151 relative movement in y-direction (float)
152 </dd> 152 </dd>
153 </dl><a NAME="UMLItem.paint" ID="UMLItem.paint"></a> 153 </dl><a NAME="UMLItem.paint" ID="UMLItem.paint"></a>
154 <h4>UMLItem.paint</h4> 154 <h4>UMLItem.paint</h4>
155 <b>paint</b>(<i>painter, option, widget = None</i>) 155 <b>paint</b>(<i>painter, option, widget = None</i>)
156 <p> 156 <p>
157 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#97;&#105;&#110;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#105;&#110; &#108;&#111;&#99;&#97;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115;. 157 Public method to paint the item in local coordinates.
158 </p><dl> 158 </p><dl>
159 <dt><i>painter</i></dt> 159 <dt><i>painter</i></dt>
160 <dd> 160 <dd>
161 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#105;&#110;&#116;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#80;&#97;&#105;&#110;&#116;&#101;&#114;) 161 reference to the painter object (QPainter)
162 </dd><dt><i>option</i></dt> 162 </dd><dt><i>option</i></dt>
163 <dd> 163 <dd>
164 &#115;&#116;y&#108;&#101; &#111;&#112;&#116;&#105;&#111;&#110;&#115; (&#81;&#83;&#116;y&#108;&#101;&#79;&#112;&#116;&#105;&#111;&#110;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;) 164 style options (QStyleOptionGraphicsItem)
165 </dd><dt><i>widget</i></dt> 165 </dd><dt><i>widget</i></dt>
166 <dd> 166 <dd>
167 &#111;&#112;&#116;&#105;&#111;&#110;&#97;&#108; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116; &#112;&#97;&#105;&#110;&#116;&#101;&#100; &#111;&#110; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 167 optional reference to the widget painted on (QWidget)
168 </dd> 168 </dd>
169 </dl><a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a> 169 </dl><a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a>
170 <h4>UMLItem.removeAssociation</h4> 170 <h4>UMLItem.removeAssociation</h4>
171 <b>removeAssociation</b>(<i>assoc</i>) 171 <b>removeAssociation</b>(<i>assoc</i>)
172 <p> 172 <p>
173 &#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#116;&#111; &#116;&#104;&#105;&#115; w&#105;&#100;&#103;&#101;&#116;. 173 Method to remove an association to this widget.
174 </p><dl> 174 </p><dl>
175 <dt><i>assoc</i></dt> 175 <dt><i>assoc</i></dt>
176 <dd> 176 <dd>
177 &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#116;&#111; &#98;&#101; &#114;&#101;&#109;&#111;v&#101;&#100; (&#65;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#87;&#105;&#100;&#103;&#101;&#116;) 177 association to be removed (AssociationWidget)
178 </dd> 178 </dd>
179 </dl><a NAME="UMLItem.removeAssociations" ID="UMLItem.removeAssociations"></a> 179 </dl><a NAME="UMLItem.removeAssociations" ID="UMLItem.removeAssociations"></a>
180 <h4>UMLItem.removeAssociations</h4> 180 <h4>UMLItem.removeAssociations</h4>
181 <b>removeAssociations</b>(<i></i>) 181 <b>removeAssociations</b>(<i></i>)
182 <p> 182 <p>
183 &#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97;&#108;&#108; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#111;&#102; &#116;&#104;&#105;&#115; w&#105;&#100;&#103;&#101;&#116;. 183 Method to remove all associations of this widget.
184 </p><a NAME="UMLItem.setPos" ID="UMLItem.setPos"></a> 184 </p><a NAME="UMLItem.setPos" ID="UMLItem.setPos"></a>
185 <h4>UMLItem.setPos</h4> 185 <h4>UMLItem.setPos</h4>
186 <b>setPos</b>(<i>x, y</i>) 186 <b>setPos</b>(<i>x, y</i>)
187 <p> 187 <p>
188 &#79;v&#101;&#114;&#114;&#105;&#100;&#101;&#110; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109;&#115; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110;. 188 Overriden method to set the items position.
189 </p><dl> 189 </p><dl>
190 <dt><i>x</i></dt> 190 <dt><i>x</i></dt>
191 <dd> 191 <dd>
192 &#97;&#98;&#115;&#111;&#108;&#117;&#116;&#101; x-&#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; (&#102;&#108;&#111;&#97;&#116;) 192 absolute x-position (float)
193 </dd><dt><i>y</i></dt> 193 </dd><dt><i>y</i></dt>
194 <dd> 194 <dd>
195 &#97;&#98;&#115;&#111;&#108;&#117;&#116;&#101; y-&#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; (&#102;&#108;&#111;&#97;&#116;) 195 absolute y-position (float)
196 </dd> 196 </dd>
197 </dl><a NAME="UMLItem.setSize" ID="UMLItem.setSize"></a> 197 </dl><a NAME="UMLItem.setSize" ID="UMLItem.setSize"></a>
198 <h4>UMLItem.setSize</h4> 198 <h4>UMLItem.setSize</h4>
199 <b>setSize</b>(<i>width, height</i>) 199 <b>setSize</b>(<i>width, height</i>)
200 <p> 200 <p>
201 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;&#115; &#115;&#105;z&#101;. 201 Public method to set the rectangles size.
202 </p><dl> 202 </p><dl>
203 <dt><i>width</i></dt> 203 <dt><i>width</i></dt>
204 <dd> 204 <dd>
205 w&#105;&#100;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; (&#102;&#108;&#111;&#97;&#116;) 205 width of the rectangle (float)
206 </dd><dt><i>height</i></dt> 206 </dd><dt><i>height</i></dt>
207 <dd> 207 <dd>
208 &#104;&#101;&#105;&#103;&#104;&#116; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; (&#102;&#108;&#111;&#97;&#116;) 208 height of the rectangle (float)
209 </dd> 209 </dd>
210 </dl> 210 </dl>
211 <div align="right"><a href="#top">Up</a></div> 211 <div align="right"><a href="#top">Up</a></div>
212 <hr /> 212 <hr />
213 </body></html> 213 </body></html>

eric ide

mercurial