DrawAlphaLine |
Top Previous Next |
Syntax DrawAlphaLine( x as INT,y as INT,x2 as INT,y2 as INT,col as UINT,alpha as UINT,opt buffer as POINTER ) Description Draws an alpha blended line. Alpha blending is a technique to make objects partially transparent. Parameters x, y - Starting coordinates of the line x2, y2 - Ending coordinates of the line col - Color of the line alpha - Alpha blending value. From 0 to 255 buffer - Optional. Can be one of BACKBUFFER (default), FRONTBUFFER or SPRITEBUFFER Return value None Remarks Alpha range is from 0 which is invisible to 255 which draws a fully solid line. Alpha blending is a software operation and will be significantly slower than drawing a non blended line. See Also: DrawLine, DrawAALine Example usage DrawAlphaLine 0,0, 640,480, RGB(255,255,255), 128 |