Class SvgImage
- Namespace
- Svg
- Assembly
- Svg.dll
Represents and SVG image
[SvgElement("image")]
public class SvgImage : SvgVisualElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable
- Inheritance
-
SvgImage
- Implements
- Inherited Members
- Extension Methods
Properties
AspectRatio
Gets or sets the aspect of the viewport.
public SvgAspectRatio AspectRatio { get; set; }
Property Value
Bounds
Gets the bounds of the element.
public override RectangleF Bounds { get; }
Property Value
- RectangleF
The bounds.
Height
public virtual SvgUnit Height { get; set; }
Property Value
Href
[SvgAttribute("href", "http://www.w3.org/1999/xlink")]
public virtual string Href { get; set; }
Property Value
Location
Gets an SvgPoint representing the top left point of the rectangle.
public SvgPoint Location { get; }
Property Value
Width
public virtual SvgUnit Width { get; set; }
Property Value
X
public virtual SvgUnit X { get; set; }
Property Value
Y
public virtual SvgUnit Y { get; set; }
Property Value
Methods
DeepCopy()
public override SvgElement DeepCopy()
Returns
GetImage()
public object GetImage()
Returns
GetImage(string)
public object GetImage(string uriString)
Parameters
uriString
string
Returns
Path(ISvgRenderer)
Gets the GraphicsPath for this element.
public override GraphicsPath Path(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer
Returns
Render(ISvgRenderer)
Renders the SvgElement and contents to the specified Graphics object.
protected override void Render(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer