module Celestine::Modules::Body

Overview

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

Included Modules

Direct including types

Defined in:

modules/body.cr

Instance Method Summary

Instance methods inherited from module Celestine::Modules::Position

position_attribute(io : IO) position_attribute, x : IFNumber | Nil x, x=(x : IFNumber | Nil) x=, x_units : String | Nil x_units, x_units=(x_units : String | Nil) x_units=, y : IFNumber | Nil y, y=(y : IFNumber | Nil) y=, y_units : String | Nil y_units, y_units=(y_units : String | Nil) y_units=

Instance Method Detail

def body_attribute(io) #

Draws the body and position attributes to an IO


[View source]
def height : IFNumber | Nil #

def height=(height : IFNumber | Nil) #

def height_units : String | Nil #

What kind of unit #height should use when rendering


def height_units=(height_units : String | Nil) #

What kind of unit #height should use when rendering


def width : IFNumber | Nil #

def width=(width : IFNumber | Nil) #

def width_units : String | Nil #

What kind of unit #width should use when rendering


def width_units=(width_units : String | Nil) #

What kind of unit #width should use when rendering