Class: Compass::Magick::Utils::Point

Inherits:
Struct
  • Object
show all
Defined in:
lib/magick/utils.rb

Overview

A helper Point(x, y) structure.

Instance Attribute Summary collapse

Instance Attribute Details

#x ⇒ Object

Returns the value of attribute x

Returns:

  • (Object) —

    the current value of x



90
91
92
# File 'lib/magick/utils.rb', line 90

def x
  @x
end

#y ⇒ Object

Returns the value of attribute y

Returns:

  • (Object) —

    the current value of y



90
91
92
# File 'lib/magick/utils.rb', line 90

def y
  @y
end