Rayex.Text (Rayex v0.0.2) View Source

Text related functions

Link to this section Summary

Functions

Draw current FPS

Draw text (using default font)

Link to this section Functions

Specs

draw_fps(integer(), integer()) :: :ok

Draw current FPS

Link to this function

draw_text(text, pos_x, pos_y, font_size, color)

View Source

Specs

draw_text(String.t(), integer(), integer(), integer(), Rayex.Structs.Color.t()) ::
  :ok

Draw text (using default font)