FaceSparkle

public sealed class FaceSparkle : ISparkle
A sparkle creeping along a face.

Constructors

FaceSparkle

#
Create a new face sparkle.
public FaceSparkle(
Func<GraphicsPath>
face,
Shape of face.
attachedToContent
True if location is relative to control content.
)

FaceSparkle

#
Create a new face sparkle.
public FaceSparkle(
GraphicsPath
face,
Shape of face.
attachedToContent
True if location is relative to control content.
)

FaceSparkle

#
Create a new face sparkle.
public FaceSparkle(
RectangleF
face,
Shape of face.
attachedToContent
True if location is relative to control content.
)

Properties

AttachedToContent

#
Gets whether this sparkle operates in content or control space.
public bool AttachedToContent { get; }

End

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

Face

#
Gets the location of this sparkle.
public Func<GraphicsPath> Face { 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