BuildGeometry Method
Obtains geometry for the text, including underlines and strikethroughs.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Geometry? BuildGeometry(
Point origin
)
Public Function BuildGeometry (
origin As Point
) As Geometry
member BuildGeometry :
origin : Point -> Geometry
Parameters
- Point
- The left top origin of the resulting geometry.
Return Value
Geometry
The geometry returned contains the combined geometry of all of the glyphs, underlines and strikeThroughs that represent the formatted text. Overlapping contours are merged by performing a Boolean union operation.