|
Ink | ||
Ink RGB_Colour | ||
Parameters: RGB_Colour = The RGB colour you wish to set the current ink to. |
||
Returns: NONE | ||
Ink changes the internal drawing colour (the Pen) for graphics operations like Text, Dot, Box, Line, Circle, DrawShape etc. The colour is represented in RGB format and will default to White (rgb(255,255,255)). You can think of changing the INK colour, much like drawing a picture with a set of coloured pencils, where changing INKs represents changing to a different coloured pencil. FACTS: * While you can change the pens Ink colour all the time, it's generally easier to more efficient to only change Ink colours when you actually need to. Therefore many of the graphics commands have a second version that allow you specify a colour without altering the INK colour. See:. DotC, BoxC, CircleC, TriC (The C stands for Coloured) * Use InkMode and InkAlpha to control Alpha Blending levels of the current Ink. Mini Tutorial: Draw some text using different ink colours.
This example would output.
|
Related Info: | Box | Circle | Dot | Ellipse | FastDot | GetInk | GetInkAlpha | GetInkB | GetInkG | GetInkMode | GetInkR | Line | Quad | RGB | Tri : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |