File: contour.rst

package info (click to toggle)
defcon 0.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,988 kB
  • sloc: python: 12,306; makefile: 66
file content (83 lines) | stat: -rw-r--r-- 1,446 bytes parent folder | download | duplicates (5)
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
.. highlight:: python

=======
Contour
=======

.. seealso::

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

Tasks
-----

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

* :attr:`~defcon.Contour.area`
* :attr:`~defcon.Contour.bounds`
* :attr:`~defcon.Contour.controlPointBounds`
* :attr:`~defcon.Contour.open`

Direction
"""""""""

* :attr:`~defcon.Contour.clockwise`
* :meth:`~defcon.Contour.reverse`

Points
""""""

* :class:`~defcon.Contour`
* :meth:`~defcon.Contour.index`
* :attr:`~defcon.Contour.onCurvePoints`
* :meth:`~defcon.Contour.setStartPoint`

Segments
""""""""

* :attr:`~defcon.Contour.segments`
* :meth:`~defcon.Contour.removeSegment`
* :meth:`~defcon.Contour.positionForProspectivePointInsertionAtSegmentAndT`
* :meth:`~defcon.Contour.splitAndInsertPointAtSegmentAndT`

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

* :meth:`~defcon.Contour.contourInside`
* :meth:`~defcon.Contour.pointInside`

Drawing
"""""""

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

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

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

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

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

Parent
""""""

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

Contour
^^^^^^^

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