class AquaPlot::Util::Offset

Defined in:

common/options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(left : Float64 | Int32 = 0, right : Float64 | Int32 = 0, top : Float64 | Int32 = 0, bottom : Float64 | Int32 = 0, key : String = "") #

[View source]

Instance Method Detail

def bottom : Int32 | Float64 #

[View source]
def bottom=(bottom : Int32 | Float64) #

[View source]
def key : String #

[View source]
def key=(key : String) #

[View source]
def left : Int32 | Float64 #

[View source]
def left=(left : Int32 | Float64) #

[View source]
def right : Int32 | Float64 #

[View source]
def right=(right : Int32 | Float64) #

[View source]
def set_key(key : String) #

[View source]
def to_s #
Description copied from class Object

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.


[View source]
def top : Int32 | Float64 #

[View source]
def top=(top : Int32 | Float64) #

[View source]