API Reference
VisualWatermarkDecoration
Decorates static artifact presentation while preserving its neutral semantic model.
Inheritance
- Object
- VisualWatermarkDecoration
Methods
public static String ApplyToSvg(String svg, params VisualWatermark[] watermarks) #StringAppends watermark layers to trusted SVG output, preserving existing presentation such as SVG animation.
Parameters
- svg System.String
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
public static VisualArtifact ToWatermarkedArtifact(VisualArtifact artifact, params VisualWatermark[] watermarks) #VisualArtifactCreates a detached artifact envelope with watermark presentation in declaration order.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
public static VisualArtifact ToWatermarkedArtifact(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions, params VisualWatermark[] watermarks) #VisualArtifactCreates a detached watermarked artifact with static presentation resolved using the supplied core options.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions?
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
public static String ToWatermarkedHtmlPage(VisualArtifact artifact, String renderedSvg, params VisualWatermark[] watermarks) #StringWraps trusted, already-rendered SVG with watermarks in a standalone HTML page.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The unchanged host envelope supplying the title, language, and natural-size fallback.
- renderedSvg System.String
- A complete trusted SVG document supplied by a static or animated renderer.
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
- Watermarks captured in declaration order.
Returns
A standalone page containing the decorated SVG and the artifact's host title and language.
public static String ToWatermarkedSvg(VisualArtifact artifact, String renderedSvg, params VisualWatermark[] watermarks) #StringAppends watermark layers to trusted, already-rendered SVG without resolving the artifact's model.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The unchanged host envelope; its natural size is a fallback when SVG dimensions are absent.
- renderedSvg System.String
- A complete trusted SVG document supplied by a static or animated renderer.
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
- Watermarks captured in declaration order.
Returns
The supplied markup with watermark layers inserted before its closing SVG element.
public static VisualArtifact WithWatermarks(VisualArtifact artifact, params VisualWatermark[] watermarks) #VisualArtifactAppends a snapshot of the supplied watermarks in declaration order.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
public static VisualArtifact WithWatermarks(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions, params VisualWatermark[] watermarks) #VisualArtifactAppends watermark presentation over a static source resolved with the supplied core options.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions?
- watermarks ChartForgeX.VisualArtifacts.VisualWatermark[]
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?