package sfml
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/SFShape/index.html
Module SFShape
Online documentation for the Shape class
val create : (float * float) array -> t
val move : shape:t -> offset:(float * float) -> unit
val move2 : shape:t -> offsetX:float -> offsetY:float -> unit
val rotate : shape:t -> angle:float -> unit
val scale : shape:t -> factors:(float * float) -> unit
val scale2 : shape:t -> factorX:float -> factorY:float -> unit
val setPosition : shape:t -> pos:(float * float) -> unit
val setPosition2 : shape:t -> posX:float -> posY:float -> unit
val setRotation : shape:t -> angle:float -> unit
val setScale : shape:t -> scale:(float * float) -> unit
val setScale2 : shape:t -> scaleX:float -> scaleY:float -> unit
val setOrigin : shape:t -> origin:(float * float) -> unit
val setOrigin2 : shape:t -> originX:float -> originY:float -> unit
val setOutlineThickness : shape:t -> thickness:float -> unit
val update : shape:t -> unit
val getPointCount : shape:t -> int
val of_circle : SFCircleShape.t -> t
val of_rectangle : SFRectangleShape.t -> t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>