Graphics Reference
In-Depth Information
Basic Shapes
Basic shapes available using SVG are illustrated in Fig.
.
, along with the corre-
spondingSVGcodes.heminimuminformation requiredtodisplaytheshapes,such
as position and size, are specified as attributes of each element. Additional informa-
tion, such as the line and fill colors and the line width, are specified via the
style
attribute in Cascading Style Sheet (CSS) format.
Figure
.
.
Basic shapes