|
BoxC | |
BoxC X1, Y1, X2, Y2, FillMode, RGB | |
Parameters: X1 = The top left hand X coordinate of the box Y1 = The top left hand Y coordinate of the box X2 = The bottom right hand X coordinate of the box Y2 = The bottom right hand Y coordinate of the box FillMode = Toggle for drawing the rectangle as either open (0) or filled (1) RGB = The Colour of the pixel in RGB format |
|
Returns: NONE | |
BoxC draws a coloured filled or open rectangle to the current surface. Available FILL MODES Values 0 = Open Box (only draws the edges) 1 = Filled Box FACTS: * BoxC does not effect the current INK colour, and is drawn using the current InkMode * BoxC will render to the current surface, except when the user has either CaptureToScene, or CaptureToWorld activated. In either situation the drawing request will be added to the scene or world queues. * BoxC outside of the current surfaces size or viewport will be clipped to the area. Mini Tutorial: Draw some random open and filled boxes to the screen.
|
Related Info: | Box | Cls | Copyrect | Dot | DotC | Ink | Quad | ShadeBox | TextureQuad | Tri : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |