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. | |
TextStyleResolver | Resolves the effective style of TextBlockComponents and Leaders, taking into account overrides/style of the instance and its parent(s). |
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. | |
appendLeadersToBuilder | Constructs and appends leader lines and their terminators to the provided geometry builder for a text annotation. | |
appendTextAnnotationGeometry | Constructs the TextBlockGeometry and frame geometry and appends the geometry to the provided builder. | |
computeElbowDirection | Computes the direction vector for an "elbow" for leader based on the attachment point and a frame curve. | |
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. | |
computeLeaderAttachmentPoint | Computes the attachment point for a leader line on a text annotation frame. | |
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. | |
TextStyleResolverArgs | Arguments used when constructing a TextStyleResolver. |
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: 28 July, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.