Table of Contents

Struct Cue

Namespace
Avalonia.Animation
Assembly
Avalonia.Base.dll

Determines the time index for a KeyFrame.

[TypeConverter(typeof(CueTypeConverter))]
public readonly struct Cue : IEquatable<Cue>, IEquatable<double>
Implements
Inherited Members

Constructors

Cue(double)

Sets a new Cue object.

public Cue(double value)

Parameters

value double

Properties

CueValue

The normalized percent value, ranging from 0.0 to 1.0

public double CueValue { get; }

Property Value

double

Methods

Equals(Cue)

public bool Equals(Cue other)

Parameters

other Cue

Returns

bool

Equals(double)

Checks for equality between a Cue and a double value.

public bool Equals(double other)

Parameters

other double

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Parse(string, CultureInfo?)

Parses a string to a Cue object.

public static Cue Parse(string value, CultureInfo? culture)

Parameters

value string
culture CultureInfo

Returns

Cue

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Cue, Cue)

public static bool operator ==(Cue left, Cue right)

Parameters

left Cue
right Cue

Returns

bool

operator !=(Cue, Cue)

public static bool operator !=(Cue left, Cue right)

Parameters

left Cue
right Cue

Returns

bool