Libraries
»
luit
(0.1.1)
»
Index
»
LUIT
»
LUITElement
»
#draw_rel
Method: LUIT::LUITElement#draw_rel
Defined in:
lib/luit.rb
#
draw_rel
(x = 0, y = 0) ⇒
Object
62 63 64
# File 'lib/luit.rb', line 62
def
draw_rel
(
x
=
0
,
y
=
0
)
draw
(
x
-
(
@w
/
2
)
,
y
-
(
@h
/
2
)
)
end