ITextStudioShapedGeometryBackend
public interface ITextStudioShapedGeometryBackendOptional exact planar geometry accompanying the backend's existing shaped glyph revision.
Methods
Section titled “Methods”
TryGetShapedGlyphGeometry(int, out TextStudioBackendShapedGlyphGeometry)
Section titled “TryGetShapedGlyphGeometry(int, out TextStudioBackendShapedGlyphGeometry)”bool TryGetShapedGlyphGeometry(int shapedGlyphIndex, out TextStudioBackendShapedGlyphGeometry geometry)Gets planar geometry for one glyph in the current shaped revision, when available.
Parameters
| Name | Type |
|---|---|
shapedGlyphIndex |
System.Int32 |
geometry |
TextStudio.TextStudioBackendShapedGlyphGeometry |
Returns
System.Boolean
TryGetShapedPrimitive(int, out TextStudioBackendShapedPrimitive)
Section titled “TryGetShapedPrimitive(int, out TextStudioBackendShapedPrimitive)”bool TryGetShapedPrimitive(int primitiveIndex, out TextStudioBackendShapedPrimitive primitive)Gets one filled primitive owned by the current shaped revision.
Parameters
| Name | Type |
|---|---|
primitiveIndex |
System.Int32 |
primitive |
TextStudio.TextStudioBackendShapedPrimitive |
Returns
System.Boolean
Properties
Section titled “Properties”
ShapedPrimitiveCount
Section titled “ShapedPrimitiveCount”int ShapedPrimitiveCount { get; }Returns
System.Int32