BlastSparkle

public sealed class BlastSparkle : ISparkle
An explosive like sparkle.

Constructors

BlastSparkle

#
Create a new sparkle.
public BlastSparkle(
radius,
Flavour.
PointF
location,
Location.
Color
colour,
Colour.
attachedToContent
Content vs. Control.
)

BlastSparkle

#
Create a new sparkle in content-space. If the sparkle needs to exist in control-space, use the other constructor which accepts a space boolean.
public BlastSparkle(
radius,
Flavour.
PointF
location,
Location.
Color
colour
Colour.
)

Properties

AttachedToContent

#
Gets whether this sparkle is attached to the control content.
public bool AttachedToContent { get; }

Colour

#
Gets the colour of this sparkle.
public Color Colour { get; }

End

#
Gets the end time of this sparkle. The end time depends on start time and flavour duration.
public DateTime End { get; }

Location

#
Gets the location of this sparkle.
public PointF Location { get; }

Radius

#
Gets the flavour of this sparkle.
public BlastRadius Radius { get; }

Sparkling

#
Gets whether this sparkle is still busy sparkling.
public bool Sparkling { get; }
Sparkling

Start

#
Gets the start time of this sparkle.
public DateTime Start { get; }

Methods

Draw

#
Draw this sparkle to a graphics context.
public void Draw(
graphics
Context to draw in.
)
Draw