Method CreateCustomTextRenderingParameters
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
CreateCustomTextRenderingParameters(float, float, float, float, PixelGeometry, TextRenderingMode, GridFitMode)
Creates a rendering parameters object with the specified properties.
ITextRenderingParameters CreateCustomTextRenderingParameters(float gamma = 1.8, float enhancedContrast = 0.5, float grayscaleEnhancedContrast = 1, float clearTypeLevel = 0.5, PixelGeometry pixelGeometry = PixelGeometry.Rgb, TextRenderingMode renderingMode = TextRenderingMode.Default, GridFitMode gridFitMode = GridFitMode.Default)
Parameters
gamma
floatenhancedContrast
floatgrayscaleEnhancedContrast
floatclearTypeLevel
floatpixelGeometry
PixelGeometryrenderingMode
TextRenderingModegridFitMode
GridFitMode