# SVGAPlayer-UWP **Repository Path**: mirrors_LancerComet/SVGAPlayer-UWP ## Basic Information - **Project Name**: SVGAPlayer-UWP - **Description**: Svga port for Windows UWP. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SVGAPlayer For UWP This is the UWP version for SVGA. ![img](https://raw.githubusercontent.com/LancerComet/SVGAPlayer-UWP/master/Static/Screenshot.gif) ## Quickstart Please check both `MainPage.xaml` and `MainPage.xaml.cs` to see the demo. ## API ```c# class SvgaPlayer { /// /// 播放循环次数, 默认为 0. /// 当为 0 时代表无限循环播放. /// public int LoopCount { get; set; } /// /// 目标播放帧率. /// 若不设置或设置为 0 时使用默认帧率, 设置后将使用自定义帧率. /// public int Fps { get; set; } /// /// 当前是否处于播放状态. /// public bool IsInPlay { get; } /// /// 载入 SVGA 文件数据. /// /// SVGA 文件二进制 Stream. public void LoadSvgaFileData (Stream svgaFileBuffer) {} /// /// 初始化 Player 舞台. /// 任何配置项请在调用此方法前执行. /// public void InitStage () {} /// /// 开始播放. /// public void Play () {} /// /// 暂停. /// public void Pause () {} /// /// 卸载舞台所有数据. /// public void UnloadStage () {} } ``` ## SVGA File Struct More Information about SVGA File: [Link](https://github.com/yyued/SVGA-Format) ![img](https://raw.githubusercontent.com/LancerComet/SVGAPlayer-UWP/master/Svga/SVGA%20File%20Sturct.png)