Table of Contents

Class SKConfettiSystem

Namespace
SkiaSharp.Extended.UI.Controls
Assembly
SkiaSharp.Extended.UI.dll

Represents a single confetti particle system with emitter, physics, and rendering configuration.

public class SKConfettiSystem : BindableObject, INotifyPropertyChanged
Inheritance
SKConfettiSystem
Implements
Inherited Members

Constructors

SKConfettiSystem()

Initializes a new instance of the SKConfettiSystem class.

Fields

ColorsProperty

Identifies the Colors bindable property.

EmitterBoundsProperty

Identifies the EmitterBounds bindable property.

EmitterProperty

Identifies the Emitter bindable property.

EndAngleProperty

Identifies the EndAngle bindable property.

FadeOutProperty

Identifies the FadeOut bindable property.

GravityProperty

Identifies the Gravity bindable property.

IsAnimationEnabledProperty

Identifies the IsAnimationEnabled bindable property.

IsCompleteProperty

Identifies the IsComplete bindable property.

LifetimeProperty

Identifies the Lifetime bindable property.

MaximumInitialVelocityProperty

Identifies the MaximumInitialVelocity bindable property.

MaximumRotationVelocityProperty

Identifies the MaximumRotationVelocity bindable property.

MaximumVelocityProperty

Identifies the MaximumVelocity bindable property.

MinimumInitialVelocityProperty

Identifies the MinimumInitialVelocity bindable property.

MinimumRotationVelocityProperty

Identifies the MinimumRotationVelocity bindable property.

PhysicsProperty

Identifies the Physics bindable property.

ShapesProperty

Identifies the Shapes bindable property.

StartAngleProperty

Identifies the StartAngle bindable property.

Properties

Colors

Gets or sets the collection of colors used for particles.

Emitter

Gets or sets the particle emitter.

EmitterBounds

Gets or sets the bounds from which particles are emitted.

EndAngle

Gets or sets the end angle in degrees for particle emission direction.

FadeOut

Gets or sets a value indicating whether particles fade out at the end of their lifetime.

Gravity

Gets or sets the gravity vector applied to particles.

IsAnimationEnabled

Gets or sets a value indicating whether the animation is enabled.

IsComplete

Gets a value indicating whether this system has completed emitting and all particles are gone.

Lifetime

Gets or sets the lifetime of each particle in seconds.

MaximumInitialVelocity

Gets or sets the maximum initial velocity of particles.

MaximumRotationVelocity

Gets or sets the maximum rotation velocity of particles in degrees per second.

MaximumVelocity

Gets or sets the maximum velocity cap for particles. A value of 0 means no cap.

MinimumInitialVelocity

Gets or sets the minimum initial velocity of particles.

MinimumRotationVelocity

Gets or sets the minimum rotation velocity of particles in degrees per second.

Physics

Gets or sets the collection of physics configurations for particles.

Shapes

Gets or sets the collection of shapes used for particles.

StartAngle

Gets or sets the start angle in degrees for particle emission direction.

Methods

Draw(SKCanvas)

Draws all particles onto the specified canvas.

Update(TimeSpan)

Updates the particle system state for the given elapsed time.

UpdateEmitterBounds(double, double)

Updates the emitter bounds based on the view dimensions.