Nutrient Web SDK
    Preparing search index...

    Interface TextComparisonDiffColors

    Configuration for customizing the colors used to highlight differences in text comparison.

    const diffColors = {
    insertionColor: new NutrientViewer.Color({ r: 0, g: 128, b: 0 }),
    insertionBackgroundColor: new NutrientViewer.Color({ r: 200, g: 255, b: 200 }),
    deletionColor: new NutrientViewer.Color({ r: 255, g: 0, b: 0 }),
    deletionBackgroundColor: new NutrientViewer.Color({ r: 255, g: 200, b: 200 }),
    disabledColor: new NutrientViewer.Color({ r: 150, g: 150, b: 150 }),
    disabledBackgroundColor: new NutrientViewer.Color({ r: 240, g: 240, b: 240 })
    };
    Index

    Properties

    deletionBackgroundColor?: NutrientViewer.Color

    Background color for deletions

    deletionColor?: NutrientViewer.Color

    Text color for deletions

    disabledBackgroundColor?: NutrientViewer.Color

    Background color for disabled annotations

    disabledColor?: NutrientViewer.Color

    Text color for disabled annotations

    insertionBackgroundColor?: NutrientViewer.Color

    Background color for insertions

    insertionColor?: NutrientViewer.Color

    Text color for insertions