Table of Contents

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 float
enhancedContrast float
grayscaleEnhancedContrast float
clearTypeLevel float
pixelGeometry PixelGeometry
renderingMode TextRenderingMode
gridFitMode GridFitMode

Returns

ITextRenderingParameters