NoticeSparkle

public sealed class NoticeSparkle : ISparkle
A notice sparkle conveying a specific type of message.

Constructors

NoticeSparkle

#
Create a new notice sparkle with a specific foreground colour.
public NoticeSparkle(
notice,
Notice type.
Func<PointF>
location,
Location of notice.
attachedToContent,
True if location is relative to control content.
Color
colour
Foreground colour of the notice.
)

NoticeSparkle

#
Create a new notice sparkle.
public NoticeSparkle(
notice,
Notice type.
Func<PointF>
location,
Location of notice.
attachedToContent
True if location is relative to control content.
)

NoticeSparkle

#
Create a new notice sparkle.
public NoticeSparkle(
notice,
Notice type.
PointF
location,
Location of notice.
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; }

End

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

ForeColour

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

Location

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

Notice

#
Gets the type of notice for this sparkle.
public NoticeType Notice { 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