module

Celestine::Modules::Body

Inherits Celestine::Modules::Position

Gives drawables access to basic X, Y, W, H paramaters

Instance methods

body_attribute(io)

Draws the body and position attributes to an IO

Source
height
height=(height : IFNumber | Nil)
height_units

What kind of unit height should use when rendering

height_units=(height_units : String | Nil)

What kind of unit height should use when rendering

width
width=(width : IFNumber | Nil)
width_units

What kind of unit width should use when rendering

width_units=(width_units : String | Nil)

What kind of unit width should use when rendering

Nested types