Table of Contents

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 IDirect2DFactory
textLayout ITextLayout
originX float
originY float
isPixelSnappingDisabled bool
transform Matrix3x2Float?
pixelsPerDip float

Returns

IGeometry

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 IDirect2DFactory
textLayout ITextLayout
origin Point2Float
isPixelSnappingDisabled bool
transform Matrix3x2Float?
pixelsPerDip float

Returns

IGeometry