Skip to content

arrow_glyph

ArrowGlyph

Bases: GlyphObject

Class representing the arrow as a 3D object.

Parameters:

Name Type Description Default
directed bool

If True arrow object will created. If False all tip settings will be ignored.

True
tip_resolution int

Number of triangles in the tip (min=1)

20
tip_length float

Length of the tip

0.25
tip_radius float

Radius of the tip

0.12
shaft_resolution int

Number of shaft edges (min=3)

20
shaft_radius int

Radius of the shaft

0.03

directed property writable

length property writable

shaft_radius property writable

shaft_resolution property writable

tip_length property writable

tip_radius property writable

tip_resolution property writable

__init__(directed=True, tip_resolution=20, tip_length=0.25, tip_radius=0.12, shaft_resolution=20, shaft_radius=0.03)