Project

ChartForgeX

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

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

VisualCanvasImageLayer

Namespace ChartForgeX.Composition
Assembly ChartForgeX.Visuals
Modifiers sealed

Image layer for host-provided bitmap or SVG-compatible image references.

Inheritance

Constructors

public VisualCanvasImageLayer(Double x, Double y, Double width, Double height) #

Initializes an image layer.

Parameters

x System.Double requiredposition: 0
The image X coordinate.
y System.Double requiredposition: 1
The image Y coordinate.
width System.Double requiredposition: 2
The rendered image width.
height System.Double requiredposition: 3
The rendered image height.

Properties

public String Href { get; set; } #

Gets or sets the SVG image href. Renderers do not fetch it for PNG output.

public Byte[]? Rgba { get; set; } #

Gets or sets borrowed source RGBA pixels. SVG embeds them as PNG when Href is empty.

public Int32 SourceWidth { get; set; } #

Gets or sets the source bitmap width for PNG output.

public Int32 SourceHeight { get; set; } #

Gets or sets the source bitmap height for PNG output.

public VisualCanvasImageFit Fit { get; set; } #

Gets or sets how the source image is placed inside the destination rectangle.

public Double Opacity { get; set; } #

Gets or sets image opacity from zero to one.