On this page

Line

from noon import Line

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

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

Line.__init__

Line.__init__(self, start: object=None, end: object=None, *, color: _base.Color | None=None, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
startpositional or keywordobjectNone
endpositional or keywordobjectNone
colorkeyword-only_base.Color | NoneNone
kwargs**kwargsAnyNo default

Return annotation: None

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

Source declaration

Line.get_start

Line.get_start(self) -> _base.Vec2
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: _base.Vec2

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

Source declaration

Line.get_end

Line.get_end(self) -> _base.Vec2
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: _base.Vec2

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

Source declaration