class

AquaPlot::Util::Offset

Inherits Reference / Object

Constructors

new(left : Float64 | Int32 = 0, right : Float64 | Int32 = 0, top : Float64 | Int32 = 0, bottom : Float64 | Int32 = 0, key : String = "")
Source

Instance methods

bottom
Source
bottom=(bottom : Int32 | Float64)
Source
key=(key : String)
Source
left
Source
left=(left : Int32 | Float64)
Source
right
Source
right=(right : Int32 | Float64)
Source
set_key(key : String)
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
top=(top : Int32 | Float64)
Source