EdgeSparkle

public sealed class EdgeSparkle : ISparkle
A sparkle walking along an edge.

Constructors

EdgeSparkle

#
Create a new edge sparkle.
public EdgeSparkle(
Func<PointF>
edge0,
Start of edge.
Func<PointF>
edge1,
End of edge.
attachedToContent
True if location is relative to control content.
)

EdgeSparkle

#
Create a new edge sparkle.
public EdgeSparkle(
PointF
edge0,
Start of edge.
PointF
edge1,
End of edge.
attachedToContent
True if location is relative to control content.
)

Properties

AttachedToContent

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

Edge0

#
Gets the location of this sparkle.
public Func<PointF> Edge0 { get; }

Edge1

#
Gets the location of this sparkle.
public Func<PointF> Edge1 { get; }

End

#
Gets the end time of this sparkle. The end time depends on start time and flavour duration.
public DateTime End { 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