Elbow constructor
Implementation
Elbow({
double width = 0.2,
double angle = 0,
Color color = WHITE,
}) : super(color: color) {
setPointsAsCorners([UP, UP + RIGHT, RIGHT]);
setWidth(width, aboutPoint: ORIGIN);
rotateAboutOrigin(angle);
}
Elbow({
double width = 0.2,
double angle = 0,
Color color = WHITE,
}) : super(color: color) {
setPointsAsCorners([UP, UP + RIGHT, RIGHT]);
setWidth(width, aboutPoint: ORIGIN);
rotateAboutOrigin(angle);
}