View Source Rayex.Text (Rayex v0.0.3)

Text related functions

Summary

Functions

Draw current FPS

Draw text (using default font)

Functions

@spec draw_fps(integer(), integer()) :: :ok

Draw current FPS

Link to this function

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

View Source
@spec draw_text(String.t(), integer(), integer(), integer(), Rayex.Structs.Color.t()) ::
  :ok

Draw text (using default font)