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



43
44
45
46
# File 'lib/reflex/helper.rb', line 43

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

#move_by(*args) ⇒ Object



28
29
30
31
# File 'lib/reflex/helper.rb', line 28

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

#move_to(*args) ⇒ Object



23
24
25
26
# File 'lib/reflex/helper.rb', line 23

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

#resize_by(*args) ⇒ Object



38
39
40
41
# File 'lib/reflex/helper.rb', line 38

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

#resize_to(*args) ⇒ Object



33
34
35
36
# File 'lib/reflex/helper.rb', line 33

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