/** * Adds an arc on a circle has its origin at the given position with the given radius. The arc * starts at startAngle and ends at endAngle along the circle, measured in radians. * * @param connectFromPrev true if one this arc should be connected to the previous position by a * straight line. */ public ArcVisitor( Vector2 position, double radius, double startAngle, double endAngle, boolean antiClockwise, boolean connectFromPrev) { this( position.getX(), position.getY(), radius, startAngle, endAngle, antiClockwise, connectFromPrev); }
public RectangleVisitor(Vector2 position, double width, double height) { this(position.getX(), position.getY(), width, height); }