AAIT#40332 ook params highlightcolor, highlightbordercolor en highlighthatch ondersteunen

svn path=/Website/branches/v2017.1/; revision=34265
This commit is contained in:
Jos Groot Lipman
2017-06-14 11:29:48 +00:00
parent 6c6e23f9b4
commit db27c51090

View File

@@ -191,10 +191,11 @@ function myContourProcessor(cHandle)
var cnt = cHandle.Contour("R:" + highlight_arr[r]);
if (cnt)
{
cnt.SetColor(0x800000, 255); // Matig rood, door 255 onderliggend
cnt.Lineweight = 5 * getQParamFloat("hintScale", 100); // Constant 5 pixel width?
cnt.SetoutlineColor(0x800000, 255);
cnt.Hatch = 3; // Diagonal Cross
//cnt.Label = "[s200]" + cnt.Label;
cnt.SetColor(getQParamInt("highlightcolor", 0x800000), 255); // Matig rood, door 255 onderliggend
cnt.Lineweight = Math.min(250, 5 * getQParamFloat("hintScale", 100)); // Constant 5 pixel width maar niet te dik
cnt.SetoutlineColor(getQParamInt("highlightbordercolor", 0x800000), 255);
cnt.Hatch = getQParamInt("highlighthatch", 3); // Diagonal Cross
cnt.MoveTop();
}
}