All files / packages/tools/src/tools/displayTools/Contour contourConfig.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25    1x                                   1x        
import { ContourConfig } from '../../../types/ContourTypes';
 
const defaultContourConfig: ContourConfig = {
  renderOutline: true,
  outlineWidthAutoGenerated: 3,
  outlineWidthActive: 2,
  outlineWidthInactive: 1,
  outlineOpacity: 1,
  outlineOpacityInactive: 0.85,
  outlineDashActive: undefined,
  outlineDashInactive: undefined,
  outlineDashAutoGenerated: '5,3',
  activeSegmentOutlineWidthDelta: 0,
  renderFill: true,
  fillAlpha: 0.5,
  fillAlphaInactive: 0.3,
  fillAlphaAutoGenerated: 0.3,
};
 
function getDefaultContourConfig(): ContourConfig {
  return defaultContourConfig;
}
 
export default getDefaultContourConfig;