ImageTColor, TDepthDraw Method (String, Point, FontFace, Double, TColor, Int32, LineType, Boolean) |
http://www.emgu.com
Draw the text using the specific font on the image
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic virtual void Draw(
string message,
Point bottomLeft,
FontFace fontFace,
double fontScale,
TColor color,
int thickness = 1,
LineType lineType = LineType.EightConnected,
bool bottomLeftOrigin = false
)
Public Overridable Sub Draw (
message As String,
bottomLeft As Point,
fontFace As FontFace,
fontScale As Double,
color As TColor,
Optional thickness As Integer = 1,
Optional lineType As LineType = LineType.EightConnected,
Optional bottomLeftOrigin As Boolean = false
)
public:
virtual void Draw(
String^ message,
Point bottomLeft,
FontFace fontFace,
double fontScale,
TColor color,
int thickness = 1,
LineType lineType = LineType::EightConnected,
bool bottomLeftOrigin = false
)
abstract Draw :
message : string *
bottomLeft : Point *
fontFace : FontFace *
fontScale : float *
color : 'TColor *
?thickness : int *
?lineType : LineType *
?bottomLeftOrigin : bool
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineType.EightConnected
let _bottomLeftOrigin = defaultArg bottomLeftOrigin false
*)
-> unit
override Draw :
message : string *
bottomLeft : Point *
fontFace : FontFace *
fontScale : float *
color : 'TColor *
?thickness : int *
?lineType : LineType *
?bottomLeftOrigin : bool
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineType.EightConnected
let _bottomLeftOrigin = defaultArg bottomLeftOrigin false
*)
-> unit
Parameters
- message
- Type: SystemString
The text message to be draw - bottomLeft
- Type: System.DrawingPoint
The location of the bottom left corner of the font - fontFace
- Type: Emgu.CV.CvEnumFontFace
Font type. - fontScale
- Type: SystemDouble
Font scale factor that is multiplied by the font-specific base size. - color
- Type: TColor
The color of the text - thickness (Optional)
- Type: SystemInt32
Thickness of the lines used to draw a text. - lineType (Optional)
- Type: Emgu.CV.CvEnumLineType
Line type - bottomLeftOrigin (Optional)
- Type: SystemBoolean
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner.
See Also