package sfml

  1. Overview
  2. Docs
Bindings to the SFML multimedia library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04

doc/sfml.graphics_oo/Oo_sfml_graphics/class-text/index.html

Class Oo_sfml_graphics.text

val text : SFText.t
method draw : SFRenderWindow.t -> ?states:render_states -> unit -> unit
method draw_item : draw_type
method global_bounds : float_rect
method local_bounds : float_rect
method move : offset:(float * float) -> unit
method move2 : offset_x:float -> offset_y:float -> unit
method rotate : angle:float -> unit
method scale : factors:(float * float) -> unit
method scale2 : factor_x:float -> factor_y:float -> unit
method set_character_size : size:int -> unit
method set_color : color:SFColor.t -> unit
method set_font : font:font -> unit
method set_origin : origin:(float * float) -> unit
method set_position : pos:(float * float) -> unit
method set_position2 : left:float -> top:float -> unit
method set_rotation : rotation:float -> unit
method set_scale : scale:(float * float) -> unit
method set_scale2 : scale_x:float -> scale_y:float -> unit
method set_string : str:string -> unit
method t : SFText.t
OCaml

Innovation. Community. Security.