|
|
@@ -5,14 +5,14 @@ class Matrix(object):
|
|
|
see https://github.com/hzeller/flaschen-taschen/blob/master/doc/protocols.md
|
|
|
'''
|
|
|
|
|
|
- def __init__(self, host, width, height, layer=0, x_offset=0, y_offset=0, transparent=False, port=1337):
|
|
|
+ def __init__(self, host, width, height, layer=1, x_offset=0, y_offset=0, transparent=False, port=1337):
|
|
|
'''
|
|
|
Args:
|
|
|
host: The flaschen taschen server hostname or ip address.
|
|
|
port: The flaschen taschen server port number.
|
|
|
width: The width of the flaschen taschen display in pixels.
|
|
|
height: The height of the flaschen taschen display in pixels.
|
|
|
- layer: The layer of the flaschen taschen display to write to.
|
|
|
+ layer: The layer of the flaschen taschen display to write to. (layer=0 is permanent, layer > 0 decays, see --layer-timeout server opt)
|
|
|
transparent: If true, black(0, 0, 0) will be transparent and show the layer below.
|
|
|
'''
|
|
|
self.width = width
|