This is setCapColorFromSegmentFlag, a member of class OdDgMultilineSymbology.
OdDgMultilineSymbology Methods