back to ext 

wxColourDatabase

generated from ../src/mod_ext/colourdb.cpp

wxWindows maintains a database of standard RGB colours for a predefined set of named colours (such as "BLACK", "LIGHT GREY"). wxColourDatabase is a singleton and is instantiated when the application starts: wxTheColourDatabase. An example: var colour = wxTheColourDatabase.findColour("RED");

Constants

Methods

find

find(Name) : wxColour
 
Name Type Default Description
Name String The name of a colour.

Returns the colour with the given name. undefined is returned when the colour does not exist.

findName

findName(Colour) : String
 
Name Type Default Description
Colour wxColour

Returns the name of the colour. undefined is returned when the colour has no name.



SourceForge.net Logo Support This Project

Table of Contents

Methods

find
findName


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.