/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { markEnum } from "igniteui-react-core/ES5/type";
/**
 * Describes available behaviors for performing hit testing in the chart/map.
 */
export var ChartHitTestMode;
(function (ChartHitTestMode) {
    /**
     * Automatically decide the appropriate hit test mode for the content.
     */
    ChartHitTestMode[ChartHitTestMode["Auto"] = 0] = "Auto";
    /**
     * Use a computational based approach to determine which series has been hit. This uses loose bounding boxes, in some cases, and can range in time complexity between O(1) and O(log n) to find a hit. This decreases frame render time compared to color encoded.
     */
    ChartHitTestMode[ChartHitTestMode["Computational"] = 1] = "Computational";
    /**
     * Use a color encoded off screen buffer for hit testing. This can have extremely rare false positives where the wrong series is hit (this is due to our inability to disable anti-aliasing in our color buffer), but should always be O(1) time for determining a hit series. This increases frame render time, however. Consider using this if hit testing time is degrading performance.
     */
    ChartHitTestMode[ChartHitTestMode["ColorEncoded"] = 2] = "ColorEncoded";
    /**
     * Let each series decide which hit testing mode to use individually based on their own hit test mode.
     */
    ChartHitTestMode[ChartHitTestMode["Mixed"] = 3] = "Mixed";
    /**
     * Let each series decide which hit testing mode to use individually based on their own hit test mode, but evaluate all computational hits before evaluating any color encoding hits.
     */
    ChartHitTestMode[ChartHitTestMode["MixedFavoringComputational"] = 4] = "MixedFavoringComputational";
})(ChartHitTestMode || (ChartHitTestMode = {}));
/**
 * @hidden
 */
export var ChartHitTestMode_$type = markEnum('ChartHitTestMode', 'Auto,0|Computational,1|ColorEncoded,2|Mixed,3|MixedFavoringComputational,4');
