API Reference
Class
VisualCanvasImageLayer
Image layer for host-provided bitmap or SVG-compatible image references.
Inheritance
- Object
- VisualCanvasImageLayer
Constructors
VisualCanvasImageLayer(System.Double x, System.Double y, System.Double width, System.Double height) #Initializes an image layer.
Parameters
- x System.Double
- The image X coordinate.
- y System.Double
- The image Y coordinate.
- width System.Double
- The rendered image width.
- height System.Double
- The rendered image height.
Properties
Href #Gets or sets the SVG image href.
Rgba #Gets or sets optional source RGBA pixels for PNG output.
SourceWidth #Gets or sets the source bitmap width for PNG output.
SourceHeight #Gets or sets the source bitmap height for PNG output.
Fit #Gets or sets how the source image is placed inside the destination rectangle.
Opacity #Gets or sets image opacity from zero to one.