Module Vz.Mark

module Mark: sig .. end
Marks.

This module provides a few convenience combinators to create paths.



Mark alignement


type halign = [ `Center | `Left | `Right ] 
The type for horizontal alignements.
type valign = [ `Bottom | `Center | `Top ] 
The type for vertical alignements.

Marks

Mark constructors share the following optional parameters.


val htick : ?path:Vg.path ->
?halign:halign ->
?valign:valign -> ?pos:Gg.v2 -> float -> Vg.path
htick l is a horizontal tick of length l.
val vtick : ?path:Vg.path ->
?halign:halign ->
?valign:valign -> ?pos:Gg.v2 -> float -> Vg.path
vtick l is a vertical tick of length l.
val dot : ?path:Vg.path ->
?halign:halign ->
?valign:valign -> ?pos:Gg.v2 -> float -> Vg.path
dot w is a dot of diameter w.
val square : ?path:Vg.path ->
?halign:halign ->
?valign:valign -> ?pos:Gg.v2 -> float -> Vg.path
square w is a square of side w.