Class WText
This 2D Widget represents text overlay.
public class WText : UnmanagedObject, IDisposable, IWidget2D, IWidget
- Inheritance
-
WText
- Implements
- Inherited Members
Constructors
WText(string, Point, int, MCvScalar)
Constructs a WText.
public WText(string text, Point pos, int fontSize, MCvScalar color)
Parameters
text
stringText content of the widget.
pos
PointPosition of the text.
fontSize
intFont size.
color
MCvScalarColor of the text.
Properties
GetWidget
Get the pointer to the widget object.
public nint GetWidget { get; }
Property Value
GetWidget2D
Get the pointer to the widget2D object
public nint GetWidget2D { get; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this Viz3d object
protected override void DisposeObject()