MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guía de usuario Pagina 532

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 985 986

Comentarios a estos manuales

Sin comentarios