Tv SetAPen

From TVPaintWiki
Revision as of 13:04, 6 September 2015 by Madsjuul (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<<<George<<<Command Reference<<<Color

tv_SetAPen red green blue

Defines the foreground drawing color. The red, green and blue arguments are the values of the required color components. These arguments are all between 0 and 255.


11.0.0

A command has been added to retrieve AND set H, S and L colors.


@return r g b a ( if no parameter (compatible mode) ) @return "rgb" r g b ( if "rgb" parameter ) @return "hsl" h s l ( if "hsl" parameter ) @return "error"

tv_SetAPen r g b | r g b a | "rgb" r g b | "hsl" h s l 
tv_SetBPen r g b | r g b a | "rgb" r g b | "hsl" h s l 

@return previous values: "rgb" r g b ( if r g b (compatible mode) ) @return previous values: "rgb" r g b ( if r g b a (to be able to use GetAPen result as parameters) ) @return previous values: "rgb" r g b ( if "rgb" parameters ) @return previous values: "hsl" h s l ( if "hsl" parameters ) @return "error"