Skip to main content

SetMarkerColor

Sets the color of a marker created with CreateMarker.

C#​

void NAPI.Marker.SetMarkerColor(NetHandle marker, int alpha, int red, int green, int blue);

Parameters​

  • marker: Parameter input should be in NetHandle type.
  • alpha: 0-255. Parameter input should be in int type.
  • red: 0-255. Parameter input should be in int type.
  • green: 0-255. Parameter input should be in int type.
  • blue: 0-255. Parameter input should be in int type.

Example​

NAPI.Marker.SetMarkerColor(marker, 255, 200, 0, 0);