radius¶
- class janim.components.radius.Cmpt_Radius(default_radius: float, *args, **kwargs)¶
基类:
Component,Generic半径组件,被用于
DotCloud的点半径,以及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¶
得到半径数据
- set(radius: float | Iterable[float], *, root_only: bool = False) Self¶
设置半径数据
- clear() Self¶
将半径数据重置为默认值
- reverse() Self¶
- resize(length: int) Self¶
- count() int¶