Package SmootLight :: Package layouts :: Module SpecifiedLayout :: Class SpecifiedLayout
[hide private]
[frames] | no frames]

Class SpecifiedLayout

source code

                                    object --+        
                                             |        
operationscore.SmootCoreObject.SmootCoreObject --+    
                                                 |    
      operationscore.PixelAssembler.PixelAssembler --+
                                                     |
                                                    SpecifiedLayout

SpecifiedLayout is a class that allows precise specification of each individual LED.
Configure with a <Locations> tag in the args dict as follows':
<Args>
    <Locations>
        <Loc>(1,1)</Loc>
        <Loc>(50,50)</Loc>
    </Locations>
    etc.
</Args>
You may put attributes on the Locs so that you don't get confused.

Instance Methods [hide private]
 
initLayout(self) source code
 
layoutFunc(self, lastLocation) source code

Inherited from operationscore.PixelAssembler.PixelAssembler: getPixelLocations, getStripArgs, init

Inherited from operationscore.SmootCoreObject.SmootCoreObject: __contains__, __getitem__, __getiter__, __init__, __setitem__, acquireLock, addDieListener, className, die, releaseLock, removeDieListener, validateArgDict, validateArgs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

initLayout(self)

source code 
Overrides: operationscore.PixelAssembler.PixelAssembler.initLayout

layoutFunc(self, lastLocation)

source code 
Overrides: operationscore.PixelAssembler.PixelAssembler.layoutFunc