ContoursLayer.setSeedColours


setSeedColours(pColours)

Seed colours determine the colour appearance of a contour plot. The default contour seeds are red->orange->yellow->green->cyan->blue, but these can be changed as desired. Ideally there should be one more seed colour than the number of contours chosen, but LUSAS Modeller will blend between colours if there are less seeds than contours. Having less contours than seeds is a bad idea, as some colours will be skipped The input is an array of colours. Each colour is a packed integer, following the Microsoft convention of rrggbb where rr is two hex bytes representing red, and so on. Black is 0, White is 0xFFFFFF, Red is 0xFF0000

pColoursarray of integers
Return valuenone 

Back to ContoursLayer

Back to Overview