sfml
Bindings to the SFML multimedia library
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library sfml_graphics
Online documentation for the Text class
val create : unit -> t
val setString : text:t -> str:string -> unit
val setPosition : text:t -> pos:(float * float) -> unit
val setPosition2 : text:t -> left:float -> top:float -> unit
val setOutlineThickness : text:t -> thickness:float -> unit
val setCharacterSize : text:t -> size:int -> unit
val setOrigin : text:t -> origin:(float * float) -> unit
val setRotation : text:t -> rotation:float -> unit
val setScale : text:t -> scale:(float * float) -> unit
val setScale2 : text:t -> scaleX:float -> scaleY:float -> unit
val move : text:t -> offset:(float * float) -> unit
val move2 : text:t -> offsetX:float -> offsetY:float -> unit
val rotate : text:t -> angle:float -> unit
val scale : text:t -> factors:(float * float) -> unit
val scale2 : text:t -> factorX:float -> factorY:float -> unit