Method: Sketchup::Tool#onLButtonUp

Defined in:
SketchUp/Sketchup/Tool.rb

#onLButtonUp(flags, x, y, view) ⇒ Object

The onLButtonUp method is called by SketchUp when the left mouse button is released.

Examples:

def onLButtonUp(flags, x, y, view)
  puts "onLButtonUp: flags = #{flags}"
  puts "                 x = #{x}"
  puts "                 y = #{y}"
  puts "              view = #{view}"
end

Parameters:

  • flags

    A bit mask that tells the state of the modifier keys and other mouse buttons at the time.

  • x

    The X coordinate on the screen where the event occurred.

  • y

    The Y coordinate on the screen where the event occurred.

  • view

    A View object where the method was invoked.

Returns:

  • nil

Version:

  • SketchUp 6.0



452
453
# File 'SketchUp/Sketchup/Tool.rb', line 452

def onLButtonUp(flags, x, y, view)
end