Module: Reflex::HasFrame

Included in:
Shape, View, Window
Defined in:
lib/reflex/helper.rb

Instance Method Summary collapse

Instance Method Details

#inset_by(*args) ⇒ Object



46
47
48
49
# File 'lib/reflex/helper.rb', line 46

def inset_by (*args)
  self.frame = frame.inset_by *args
  self
end

#move_by(*args) ⇒ Object



31
32
33
34
# File 'lib/reflex/helper.rb', line 31

def move_by (*args)
  self.frame = frame.move_by *args
  self
end

#move_to(*args) ⇒ Object



26
27
28
29
# File 'lib/reflex/helper.rb', line 26

def move_to (*args)
  self.frame = frame.move_to *args
  self
end

#resize_by(*args) ⇒ Object



41
42
43
44
# File 'lib/reflex/helper.rb', line 41

def resize_by (*args)
  self.frame = frame.resize_by *args
  self
end

#resize_to(*args) ⇒ Object



36
37
38
39
# File 'lib/reflex/helper.rb', line 36

def resize_to (*args)
  self.frame = frame.resize_to *args
  self
end