SVG/Attribut/fill
Aus SELFHTML-Wiki
Das fill-Präsentationsattribut legt die Füllfarbe für ein Objekt fest.
erlaubte Werte |
|
---|---|
default-Wert | schwarz |
erlaubt in | Formen und Text-Elemente |
Beispiel
<circle fill="red" ... />
Der Kreis wird rot gefüllt. Fehlt das fill-Attribut, wird das Element schwarz gefüllt.
Siehe auch
Weblinks
- W3C: Fill Property
Liste der SVG-Attribute
- Kernattribute
- Präsentationsattribute
- Anzeige
- Beschneidung und Masken
- Farben und Verläufe
- color-interpolation
- fill
- fill-opacity
- fill-rule
- image-rendering
- marker
- marker-end
- marker-mid
- marker-start
- paint-order
- shape-rendering
- stop-color
- stop-opacity
- stroke
- stroke-align
- stroke-dasharray
- stroke-dashadjust
- stroke-dashcorner
- stroke-dashoffset
- stroke-linecap
- stroke-linejoin
- stroke-miterlimit
- stroke-opacity
- stroke-width
- text-rendering
- vector-effect
- Filter
- Größen und Geometrie
- Schrift
- Text
- Animations-Attribute
- Filter-Attribute
- Layout-Attribute
- viewBox-Attribute
- XLink-Attribute
- weitere XML-Attribute