NetTopologySuite
|
Provides methods to read System.Drawing.Font glyphs for strings into IPolygonal geometry. /summary> More...
Static Public Member Functions | |
static IGeometry | Read (string text, FontFamily font, int pointSize, IGeometryFactory geomFact) |
static IGeometry | Read (string text, FontFamily font, IGeometryFactory geomFact) |
static IGeometry | Read (string text, FontFamily font, FontStyle style, float size, PointF origin, IGeometryFactory geomFact) |
static IGeometry | Read (string text, FontFamily font, FontStyle style, float size, PointF origin, StringFormat stringFormat, double flatness, IGeometryFactory geomFact) |
static IGeometry | Read (string text, Font font, IGeometryFactory geomFact) |
Public Attributes | |
const string | FontSerif = "Serif" |
const string | FontSanserif = "SanSerif" |
const string | FontMonospaced = "Monospaced" |
Provides methods to read System.Drawing.Font glyphs for strings into IPolygonal geometry. /summary>
It is suggested to use larger point sizes to render fonts glyphs, to reduce the effects of scale-dependent hints.
The resulting geometry are in the base coordinate system of the font.
The geometry can be further transformed as necessary using AffineTransformations
<author>Martin Davis</author>
|
static |
summary> Converts text rendered in the given Font to a IGeometry using a standard flatness factor.
text | The text to render |
font | The FontFamily |
geomFact | The geometry factory to use to create the result |
|
static |
summary> Converts text rendered in the given Font and pointsize to a IGeometry using a standard flatness factor.
text | The text to render |
font | The FontFamily |
size | The size to render at |
style | The style to use |
flatness | The flatness to use |
origin | The point to start |
stringFormat | The string format to use |
geomFact | The geometry factory to use to create the result |