Module Virtual_dom_svg.Attr
type align_options
=
|
None
|
X_max_y_max
|
X_max_y_mid
|
X_max_y_min
|
X_mid_y_max
|
X_mid_y_mid
|
X_mid_y_min
|
X_min_y_max
|
X_min_y_mid
|
X_min_y_min
type units
=
|
Object_bounding_box
|
User_space_on_use
type angle
=
|
Deg of float
|
Grad of float
|
Rad of float
|
Turn of float
type path_op
=
type transform_op
=
|
Matrix of float * float * float * float * float * float
|
Translate of
{
dx : float;
dy : float;
}
|
Scale of
{
sx : float;
sy : float;
}
|
Rotate of
{
a : [ `Deg of float ];
x : float;
y : float;
}
|
Skew_x of float
|
Skew_y of float
val viewbox : min_x:float -> min_y:float -> width:float -> height:float -> Virtual_dom.Vdom.Attr.t
<a>
val href : string -> Virtual_dom.Vdom.Attr.t
many things
val transform : transform_op list -> Virtual_dom.Vdom.Attr.t
<circle>
val cx : float -> Virtual_dom.Vdom.Attr.t
val cy : float -> Virtual_dom.Vdom.Attr.t
val r : float -> Virtual_dom.Vdom.Attr.t
<ellipse>
val rx : float -> Virtual_dom.Vdom.Attr.t
val ry : float -> Virtual_dom.Vdom.Attr.t
<image>
val x : float -> Virtual_dom.Vdom.Attr.t
val y : float -> Virtual_dom.Vdom.Attr.t
val width : float -> Virtual_dom.Vdom.Attr.t
val height : float -> Virtual_dom.Vdom.Attr.t
val xlink_href : string -> Virtual_dom.Vdom.Attr.t
val preserve_aspect_ratio : align:align_options -> ?meet_or_slice:[ `Meet | `Slice ] -> unit -> Virtual_dom.Vdom.Attr.t
<line>
val x1 : float -> Virtual_dom.Vdom.Attr.t
val x2 : float -> Virtual_dom.Vdom.Attr.t
val y1 : float -> Virtual_dom.Vdom.Attr.t
val y2 : float -> Virtual_dom.Vdom.Attr.t
<linearGradient>
val gradient_units : units -> Virtual_dom.Vdom.Attr.t
val gradient_transform : transform_op list -> Virtual_dom.Vdom.Attr.t
<marker>
val marker_height : float -> Virtual_dom.Vdom.Attr.t
val marker_width : float -> Virtual_dom.Vdom.Attr.t
val marker_units : units -> Virtual_dom.Vdom.Attr.t
val orient : [ `Angle of angle | `Auto | `Auto_start_reverse ] -> Virtual_dom.Vdom.Attr.t
val refX : float -> Virtual_dom.Vdom.Attr.t
val refY : float -> Virtual_dom.Vdom.Attr.t
<mask>
val mask_units : units -> Virtual_dom.Vdom.Attr.t
val mask_content_units : units -> Virtual_dom.Vdom.Attr.t
<path>
val d : path_op list -> Virtual_dom.Vdom.Attr.t
<polygon>
val points : (float * float) list -> Virtual_dom.Vdom.Attr.t
val fill : [ `Url of string | Css_gen.Color.t ] -> Virtual_dom.Vdom.Attr.t
val stroke : Css_gen.Color.t -> Virtual_dom.Vdom.Attr.t
val stroke_width : float -> Virtual_dom.Vdom.Attr.t
val stroke_linecap : [ `Butt | `Round | `Square ] -> Virtual_dom.Vdom.Attr.t
val stroke_dasharray : float list -> Virtual_dom.Vdom.Attr.t
<polyline>
<radialGradient>
val fx : float -> Virtual_dom.Vdom.Attr.t
val fy : float -> Virtual_dom.Vdom.Attr.t
val fr : float -> Virtual_dom.Vdom.Attr.t
val spread_method : [ `Pad | `Reflect | `Repeat ] -> Virtual_dom.Vdom.Attr.t
<stop>
val offset : Core_kernel.Percent.t -> Virtual_dom.Vdom.Attr.t
val stop_color : Css_gen.Color.t -> Virtual_dom.Vdom.Attr.t
val stop_opacity : Core_kernel.Percent.t -> Virtual_dom.Vdom.Attr.t
<text>
val dx : float -> Virtual_dom.Vdom.Attr.t
val dy : float -> Virtual_dom.Vdom.Attr.t
module Text : sig ... end