Class Font
- Namespace
- GHIElectronics.Endpoint.Drawing
- Assembly
- GHIElectronics.Endpoint.Drawing.dll
public sealed class Font : MarshalByRefObject, IDisposable
- Inheritance
-
Font
- Implements
- Inherited Members
Constructors
Font()
public Font()
Font(byte[])
public Font(byte[] data)
Parameters
databyte[]
Font(byte[], int, int)
public Font(byte[] data, int offset, int count)
Parameters
Font(int)
public Font(int size)
Parameters
sizeint
Properties
Height
public int Height { get; }
Property Value
SkFont
public SKFont SkFont { get; }
Property Value
Unit
public GraphicsUnit Unit { get; }
Property Value
Methods
ComputeExtent(string, out int, out int)
public void ComputeExtent(string text, out int width, out int height)
Parameters
ComputeTextInRect(string, out int, out int)
public void ComputeTextInRect(string text, out int renderWidth, out int renderHeight)
Parameters
ComputeTextInRect(string, out int, out int, int)
public void ComputeTextInRect(string text, out int renderWidth, out int renderHeight, int availableWidth)
Parameters
CountCharactersInWidth(string, int, int, ref int, bool, ref string, ref int)
public void CountCharactersInWidth(string text, int maxChars, int width, ref int totWidth, bool fWordWrap, ref string strNext, ref int numChars)
Parameters
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~Font()
protected ~Font()