MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 532

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 531
12 Classes – Alphabetical List
12-38
mlreportgen.dom.Color class
Package: mlreportgen.dom
Color of document element
Description
Specifies the color of a document element.
Construction
colorObj = Color() creates a black color object.
colorObj = Color(colorName) creates a color object based on the specified CSS color
name.
colorObj = Color(rgbValue) creates a color object using the hexidecimal RGB color
value.
Input Arguments
colorName — Name of color
string
Name of a color. The name must be a CSS color name. See http://www.crockford.com/
wrrrld/color.html.
rgbValue — Hexidecimal RGB (red, green, blue) color value
string
A string using the following RGB format: #RRGGBB. Use # as the first character and two-
digit hexidecimal numbers for each for the red, green, and blue values. For example,
'#0000ff' specifies blue.
Output Arguments
colorObj — Color for document element
mlreportgen.dom.Color object
Vue de la page 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 985 986

Commentaires sur ces manuels

Pas de commentaire