Skip to content
ChartForgeX
Class

TopologyMotionPresentation

ChartForgeX.Topology

Namespace
ChartForgeX.Topology
Assembly
ChartForgeX.Stories
Modifiers
sealed

A detached topology presentation that adds script-free motion to resolved static geometry.

Inheritance

  • object
  • TopologyMotionPresentation

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.

Returned or exposed by 3

Methods

public PreparedVisual Sample(double progress) #

Samples the same resolved route into a detached static scene without mutating the base scene.

Parameters

progress double required
Progress from zero to one. One retains the completed route for non-looping motion, and returns to the route start at the seam of looping motion.
public byte[] ToApng() #

Exports a sampled animated PNG.

Returns

byte[]
public byte[] ToGif() #

Exports a sampled animated GIF.

Returns

byte[]
public string ToHtmlFragment() #

Exports the animated SVG inside an embeddable HTML wrapper.

Returns

string
ToHtmlPage 2 overloads
public string ToHtmlPage() #

Exports a complete HTML document containing the animated SVG.

Returns

string
public string ToHtmlPage(Func<string, string> svgDecorator) #

Exports animated HTML after a caller-owned transformation of the trusted SVG presentation.

Parameters

svgDecorator System.Func<string, string> required

Returns

string
public byte[] ToPng() #

Exports the configured progress sample as PNG.

Returns

byte[]
public RgbaImage ToRgbaImage() #

Exports the configured progress sample as RGBA pixels.

Returns

RgbaImage
ToSvg 2 overloads
public string ToSvg() #

Exports script-free animated SVG over the native resolved route plan.

Returns

string
public string ToSvg(string idScope) #

Exports animated SVG with a caller-owned embedding namespace.

Parameters

idScope string required

Returns

string

Properties

public double Width { get; } #

Gets the resolved logical width shared by all exports.

public double Height { get; } #

Gets the resolved logical height shared by all exports.

public PreparedVisual StaticVisual { get; } #

Gets the unchanged static prepared scene beneath the motion.