Skip to content
ChartForgeX
Struct

TextMetrics

ChartForgeX.Typography

Namespace
ChartForgeX.Typography
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Describes measured text dimensions.

Inheritance

  • ValueType
  • TextMetrics

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public TextMetrics(double width, double height, double lineHeight) #

Initializes measured text dimensions.

Parameters

width double required
height double required
lineHeight double required

Properties

public double Width { get; } #

Gets the measured width.

public double Height { get; } #

Gets the measured height.

public double LineHeight { get; } #

Gets the resolved line height.