public void Set(IBitmapProvider provider, int interval = 42) { Renderer = new BitmapRenderer(this, provider, interval); }
/// <summary> /// Draws a <see cref="Bitmap" /> to this <see cref="RenderTarget" />. /// </summary> /// <param name="bitmap">The bitmap object to draw.</param> /// <remarks> /// The size of the bitmap object should match the size of the target /// display. For the <see cref="Touchpad" />, the size is specified by /// <see cref="Razer.Constants.TouchpadWidth" /> and <see cref="Razer.Constants.TouchpadHeight"/>, /// for dynamic keys, it's specified by <see cref="Razer.Constants.DynamicKeyWidth" /> and /// <see cref="Razer.Constants.DynamicKeyHeight" />. /// </remarks> public void Draw(Bitmap bitmap) { BitmapRenderer.Draw(this, bitmap); }