Module Mlpost.Shapes
Rectangles, Circles, etc.
val round_rect : Num.t -> Num.t -> Num.t -> Num.t -> Path.tround_rect w h rx ryreturns a rectangle of widthwand heighthwith rounded corners. The rounded corners are arcs of an ellipse of radiirxandry.rx(resp.ry) should be positive and smaller thanw/2(resp.h/2).
val ellipse : Num.t -> Num.t -> Path.tellipse rx ryreturns an ellipse of great axisrxand small axisry. The ellipse is centered on the origin and aligned with the x axis.- parameter fill
the color with which to fill the ellipse ; if no color is provided, it is not filled.
- parameter stroke
the color with which the ellipse's outline shall be drawn ; default is black.
- parameter thickness
the thickness of the pen used to draw the outline ; 1. is default
val patatoid2 : Num.t -> Num.t -> Path.tSee
Box.patatoid2.