pygfx.utils.enums.MarkerShape
- class pygfx.utils.enums.MarkerShape
Bases:
EnumThe MarkerShape enum specifies the shape of a markers in the PointsMarkerMaterial.
- circle = 'circle'
● A circular shape (i.e. a disk).
- ring = 'ring'
○ A circular shape with a hole in the middle.
- square = 'square'
■ A big square shape (sized to encompass the circle shape).
- diamond = 'diamond'
♦ A rotated square (sized to fit inside the circle).
- plus = 'plus'
A plus symbol.
- cross = 'cross'
x A rotated plus symbol.
- asterisk6 = 'asterisk6'
A star-like symbol with 6 legs.
- asterisk8 = 'asterisk8'
✳️ A star-like symbol with 8 legs.
- tick = 'tick'
an infinitely thin line so only the marker edge is drawn. The width and length can be controller with ‘edge_width’ and ‘size’ respectively.
- Type:
A tickmark
- tick_left = 'tick_left'
A tickmark that is on the left side of the line (viewed from the line’s start).
- tick_right = 'tick_right'
A tickmark that is on the right side of the line (viewed from the line’s start).
- triangle_up = 'triangle_up'
▲
- triangle_down = 'triangle_down'
▼
- triangle_left = 'triangle_left'
◀
- triangle_right = 'triangle_right'
▶
- heart = 'heart'
♥
- spade = 'spade'
♠
- club = 'club'
♣
- pin = 'pin'
📍
- custom = 'custom'
Custom shape allowing users to provide their own SDF function