Class
SequenceArtifactRendering
ChartForgeX.VisualArtifacts
Exports sequence models through the shared prepared scene and preserves source-only artifact handoff.
Inheritance
- object
- SequenceArtifactRendering
Methods
public static byte[] ToPng(SequenceArtifact sequence) #Renders the same native measured sequence scene directly to PNG.
Parameters
- sequence ChartForgeX.VisualArtifacts.SequenceArtifact
- The source model; its width, height and padding supply the default request.
Returns
byte[] PNG bytes using the shared raster defaults.public static string ToSvg(SequenceArtifact sequence) #Renders a sequence to shared SVG with measured content expansion beyond its authored minimum size.
Parameters
- sequence ChartForgeX.VisualArtifacts.SequenceArtifact
- The source model; its width, height and padding supply the default request.
Returns
string Script-free SVG from a native prepared scene.public static VisualArtifact ToVisualArtifact(SequenceArtifact sequence, VisualArtifactSourceLanguage sourceLanguage = Native) #Wraps authored sequence semantics without preparing a preview or changing the source model.
Parameters
- sequence ChartForgeX.VisualArtifacts.SequenceArtifact
- The sequence source model.
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage = Native
- The source language that produced the model.
Returns
VisualArtifact A lazy source envelope; prepare explicitly before ToArtifact when a detached display snapshot is required.