StealthTip¶
限定名称: manim.mobject.geometry.tips.StealthTip
- class StealthTip(fill_opacity=1, stroke_width=3, length=0.175, start_angle=3.141592653589793, **kwargs)[来源]¶
基础类:
ArrowTip‘隐形’战斗机 / 风筝箭头形状。
命名灵感来源于相应的 TikZ箭头形状。
方法
属性
animate用于动画化
self的任何方法的应用。animation_overridesbase箭头的基点。
colordepthmobject的深度。
fill_color如果有多种颜色(用于渐变),则返回第一个颜色
heightmobject的高度。
箭头尖端的长度。
n_points_per_curvesheen_factorstroke_colortip_angle箭头尖端的角度。
tip_point箭头尖端的点。
vector从基点指向尖点的向量。
widthmobject的宽度。
- _original__init__(fill_opacity=1, stroke_width=3, length=0.175, start_angle=3.141592653589793, **kwargs)¶
初始化自身。有关准确的签名,请参阅 help(type(self))。
- property length¶
箭头尖端的长度。
在这种情况下,长度被计算为包含隐身尖端(否则,尖端会缩放得过大)的三角形的高度。