Class
VisualCanvasImageLayer
ChartForgeX.Composition
Image layer for host-provided bitmap or SVG-compatible image references.
Inheritance
- VisualCanvasLayer
- VisualCanvasImageLayer
Constructors
public VisualCanvasImageLayer(double x, double y, double width, double height) #Initializes an image layer.
Parameters
- x double
- The image X coordinate.
- y double
- The image Y coordinate.
- width double
- The rendered image width.
- height double
- The rendered image height.
Inherited Methods
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 int SourceWidth { get; set; } #Gets or sets the source bitmap width for PNG output.
public int 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.