TangentLine constructor
TangentLine(})
Implementation
TangentLine(
VMobject vmob,
double alpha, {
double dAlpha = 1e-6,
double length = 1,
double buff = 0,
double? pathArc,
Color color = WHITE,
}) : super(
start: vmob.pointFromProportion(clip(alpha - dAlpha, 0, 1)),
end: vmob.pointFromProportion(clip(alpha + dAlpha, 0, 1)),
buff: buff,
pathArc: pathArc,
color: color) {
scaleUniformly(length / getLength());
}