radius

class janim.components.radius.Cmpt_Radius(default_radius: float, *args, **kwargs)

Bases: Component, Generic

Radius component, used for point radius in DotCloud and stroke width in VItem

copy() Self
become(other: Cmpt_Radius) Self
not_changed(other: Cmpt_Radius) bool
classmethod align_for_interpolate(cmpt1: Cmpt_Radius, cmpt2: Cmpt_Radius)
interpolate(cmpt1: Cmpt_Radius, cmpt2: Cmpt_Radius, alpha: float, *, path_func=None) None
get() ndarray

Get radius data

set(radius: float | Iterable[float], *, root_only: bool = False) Self

Set radius data

clear() Self

Reset radius data to default value

reverse() Self
resize(length: int) Self
count() int
scale(factor: float, *, root_only: bool = False) Self

Scale radius data