[][src]Module wasm_svg_graphics::default

Contains some easy and nice ways to create definitions and shapes to render

Functions

circle

Creates a default circle with a certain radius

curve

Creates a default curve with control points 1 and 2 and an end point

polygon

Creates a polygon from a vector of points

rect

Creates a default rectangle with a certain width and height

set_circle_loc

Sets the location of SVG Circle (for non circles use set_loc)

set_loc

Sets the location of SVG elem (for circles use set_circle_loc)