class Cura::Event::Mouse

Dispatched when a mouse's button state changes.

Attributes

x[R]

Get the X coordinate where the mouse button was pressed.

@return [Integer]

y[R]

Get the Y coordinate where the mouse button was pressed.

@return [Integer]

Protected Instance Methods

x=(value) click to toggle source
# File lib/cura/event/mouse.rb, line 19
def x=(value)
  @x = value.to_i
end
y=(value) click to toggle source
# File lib/cura/event/mouse.rb, line 23
def y=(value)
  @y = value.to_i
end