Create the font to be used to draw text on an image
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public CvFontQt( string nameFont, int pointSize, CvScalar color, FontWeight weight, FontStyle style )
Parameters
- nameFont
- Type: SystemString
Name of the font. The name should match the name of a system font (such as ``Times’‘). If the font is not found, a default one will be used. - pointSize
- Type: SystemInt32
Size of the font. If not specified, equal zero or negative, the point size of the font is set to a system-dependent default value. Generally, this is 12 points. - color
- Type: OpenCvSharpCvScalar
Color of the font in BGRA – A = 255 is fully transparent. Use the macro CV _ RGB for simplicity. - weight
- Type: OpenCvSharpFontWeight
The operation flags - style
- Type: OpenCvSharpFontStyle
The operation flags
See Also