It can be found in Shape panel below Fill label. If this option is enabled, caps of curve will be filled.