TColorLineTool.LimitValue

TColorLineTool.LimitValue
TColorLineTool

function LimitValue(Const AValue: Double): Double;

Unit
TeeTools

Description

Checks the AValue parameter against the color line associated axis minimum and maximum values.

If the AValue parameter is lower or bigger than the axis, it returns the axis minimum or maximum value.

This method is internally used by the TColorLineTool object when the NoLimitDrag property is False.