private Shape buildShape() {

		GeneralPath path = new GeneralPath();

		double iconSize = 16;
		double height = 6;
		double width = 10;
		double leftMargin = (iconSize - width) / 2;
		double topMargin = (iconSize - height) / 2;

		// draw a triangle pointing down; p1 is the bottom; p2 is the left
		double p1x = leftMargin + (width / 2);
		double p1y = topMargin + height;
		double p2x = leftMargin;
		double p2y = topMargin;
		double p3x = leftMargin + width;
		double p3y = topMargin;

		path.moveTo(p1x, p1y);
		path.lineTo(p2x, p2y);
		path.lineTo(p3x, p3y);
		path.lineTo(p1x, p1y);
		path.closePath();

		return path;
	}
Creates a drop down menu icon.
@param color the color of the triangle
Ghidra/Framework/Docking/src/main/java/docking/DropDownMenuIcon.java