toNative static method

PolygonManeuverStyleNative toNative(
  1. PolygonManeuverStyle obj
)

Implementation

static PolygonManeuverStyleNative toNative(PolygonManeuverStyle obj) {
  return _PolygonManeuverStyleNativeInit(
      obj.trajectoryWidth,
      to_native.toNativeColor(obj.trajectoryColor),
      obj.polygonAlpha,
      to_native.toNativeColor(obj.polygonColor),
      PolygonManeuverRenderModeImpl.toInt(obj.renderMode),
      obj.fadeDistance,
      obj.fadeAlpha,
      obj.enabled);
}