Create(Factory,Single,Single,Single,PixelGeometry,RenderingMode) Method
In This Topic
Creates a rendering parameters object with the specified properties.
Syntax
'Declaration
Public Overloads Shared Function Create( _
ByVal As Factory, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As PixelGeometry, _
ByVal As RenderingMode _
) As RenderingParams
public static RenderingParams Create(
Factory ,
System.float ,
System.float ,
System.float ,
PixelGeometry ,
RenderingMode
)
Parameters
- factory
- A reference to a DirectWrite factory Factory
- gamma
- The gamma level to be set for the new rendering parameters object.
- enhancedContrast
- The enhanced contrast level to be set for the new rendering parameters object.
- clearTypeLevel
- The ClearType level to be set for the new rendering parameters object.
- pixelGeometry
- Represents the internal structure of a device pixel (that is, the physical arrangement of red, green, and blue color components) that is assumed for purposes of rendering text.
- renderingMode
- A value that represents the method (for example, ClearType natural quality) for rendering glyphs.
See Also