* @param cy the center x-coordinate of the primitive
* @param radius the size of the primitive
* @return the generated primitive
*/
public static PathSprite plus(double cx, double cy, double radius) {
PathSprite plus = new PathSprite();
radius /= 2;
plus.addCommand(new MoveTo(cx - radius / 2, cy - radius / 2));
plus.addCommand(new LineTo(0, -radius, true));
plus.addCommand(new LineTo(radius, 0, true));
plus.addCommand(new LineTo(0, radius, true));
plus.addCommand(new LineTo(radius, 0, true));
plus.addCommand(new LineTo(0, radius, true));
plus.addCommand(new LineTo(-radius, 0, true));
plus.addCommand(new LineTo(0, radius, true));
plus.addCommand(new LineTo(-radius, 0, true));
plus.addCommand(new LineTo(0, -radius, true));
plus.addCommand(new LineTo(-radius, 0, true));
plus.addCommand(new LineTo(0, -radius, true));
plus.addCommand(new ClosePath());
return plus;
}