Element.Ellipse¶
Generates an <ellipse> element
| Name | Type | Required | Description |
|---|---|---|---|
| cx | STRING | The x position of the center | |
| cy | STRING | The y position of the center | |
| rx | STRING | The x radius | |
| ry | STRING | The y radius | |
| attributes | STRING | Direct SVG attributes to apply, can generate with DaxLib.SVG.Attr.* or manually |
|
| transforms | STRING | Transformation to apply (can be generated with DaxLib.SVG.Transforms) |
STRING <ellipse> element
function 'DaxLib.SVG.Element.Ellipse' =
(
cx: STRING,
cy: STRING,
rx: STRING,
ry: STRING,
attributes: STRING,
transforms: STRING
) =>
"<ellipse" &
" cx='" & cx & "'" &
" cy='" & cy & "'" &
" rx='" & rx & "'" &
" ry='" & ry & "'" &
IF( NOT ISBLANK( attributes ), " " & attributes & " " ) &
IF( NOT ISBLANK( transforms ), " transform='" & transforms & "'" ) &
"/>"