reflect method
Updates the value of this transformation to that of a reflection transformation composed with the current value.
@param x0 the x-ordinate of a point on the line to reflect around @param y0 the y-ordinate of a point on the line to reflect around @param x1 the x-ordinate of a point on the line to reflect around @param y1 the y-ordinate of a point on the line to reflect around @return this transformation, with an updated matrix
Implementation
AffineTransformation reflect(double x0, double y0, double x1, double y1) {
compose(reflectionInstance(x0, y0, x1, y1));
return this;
}