Source code for nanome.api.ui.mesh
from . import UIBase
from nanome._internal.ui import _Mesh
[docs]class Mesh(_Mesh, UIBase):
"""
| Represents a flat rectangular mesh with a solid color.
"""
def __init__(self):
_Mesh.__init__(self)
UIBase.__init__(self)
@property
def mesh_color(self):
"""
| The color of the mesh
:type: :class:`~nanome.util.Color`
"""
return self._mesh_color
@mesh_color.setter
def mesh_color(self, value):
self._mesh_color = value
_Mesh._create = Mesh