Type: | Images and Specials |
---|---|
Attributes: | radius • x • y • align • alt • background-color • background-image-dpi • background-image-position • background-image • background-pdf • border-color • border-style • border-width • border • clear • corner-radius • display • float • font-size • height • href • left • line-cap • line-height • line-join • margin • onmouseover • overflow • padding • page-break-after • page-break-inside • position • rotate • size • title • top • vertical-align • visibility • white-space • width • class • colorspace • direction • id • lang • pdf-tag-background-color • pdf-tag-border-color • pdf-tag-border-style • pdf-tag-border-thickness • pdf-tag-color • pdf-tag-list-numbering • pdf-tag-placement • pdf-tag-table-colspan • pdf-tag-table-headers • pdf-tag-table-rowspan • pdf-tag-table-scope • pdf-tag-table-summary • pdf-tag-text-align • pdf-tag-type |
See: | a ellipse pdf shape |
The circle element draws a circle into the pdf, and is a subclass of ellipse (which in turn is just another block element).
A circle should have it's x and y attributes set to the center of the circle, and must have it's radius attribute specified.
Like any other block element, it will be drawn and colored using it's border-color and background-color / background-image / background-pdf as appropriate.
This would draw a circle centered in the middle of the DIV
<div width="200" height="200"> <circle x="50%" y="50%" radius="40%" border="1"/> </div>