Edit

SKCanvasView.EnableRenderLoop Property

Definition

Gets or sets a value indicating whether continuous rendering is enabled.

[Microsoft.AspNetCore.Components.Parameter]
public bool EnableRenderLoop { get; set; }

Property Value

true to render continuously using requestAnimationFrame; false to render only when Invalidate() is called.

Attributes

Remarks

Enable this for animations that need to update every frame. Disable for static content to conserve resources.

Applies to