.. highlightlang:: us .. index:: XYGetFillColor .. _xygetfillcolor: XYGetFillColor ============== .. us.tag XYGetFillColor ENGLISH XYGet Changed5900 :ref:`XYGetFillColor` returns fill color for the area under the curve. .. function:: rvColorRGB = XYGetFillColor(hData) rvColorARGB = XYGetFillColor(hData, bTransparency) .. us.return **Return Value** *rvColorRGB* is a vector with 3 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvColorRGB[1] - Red (0-255) * - rvColorRGB[2] - Green (0-255) * - rvColorRGB[3] - Blue (0-255) Falls *bTransparency* ungleich 0 ist, ist *rvColorARGB* ein Vektor mit 4 Elementen: .. list-table:: :header-rows: 1 * - Wert - Bedeutung * - rvColorARGB[1] - Transparenzwert (Alphawert) zwischen 0 und 255. 0 entspricht vollständiger Transparenz und 255 vollständiger Deckung. * - rvColorARGB[2] - Rotanteil (0 bis 255) * - rvColorARGB[3] - Grünanteil (0 bis 255) * - rvColorARGB[4] - Blauanteil (0 bis 255) .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2017 - New parameter *bTransparency*. .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYSetFillColor`, :ref:`XYCreate` :sub:`id-1903521`