Enum PutTextFlags
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Flags for 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).
[Flags]
public enum PutTextFlags
Fields
AlignCenter = 1Center the text at the origin (not implemented yet in OpenCV).
AlignLeft = 0Put the text to the right from the origin.
AlignMask = AlignCenter | AlignRightAlignment mask.
AlignRight = 2Put the text to the left of the origin.
OriginBL = 32Treat the target image as having a bottom-left origin.
OriginTL = 0Treat the target image as having a top-left origin (default).
Wrap = 128Wrap text to the next line if it does not fit.