| PdfShadingPatternAntiAlias Property |
Set a flag indicating whether to filter the shading function to prevent aliasing artifacts.
Namespace: Patagames.Pdf.Net.PatternsAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax public bool AntiAlias { get; set; }
Public Property AntiAlias As Boolean
Get
Set
public:
property bool AntiAlias {
bool get ();
void set (bool value);
}
member AntiAlias : bool with get, set
/** @property */
public boolean get_AntiAlias()
/** @property */
public void set_AntiAlias(boolean value)
function get_AntiAlias();
function set_AntiAlias(value);
Property Value
Booleantrue if antialiasing is applied.
Remarks
The shading operators sample shading functions at a rate determined by the resolution of the output device.
Aliasing can occur if the function is not smooth—that is, if it has a high spatial frequency relative to
the sampling rate.Anti-aliasing can be computationally expensive and is usually unnecessary, since most shading functions are smooth enough or are
sampled at a high enough frequency to avoid aliasing effects. Anti-aliasing may not be implemented on some output devices, in which case this flag is ignored.
See Also