Table of Contents

Class SvgUse

Namespace
Svg
Assembly
Svg.dll
[SvgElement("use")]
public class SvgUse : SvgVisualElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable
Inheritance
SvgUse
Implements
Inherited Members
Extension Methods

Properties

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

SvgUnit

Location

Gets an SvgPoint representing the top left point of the rectangle.

public SvgPoint Location { get; }

Property Value

SvgPoint

ReferencedElement

[SvgAttribute("href", "http://www.w3.org/1999/xlink")]
public virtual Uri ReferencedElement { get; set; }

Property Value

Uri

Renderable

protected override bool Renderable { get; }

Property Value

bool

Width

public virtual SvgUnit Width { get; set; }

Property Value

SvgUnit

X

public virtual SvgUnit X { get; set; }

Property Value

SvgUnit

Y

public virtual SvgUnit Y { get; set; }

Property Value

SvgUnit

Methods

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

Path(ISvgRenderer)

Gets the GraphicsPath for this element.

public override GraphicsPath Path(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

Returns

GraphicsPath

PushTransforms(ISvgRenderer)

Applies the required transforms to ISvgRenderer.

protected override bool PushTransforms(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

The ISvgRenderer to be transformed.

Returns

bool

RenderChildren(ISvgRenderer)

Renders the children of this SvgElement.

protected override void RenderChildren(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

The ISvgRenderer to render the child SvgElements to.