From cb69d2e1c7ced951cbf7a31ee286b0ed92cab8a8 Mon Sep 17 00:00:00 2001 From: rcoh Date: Fri, 18 Feb 2011 16:56:43 -0500 Subject: Adding Epydoc generated docs. --- html/SmootLight.pixelcore.Pixel.Pixel-class.html | 284 +++++++++++++++++++++++ 1 file changed, 284 insertions(+) create mode 100644 html/SmootLight.pixelcore.Pixel.Pixel-class.html (limited to 'html/SmootLight.pixelcore.Pixel.Pixel-class.html') diff --git a/html/SmootLight.pixelcore.Pixel.Pixel-class.html b/html/SmootLight.pixelcore.Pixel.Pixel-class.html new file mode 100644 index 0000000..15e50dc --- /dev/null +++ b/html/SmootLight.pixelcore.Pixel.Pixel-class.html @@ -0,0 +1,284 @@ + + + + + SmootLight.pixelcore.Pixel.Pixel + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package pixelcore :: + Module Pixel :: + Class Pixel + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class Pixel

source code

+

Pixel keeps a queue of events (PixelEvent objects) (actually a + dictionary keyed by event time). Every time is state is requested, it + processes all the members of its queue. If a member returns none, it is + removed from the queue. Otherwise, its value added to the Pixels color + weighted by z-index. To get the current color of the pixel, call the + state method.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + location) + source code + +
+ +
+   + + + + + + +
turnOn(self) + source code + +
+ +
+   + + + + + + +
turnOnFor(self, + time) + source code + +
+ +
+   + + + + + + +
processInput(self, + pixelEvent, + zindex, + scale=1, + currentTime=None) + source code + +
+ +
+   + + + + + + +
clearAllEvents(self) + source code + +
+ +
+   + + + + + + +
state(self, + currentTime=None)
+ Combines all PixelEvents currently active and computes the current + color of the pixel.
+ source code + +
+ +
+   + + + + + + +
__str__(self) + source code + +
+ +
+ + + + + + + + + + + + +
+ + + + + +
Class Variables[hide private]
+
+   + + radius = 2 +
+   + + timeOff = -1 +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3