package sfml

  1. Overview
  2. Docs
val sprite : SFSprite.t
method draw : SFRenderWindow.t -> ?states:render_states -> unit -> unit
method draw_item : draw_type
method get_rotation : unit -> float
method get_scale : unit -> float * float
method get_scale_x : unit -> float
method get_scale_y : unit -> float
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_color : color:SFColor.t -> unit
method set_origin : origin:(float * float) -> unit
method set_position : pos:(float * float) -> unit
method set_position2 : x:float -> y: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_texture : texture:texture -> resetRect:bool -> unit
method t : SFSprite.t