VectSharp 2.6.1
A light library for C# vector graphics
|
An Avalonia.Controls.Canvas containing an animation. More...
Public Member Functions | |
override void | Render (DrawingContext context) |
Static Public Attributes | |
static readonly StyledProperty< int > | CurrentFrameProperty |
Defines the CurrentFrame property. More... | |
static readonly DirectProperty< AnimatedCanvas, int > | FrameCountProperty = AvaloniaProperty.RegisterDirect<AnimatedCanvas, int>(nameof(FrameCount), o => o.maxFrameIndex) |
Defines the FrameCount property. More... | |
static readonly DirectProperty< AnimatedCanvas, double > | FrameRateProperty = AvaloniaProperty.RegisterDirect<AnimatedCanvas, double>(nameof(FrameRate), o => o.FrameRate) |
Defines the FrameRate property. More... | |
static readonly StyledProperty< bool > | IsPlayingProperty |
Defines the IsPlaying property. More... | |
Properties | |
int | CurrentFrame [get, set] |
The current frame in the animation. More... | |
int | FrameCount [get] |
The number of frames in the animation. More... | |
double | FrameRate [get] |
The target frame rate of the animation. More... | |
bool | IsPlaying [get, set] |
The current frame in the animation. More... | |
An Avalonia.Controls.Canvas containing an animation.
Definition at line 28 of file AnimatedCanvas.cs.
override void VectSharp.Canvas.AnimatedCanvas.Render | ( | DrawingContext | context | ) |
Definition at line 203 of file AnimatedCanvas.cs.
|
static |
Defines the CurrentFrame property.
Definition at line 33 of file AnimatedCanvas.cs.
|
static |
Defines the FrameCount property.
Definition at line 67 of file AnimatedCanvas.cs.
|
static |
Defines the FrameRate property.
Definition at line 91 of file AnimatedCanvas.cs.
|
static |
Defines the IsPlaying property.
Definition at line 115 of file AnimatedCanvas.cs.
|
getset |
The current frame in the animation.
Definition at line 58 of file AnimatedCanvas.cs.
|
get |
The number of frames in the animation.
Definition at line 74 of file AnimatedCanvas.cs.
|
get |
The target frame rate of the animation.
Definition at line 98 of file AnimatedCanvas.cs.
|
getset |
The current frame in the animation.
Definition at line 140 of file AnimatedCanvas.cs.