Contour3DSpec
public struct Contour3DSpecContour selection, expansion, and outline-ring authoring for one layer.
Fields
Section titled “Fields”
program
Section titled “program”public TextStudio3DContourProgram programReturns
TextStudio.ThreeD.TextStudio3DContourProgram
public LayerScope3DMode scopeReturns
TextStudio.ThreeD.LayerScope3DMode
selection
Section titled “selection”public LayerSelection3DSpec selectionReturns
TextStudio.ThreeD.LayerSelection3DSpec
expand
Section titled “expand”public float expandReturns
System.Single
expandJoin
Section titled “expandJoin”public BevelJoinType expandJoinReturns
TextStudio.ThreeD.BevelJoinType
expandMiterLimit
Section titled “expandMiterLimit”public float expandMiterLimitReturns
System.Single
strokes
Section titled “strokes”public StrokeSpec[] strokesReturns
TextStudio.ThreeD.StrokeSpec[]
strokeInheritance
Section titled “strokeInheritance”public StrokeInheritMode strokeInheritanceReturns
TextStudio.ThreeD.StrokeInheritMode
Methods
Section titled “Methods”
ConnectedOutline(float, LayerScope3DMode, BevelJoinType, float)
Section titled “ConnectedOutline(float, LayerScope3DMode, BevelJoinType, float)”public static Contour3DSpec ConnectedOutline(float bridgeRadius, LayerScope3DMode scope = LayerScope3DMode.Word, BevelJoinType join = BevelJoinType.Round, float miterLimit = 4)Create a grouped expanded silhouette for a connected outline layer behind ordinary
text. Neighboring glyph gaps smaller than twice bridgeRadius merge
into one contour without requiring a manually authored word mesh.
Parameters
| Name | Type |
|---|---|
bridgeRadius |
System.Single |
scope |
TextStudio.ThreeD.LayerScope3DMode |
join |
TextStudio.ThreeD.BevelJoinType |
miterLimit |
System.Single |
Returns
TextStudio.ThreeD.Contour3DSpec
Properties
Section titled “Properties”
Default
Section titled “Default”public static Contour3DSpec Default { get; }Returns
TextStudio.ThreeD.Contour3DSpec