Viewport

class Viewport(var x: Extent? = null, var y: Extent? = null)

The visible area of a trace.

Constructors

Link copied to clipboard
constructor(x: Extent? = null, y: Extent? = null)

Properties

Link copied to clipboard
var x: Extent?

The x extent is the range of x values that are visible in the viewport. If the x extent is not specified, it is assumed that the entire range of x values is visible.

Link copied to clipboard
var y: Extent?

The y extent is the range of y values that are visible in the viewport. If the y extent is not specified, it is assumed that the entire range of y values is visible.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Returns true if this instance is equal to other.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this instance.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this instance.