package sfml

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

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351

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.