Class FontFace
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
TrueType font face used by the FontFace-based PutText(InputOutputArray, string, Point, Scalar, FontFace, int, int, PutTextFlags, Range?) and GetTextSize(Size, string, Point, FontFace, int, int, PutTextFlags, Range?) (OpenCV 5).
public class FontFace : CvObject, IDisposable
- Inheritance
-
FontFace
- Implements
- Inherited Members
Constructors
- FontFace()
Loads the default embedded font.
- FontFace(string)
Loads the font at the specified path or with the specified embedded name.
Properties
- Name
Gets the current font name.
Methods
- GetInstance(out int[])
Gets the current variable-font instance parameters.
- Set(string)
Loads a new font face.
- SetInstance(int[])
Sets the current variable-font instance.