ElementGeometry
Classes for defining the symbology and geometry of geometric elements
Classes
Name | Description | |
---|---|---|
LineLayout | Represents the layout of a single line within a paragraph of a text block. | |
RunLayout | Represents the layout of a single run (text, fraction, or line break) within a line of text. | |
TextBlockLayout | Describes the layout of a text block as a collection of lines containing runs. |
Global Functions
Name | Description | |
---|---|---|
appendFrameToBuilder | Based on the frame style, this method will construct and append GeometryParams (for line style) and a Loop (for the frame shape) to the builder. | |
appendTextAnnotationGeometry | Constructs the TextBlockGeometry and frame geometry and appends the geometry to the provided builder. | |
computeFrame | Computes the frame geometry based on the provided frame shape and range. | |
computeGraphemeOffsets | Computes the range from the start of a RunLayoutResult to the trailing edge of each grapheme. | |
computeIntervalPoints | Computes points along the edges of the frame geometry based on the provided frame shape, range, and interval factors. | |
computeLayoutTextBlockResult | Gets the result of laying out the the contents of a TextBlock into a series of lines containing runs. | |
layoutTextBlock | Lays out the contents of a TextBlock into a series of lines containing runs. | |
produceTextBlockGeometry | Produces the geometry for a text block in a way that can be interpreted by a GeometryStreamBuilder or ElementBuilder.Geometry. |
Interfaces
Name | Description | |
---|---|---|
AppendTextAnnotationGeometryArgs | Properties required to compute the geometry of a text annotation. | |
ComputeFrameArgs | Arguments for the computeFrame method. | |
ComputeGraphemeOffsetsArgs | Arguments supplied to computeGraphemeOffsets. | |
ComputeIntervalPointsArgs | Arguments for the computeIntervalPoints method. | |
CreateFontFileFromShxBlobArgs | Arguments supplied to createFromShxFontBlob. | |
FontFile | A container for one or more font faces, often originating as a file on disk. | |
LayoutTextBlockArgs | Arguments supplied to computeLayoutTextBlockResult. |
Namespaces
Name | Description | |
---|---|---|
FontFile | ||
LineStyleDefinition | A line style definition is a uniquely named pattern that repeats as it is displayed along a curve path. |
Last Updated: 11 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.