Method CreateGeometryFromTextLayout
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
CreateGeometryFromTextLayout(IDirect2DFactory, ITextLayout, float, float, bool, in Matrix3x2Float?, float)
public static IGeometry CreateGeometryFromTextLayout(this IDirect2DFactory factory, ITextLayout textLayout, float originX = 0, float originY = 0, bool isPixelSnappingDisabled = false, in Matrix3x2Float? transform = null, float pixelsPerDip = 1)
Parameters
factory
IDirect2DFactorytextLayout
ITextLayoutoriginX
floatoriginY
floatisPixelSnappingDisabled
booltransform
Matrix3x2Float?pixelsPerDip
float
Returns
CreateGeometryFromTextLayout(IDirect2DFactory, ITextLayout, Point2Float, bool, in Matrix3x2Float?, float)
public static IGeometry CreateGeometryFromTextLayout(this IDirect2DFactory factory, ITextLayout textLayout, Point2Float origin, bool isPixelSnappingDisabled = false, in Matrix3x2Float? transform = null, float pixelsPerDip = 1)
Parameters
factory
IDirect2DFactorytextLayout
ITextLayoutorigin
Point2FloatisPixelSnappingDisabled
booltransform
Matrix3x2Float?pixelsPerDip
float