File: component.rst

package info (click to toggle)
defcon 0.10.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,096 kB
  • sloc: python: 12,305; makefile: 66
file content (63 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (4)
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
.. highlight:: python

=========
Component
=========

.. seealso::

   :ref:`Notifications`:
      The Component object uses notifications to notify observers of changes.

Tasks
-----

Reference Data
""""""""""""""

* :attr:`~defcon.Component.bounds`
* :attr:`~defcon.Component.bounds`

Properties
""""""""""

* :attr:`~defcon.Component.baseGlyph`
* :attr:`~defcon.Component.transformation`

Hit Testing
"""""""""""

* :meth:`~defcon.Component.pointInside`

Drawing
"""""""

* :meth:`~defcon.Component.draw`
* :meth:`~defcon.Component.drawPoints`

Changed State
"""""""""""""

* :attr:`~defcon.Component.dirty`

Notifications
"""""""""""""

* :attr:`~defcon.Component.dispatcher`
* :meth:`~defcon.Component.addObserver`
* :meth:`~defcon.Component.removeObserver`
* :meth:`~defcon.Component.hasObserver`

Parent
""""""

* :meth:`~defcon.Component.getParent`
* :meth:`~defcon.Component.setParent`

Component
^^^^^^^^^

.. module:: defcon
.. autoclass:: Component
   :inherited-members:
   :members: