None. |
Use this command to return the green component of the RGB dxColor of the current drawing dxColor. Use dxColorRed() and dxColorBlue() for the other two dxColor components. |
; dxColor, dxColorRed(), dxColorBlue(), dxColorGreen() Example ; Gotta be in graphics mode Graphics 640,480 ; Change the random seed dxSeedRnd MilliSecs() ; Let's set the dxColor to something random dxColor dxRnd(0,255),dxRnd(0,255),dxRnd(0,255) ; Now let's see what they are! While Not dxKeyHit(1) dxText 0,0,"This dxText is printed in Red=" + dxColorRed() + " Green=" + dxColorGreen() + " Blue=" + dxColorBlue() + "!" Wend |