Enum SvgColorMode
Enum SvgColorMode
Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.1.0)
Möjliga lägen för att fylla färg i svg-fil, RGB är standard och stöds av SVG 1.1.
RGBA, HSL, HSLA är tillåtna i SVG 2.0-standarden.
Även i RGB kommer opacitet att ställas in genom “fill-opacity”-parametern.
public enum SvgColorMode
Fält
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”. Standardläge.
RGBA = 1
RGBA-läge, exempel: fill=“rgba(255, 85, 17, 0.73)”