THotPDF.ColorGlyphForegroundAlpha Property
Gets or sets the application foreground alpha that multiplies into COLRv0 layers and COLRv1 paints when palette entry $FFFF resolves. The default is 255
Declaration
property ColorGlyphForegroundAlpha: Byte read FColorGlyphForegroundAlpha write FColorGlyphForegroundAlpha default 255;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns the current value of the ColorGlyphForegroundAlpha property
Usage notes
- COLRv1 paint or stop alpha is clamped and multiplied by the foreground alpha once, and the normalized combined opacity is retained in the AlphaValue fields of THPDFCOLRv1Paint and THPDFCOLRv1ColorStop
- Use the alpha together with ColorGlyphForegroundColor so entry $FFFF resolves to one consistent application foreground