Skip to main content

Cue Struct

Definition

Assembly:Avalonia.Base
Package:Avalonia
Source:Cue.cs

Determines the time index for a Avalonia.Animation.KeyFrame.

public struct Cue

Inheritance: ValueType -> Cue

Implements: IEquatable<Cue>, IEquatable<double>

Constructors

NameDescription
CueSets a new Avalonia.Animation.Cue object.

Cue Constructor

Sets a new Avalonia.Animation.Cue object.

public Cue(double value)

Parameters

value double

Methods

NameDescription
Equals (3 overloads)No summary available.
GetHashCodeNo summary available.
ParseParses a string to a Avalonia.Animation.Cue object.
ToStringNo summary available.

Equals overloads

Equals Method

public bool Equals(Avalonia.Animation.Cue other)
Parameters

other Avalonia.Animation.Cue

Returns

bool

Equals Method

Checks for equality between a Avalonia.Animation.Cue and a double value.

public bool Equals(double other)
Parameters

other double

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

Parse Method

Parses a string to a Avalonia.Animation.Cue object.

public Avalonia.Animation.Cue Parse(string value, System.Globalization.CultureInfo culture)

Parameters

value string

culture System.Globalization.CultureInfo

Returns

Avalonia.Animation.Cue

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
CueValueThe normalized percent value, ranging from 0.0 to 1.0

CueValue Property

The normalized percent value, ranging from 0.0 to 1.0

public double CueValue { get; set; }