movis.layer.drawing.FillProperty#
- class movis.layer.drawing.FillProperty(color: tuple[int, int, int] | str, opacity: float = 1.0)[source]#
A property for filling a shape.
- Args:
- color:
The color of the shape with a tuple of
(r, g, b)
or a string representing a color name (e.g.,"#ff0000" or "red"
).- opacify:
The opacity of the shape in the range of
[0, 1]
.
Attributes
color
opacity