MarkerGetFillColorΒΆ

MarkerGetFillColor returns the fill color of a marker symbol.

rvRGB = MarkerGetFillColor(hMarker)
rvARGB = MarkerGetFillColor(hMarker, bTransparency)

Return Value

rvRGB is a vector with 3 elements that sets the symbol fill color:

Value Meaning
rvRGB[1] Red (0 to 255)
rvRGB[2] Green (0 to 255)
rvRGB[3] Blue (0 to 255)

If bTransparency is TRUE (1), rvARGB is a vector with 4 elements:

Value Meaning
rvARGB[1] Transparency value (alpha) between 0 and 255. 0 is transparent and 255 is opaque.
rvARGB[2] Red (0 to 255)
rvARGB[3] Green(0 to255)
rvARGB[4] Blue (0 to 255)

Parameters

hMarker

Identifies the marker.

History

Version Description
R2017 New parameter bTransparency.

id-1323750