/** * <summary> * Performs a smooth transition in the HSL color space between the current color and a target color. * <para> * </para> * <para> * </para> * </summary> * <param name="hsl_target"> * desired HSL color at the end of the transition * </param> * <param name="ms_duration"> * duration of the transition, in millisecond * </param> * <para> * </para> * <returns> * <c>0</c> if the call succeeds. * </returns> * <para> * On failure, throws an exception or returns a negative error code. * </para> */ public int hslMove(int hsl_target, int ms_duration) { if (_func == null) { throw new YoctoApiProxyException("No ColorLed connected"); } return(_func.hslMove(hsl_target, ms_duration)); }