Docsv3.31.0
Back to API Reference
Struct

Text3DBevel

sealed
Implements:IEquatable<Text3DBevel>IStateSnapshot<Text3DBevel>

Edge profile of one side of a UniText3D, in em of the font size.

Remarks

The bevel runs inward from the outline by width while it recedes from the face plane by height. A width beyond half a stroke meets the opposite edge, so the stroke closes in a ridge.
public static Text3DBevel Default{ get }

A round bevel of a fiftieth of an em used by new texts.

public bool IsSharp{ get }

Whether the edge is sharp: no shape or no width.

public bool Equals(Text3DBevel other)
public override bool Equals(object obj)
public override int GetHashCode()
public Text3DBevel CaptureStateSnapshot()
public bool StateEquals(in Text3DBevel snapshot)
public Text3DBevelShape shape

Cross-section of the edge.

public float width

How far the bevel reaches inward from the outline, in em.

public float height

How far the bevel recedes from the face plane, in em; a negative height recedes nothing.

public int segments

Segments of a curved cross-section, at least two for Text3DBevelShape.Bead and three for Text3DBevelShape.Ogee; straight shapes ignore it.

public float roundness

Fullness of Text3DBevelShape.Round: -1 hollow, 0 circular, 1 nearly square.

public Ease curve

The rise of Text3DBevelShape.Custom: over the inset from the side (0) to the face (1), the share of height the edge has climbed toward the face, clamped to [0, 1]; a linear curve is a chamfer.