On this page

Vector

from noon import Vector

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: Arrow. Declared members follow; inherited and dynamically attached members are not expanded.

Arrow from ORIGIN to ``direction`` with Manim's default zero buff.

Vector.__init__

Vector.__init__(self, direction: object=_base.RIGHT, buff: float=0.0, *, color: object | None=None, tip_length: float=0.35, max_tip_length_to_length_ratio: float=0.25, max_stroke_width_to_length_ratio: float=5.0, stroke_width: float=6.0, normal_vector: object=(0.0, 0.0, 1.0), tip_style: dict[str, Any] | None=None, tip_shape: object | None=None, path_arc: float | None=0.0, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
directionpositional or keywordobject_base.RIGHT
buffpositional or keywordfloat0.0
colorkeyword-onlyobject | NoneNone
tip_lengthkeyword-onlyfloat0.35
max_tip_length_to_length_ratiokeyword-onlyfloat0.25
max_stroke_width_to_length_ratiokeyword-onlyfloat5.0
stroke_widthkeyword-onlyfloat6.0
normal_vectorkeyword-onlyobject(0.0, 0.0, 1.0)
tip_stylekeyword-onlydict[str, Any] | NoneNone
tip_shapekeyword-onlyobject | NoneNone
path_arckeyword-onlyfloat | None0.0
kwargs**kwargsAnyNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration