pyvista.Property.edge_color#
- property Property.edge_color: Color[ソース]#
このプロパティのエッジの色を返すか設定します.
show_edges=True
の場合にエッジに適用される単色です.文字列,RGBリスト,または16進カラー文字列.例
Get the default edge color and visualize it. Set the edge's visibility to
True
so we can see them.>>> import pyvista as pv >>> prop = pv.Property() >>> prop.edge_color Color(name='black', hex='#000000ff', opacity=255)
>>> prop.show_edges = True >>> prop.plot()
Visualize red edges.
>>> prop.edge_color = 'red' >>> prop.plot()