Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

VisualCanvasTextLayer

Namespace ChartForgeX.Composition

Plain text layer.

Inheritance

  • Object
  • VisualCanvasTextLayer

Constructors

VisualCanvasTextLayer(System.Double x, System.Double y, System.Double width, System.String text, System.Double fontSize, ChartForgeX.Primitives.ChartColor color) #

Initializes a plain text layer.

Parameters

x System.Double required
The text X coordinate.
y System.Double required
The text Y coordinate.
width System.Double required
The text width used for alignment and clipping.
text System.String required
The text to render.
fontSize System.Double required
The font size.
color ChartForgeX.Primitives.ChartColor required
The text color.

Properties

Text #

Gets or sets the text.

FontSize #

Gets or sets the font size.

Color #

Gets or sets the text color.

Alignment #

Gets or sets the text alignment.

Emphasized #

Gets or sets whether the text should use the emphasized raster/SVG treatment.