Show / Hide Table of Contents

Struct TrackHitInfo

Sample hit test information

Implements
System.IEquatable<TrackHitInfo>
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Phoenix.Input
Assembly: Phoenix.Plugin.Input.dll
Syntax
public struct TrackHitInfo : IEquatable<TrackHitInfo>

Constructors

View Source

TrackHitInfo(Track, Rect)

Initializes a new instance of the TrackHitInfo struct

Declaration
public TrackHitInfo(Track trackHit, Rect trackExtent)
Parameters
Type Name Description
Track trackHit

Track hit

System.Windows.Rect trackExtent

Tract pixel rectangle

Properties

View Source

HitTest

Gets or sets the track hit

Declaration
public Track HitTest { readonly get; set; }
Property Value
Type Description
Track
View Source

TrackExtent

Gets or sets the track extent on screen

Declaration
public Rect TrackExtent { get; set; }
Property Value
Type Description
System.Windows.Rect

Methods

View Source

Equals(TrackHitInfo)

Declaration
public bool Equals(TrackHitInfo other)
Parameters
Type Name Description
TrackHitInfo other
Returns
Type Description
System.Boolean
View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()

Operators

View Source

Equality(TrackHitInfo, TrackHitInfo)

Compares two hit info structures to determine if they are equal

Declaration
public static bool operator ==(TrackHitInfo first, TrackHitInfo second)
Parameters
Type Name Description
TrackHitInfo first

First structure

TrackHitInfo second

Second structure

Returns
Type Description
System.Boolean

Whether structures are equal

View Source

Inequality(TrackHitInfo, TrackHitInfo)

Compares two hit info structures to determine if they are not equal

Declaration
public static bool operator !=(TrackHitInfo first, TrackHitInfo second)
Parameters
Type Name Description
TrackHitInfo first

First structure

TrackHitInfo second

Second structure

Returns
Type Description
System.Boolean

Whether structures are not equal

Implements

System.IEquatable<T>
  • View Source
In This Article
Back to top Generated by DocFX