struct Espresso::Coordinates


Two-dimensional position of an object. Contains an x and y-coordinate represented as 64-bit floating-pointer numbers.

Defined in:



Instance Method Summary

Constructor Detail

def, y) #

Creates the position with initial values.

[View source]

Instance Method Detail

def to_s(io) #

Creates a string representation of the position.

[View source]
def x : Float64 #

Distance along the x-axis.

[View source]
def y : Float64 #

Distance along the y-axis.

[View source]