class neuroglancer.viewer_state.LineAnnotation(Annotation)

Public members

LineAnnotation(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

point_a: NDArray[float32]
pointA: NDArray[float32]
point_b: NDArray[float32]
pointB: NDArray[float32]
id: str | None
type: str
description: str | None
segments: List[List[uint64]] | None
props: List[Real | str | List[Real | str]]
static LineAnnotation(cls, obj=None, _readonly: bool = False, ...)

Coerces the argument to an Annotation.

to_json()
__eq__(other)

Return self==value.

__repr__()

Return repr(self).