Enum SvgColorMode
Enum SvgColorMode
Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.1.0)
Mögliche Modi für die Füllfarbe in SVG-Dateien, RGB ist standardmäßig und wird von SVG 1.1 unterstützt.
RGBA, HSL, HSLA sind im SVG 2.0-Standard zulässig.
Selbst im RGB wird die Opazität über den Parameter “fill-opacity” festgelegt.
public enum SvgColorMode
Felder
HSL = 2
HSL-Modus, Beispiel: fill=“hsl(17, 100%, 53%)” fill-opacity=“0.73”
HSLA = 3
HSLA-Modus, Beispiel: fill=“hsla(30, 50%, 70%, 0.8)”
RGB = 0
RGB-Modus, Beispiel: fill="#ff5511" fill-opacity=“0.73”. Standardmodus.
RGBA = 1
RGBA-Modus, Beispiel: fill=“rgba(255, 85, 17, 0.73)”