pygfx.materials.LineThinSegmentMaterial¶
- class pygfx.materials.LineThinSegmentMaterial(color=(1, 1, 1, 1), thickness=2.0, color_mode='auto', map=None, map_interpolation='linear', aa=True, **kwargs)¶
Bases:
LineMaterialThin line segment material.
Simple line segments, drawn with line primitives that has a thickness of one physical pixel (the thickness property is ignored).
While you probably don’t want to use this property in your application (its width is inconsistent and looks very thin on HiDPI monitors), it can be useful for debugging as it is more performant than other line materials.
Examples