◆ __init__()
def bridges.primitives.Primitives.__init__ |
( |
|
self, |
|
|
str |
type, |
|
|
str |
name, |
|
|
list |
position = None |
|
) |
| |
◆ append_transform()
def bridges.primitives.Primitives.append_transform |
( |
|
self, |
|
|
list |
transform |
|
) |
| |
◆ position() [1/2]
def bridges.primitives.Primitives.position |
( |
|
self | ) |
|
◆ position() [2/2]
def bridges.primitives.Primitives.position |
( |
|
self, |
|
|
list |
pos |
|
) |
| |
◆ push_representation()
def bridges.primitives.Primitives.push_representation |
( |
|
self, |
|
|
|
scene_json |
|
) |
| |
◆ set_color()
None bridges.primitives.Primitives.set_color |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Sets color for a an element or link.
Requires either 3 ints 0-255 for RGB and an optional float 0.0-1.0 for alpha or a str of a web color can also key the RGBA values with r, g, b, a or red, green, blue, alpha respectively and col_name for the str
- Parameters
-
args | int, int, int optional float or str |
kwargs | r/red: int, b/blue: int, g/green: int optional a/alpha: float or col_name: str |
◆ set_transform()
def bridges.primitives.Primitives.set_transform |
( |
|
self, |
|
|
list |
transform |
|
) |
| |
◆ transform()
def bridges.primitives.Primitives.transform |
( |
|
self | ) |
|
The documentation for this class was generated from the following file: