Struct HeatmapViewport
- Namespace
- ATAS.Indicators.Heatmap
- Assembly
- ATAS.Indicators.dll
A rectangular slice of the heatmap timeline currently visible to the user. Carried by Viewport. PixelWidth is the rendered horizontal extent in physical pixels (DPI-corrected) — useful for choosing decimation step.
Added in ATAS 8.0.15.
public readonly struct HeatmapViewport
- Extension Methods
Constructors
HeatmapViewport(long, long, int)
A rectangular slice of the heatmap timeline currently visible to the user. Carried by Viewport. PixelWidth is the rendered horizontal extent in physical pixels (DPI-corrected) — useful for choosing decimation step.
public HeatmapViewport(long StartTimeNanos, long EndTimeNanos, int PixelWidth)
Parameters
StartTimeNanoslongEndTimeNanoslongPixelWidthint
Properties
DurationNanos
Span of the viewport in nanoseconds (>= 0).
public long DurationNanos { get; }
Property Value
- long
EndTimeNanos
public long EndTimeNanos { get; init; }
Property Value
- long
PixelWidth
public int PixelWidth { get; init; }
Property Value
- int
StartTimeNanos
public long StartTimeNanos { get; init; }
Property Value
- long
Methods
Deconstruct(out long, out long, out int)
public void Deconstruct(out long StartTimeNanos, out long EndTimeNanos, out int PixelWidth)
Parameters
StartTimeNanoslongEndTimeNanoslongPixelWidthint
Equals(HeatmapViewport)
public bool Equals(HeatmapViewport other)
Parameters
otherHeatmapViewport
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(HeatmapViewport, HeatmapViewport)
public static bool operator ==(HeatmapViewport left, HeatmapViewport right)
Parameters
leftHeatmapViewportrightHeatmapViewport
Returns
- bool
operator !=(HeatmapViewport, HeatmapViewport)
public static bool operator !=(HeatmapViewport left, HeatmapViewport right)
Parameters
leftHeatmapViewportrightHeatmapViewport
Returns
- bool