Commit 117756c9 authored by Andrew Maclean's avatar Andrew Maclean
Browse files

Fixing the html links.

Making the documentation look better by using <a href="...">...</a>.
Changing some links to point to the new VTKExamples pages.
parent e74451f0
......@@ -16,7 +16,11 @@
* @class vtkNamedColors
* @brief A class holding colors and their names.
*
* vtkNamedColors is class that holds colors and their associated names.
* For a web page of VTK Named Colors and their RGB values, see:
* <a href="http://htmlpreview.github.io/?https://github.com/lorensen/VTKExamples/blob/master/src/Python/Visualization/VTKNamedColorPatches.html">VTKNamedColorPatches</a>.
* Use
* <a href="https://lorensen.github.io/VTKExamples/site/Python/Visualization/NamedColorPatches/">NamedColorPatches</a>
* to generate this table.
*
* Color names are case insensitive and are stored as lower-case names
* along with a 4-element array whose elements are red, green, blue and alpha,
......@@ -26,27 +30,20 @@
* lies in the range 0...255 and if the RGBA values are double then each
* element lies in the range 0...1.
*
* The colors and names are those in http://en.wikipedia.org/wiki/Web_colors
* The colors and names are those in <a href="http://en.wikipedia.org/wiki/Web_colors">Web colors</a>
* that are derived from the CSS3 specification:
* http://www.w3.org/TR/css3-color/#svg-color
* <a href="http://www.w3.org/TR/css3-color/#svg-color">CSS Color Module Level 3</a>
* In this table common synonyms such as cyan/aqua and
* magenta/fuchsia are also included.
*
* Also included in this class are names and colors taken from
* Wrapping/Tcl/vtktesting/colors.tcl and Wrapping/Python/vtk/util/colors.py.
*
* Web colors and names in http://en.wikipedia.org/wiki/Web_colors take
* Web colors and names in <a href="http://en.wikipedia.org/wiki/Web_colors">Web colors</a> take
* precedence over those in colors.tcl and colors.py. One consequence of this
* is that while colors.py and colors.tcl specify green as equivalent to
* (0,255,0), the web color standard defines it as (0,128,0).
*
* For a web page of VTK Named Colors and their RGB values, see:
* http://www.vtk.org/Wiki/VTK/Examples/Python/Visualization/VTKNamedColorPatches_html .
*
* The code used to generate this table is available from:
* http://www.vtk.org/Wiki/VTK/Examples/Python/Visualization/NamedColorPatches ,
* this is useful if you wish to generate your own table.
*
* The SetColor methods will overwrite existing colors if the name of the
* color being set matches an existing color. Note that ColorExists() can be
* used to test for existence of the color being set.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment