class

AquaPlot::Util::XY

Inherits Reference / Object

Constructors

new(x : Float64 | Int32 = 0, y : Float64 | Int32 = 0, key : String = "")
Source

Instance methods

key=(key : String)
Source
set_key(key : String)
Source
to_range
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
x=(x : Int32 | Float64)
Source
y=(y : Int32 | Float64)
Source