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

VisualCanvasImageFit

Namespace ChartForgeX.Composition

Defines how source images are placed inside a visual canvas image layer.

Inheritance

  • Object
  • VisualCanvasImageFit

Usage

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

Accepted by parameters

Fields

Stretch #

Scale the image independently in both axes to fill the destination rectangle.

Contain #

Scale the image uniformly so the entire source is visible inside the destination rectangle.

Cover #

Scale and crop the image uniformly so the destination rectangle is fully covered.

Center #

Draw the image at its source pixel size, centered inside the destination rectangle.

Tile #

Repeat the image at its source pixel size, clipped to the destination rectangle.