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-shape/index.html

Class Oo_sfml_graphics.shape

val shape : SFShape.t
method draw : SFRenderWindow.t -> ?states:render_states -> unit -> unit
method draw_item : draw_type
method get_point_count : unit -> int
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_fill_color : color:SFColor.t -> unit
method set_outline_color : color:SFColor.t -> unit
method set_outline_thickness : thickness:float -> unit
method t : SFShape.t
method update : unit -> unit
OCaml

Innovation. Community. Security.