Enum SvgColorMode
Enum SvgColorMode
Namn på plats: Aspose.BarCode.Generation Sammanfattning: Aspose.BarCode.dll (25.4.0)
Möjliga sätt att fylla färger i svg-filen, RGB är standard och stöds av SVG 1.1.RGBA, HSL, HSLA är tillåtet i SVG 2.0 standard.Även i RGB opacity kommer att ställas in genom “full-opacity” parameter
public enum SvgColorMode
Fields
HSL = 2
HSL-läge, exempel: fill=“hsl(17, 100%, 53%)” fill-opacity=“0.73”
HSLA = 3
HSLA-läge, exempel: fill=“hsla(30, 50%, 70%, 0.8)”
RGB = 0
RGB-läge, exempel: fill="#ff5511" fill-opacity=“0.73”.
RGBA = 1
RGBA-läge, exempel: fill=“rgba(255, 85, 17, 0.73)”