Font structure
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvFont
OpenCvSharpCvFontQt
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvFont type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CvFont | Initializes a new instance of the CvFont class |
![]() | CvFont(FontFace, Double, Double) |
Initializes font structure
|
![]() | CvFont(FontFace, Double, Double, Double) |
Initializes font structure
|
![]() | CvFont(FontFace, Double, Double, Double, Int32) |
Initializes font structure
|
![]() | CvFont(FontFace, Double, Double, Double, Int32, LineType) |
Initializes font structure
|
Properties
Name | Description | |
---|---|---|
![]() | AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) |
![]() | AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) |
![]() | Ascii |
font data and metrics
|
![]() | Color |
ColorFont -> cvScalar(blue_component, green_component, red\_component[, alpha_component])
|
![]() | CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) |
![]() | Cyrillic | |
![]() | Dx |
horizontal interval between letters
|
![]() | FontFace |
Font name identifier
|
![]() | Greek | |
![]() | HScale |
Horizontal scale. If equal to 1.0f, the characters have the original width depending on the font type. If equal to 0.5f, the characters are of half the original width.
|
![]() | IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) |
![]() | IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) |
![]() | LineType |
Type of the strokes
|
![]() | NameFont |
ColorFont -> cvScalar(blue_component, green_component, red\_component[, alpha_component])
|
![]() | Shear |
slope coefficient: 0 - normal, >0 - italic
|
![]() | Thickness |
letters thickness
|
![]() | VScale |
Vertical scale. If equal to 1.0f, the characters have the original height depending on the font type. If equal to 0.5f, the characters are of half the original height.
|
Methods
Name | Description | |
---|---|---|
![]() | AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) |
![]() | AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) |
![]() | Dispose |
Releases the resources
(Inherited from DisposableObject.) |
![]() | Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetTextSize(String) |
Retrieves width and height of text string
|
![]() | GetTextSize(String, Int32) |
Retrieves width and height of text string
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) |
![]() | ptr |
Data pointer
(Inherited from DisposableCvObject.) |
![]() ![]() | SizeOf |
sizeof(CvFont)
|
See Also