Table of Contents

Constructor SvgLength

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

SvgLength(SvgElement, string, SvgLengthSource, SvgLengthDirection, string)

public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthSource source, SvgLengthDirection direction, string defaultValue)

Parameters

ownerElement SvgElement
propertyName string
source SvgLengthSource
direction SvgLengthDirection
defaultValue string

SvgLength(SvgElement, string, SvgLengthDirection, string)

public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthDirection direction, string baseVal)

Parameters

ownerElement SvgElement
propertyName string
direction SvgLengthDirection
baseVal string

SvgLength(SvgElement, string, SvgLengthDirection, string, string)

public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthDirection direction, string baseVal, string defaultValue)

Parameters

ownerElement SvgElement
propertyName string
direction SvgLengthDirection
baseVal string
defaultValue string

SvgLength(string, string, SvgElement, SvgLengthDirection)

Creates a SvgLength value

public SvgLength(string propertyName, string baseVal, SvgElement ownerElement, SvgLengthDirection direction)

Parameters

propertyName string
baseVal string

String to be parsed into a length

ownerElement SvgElement

The associated element

direction SvgLengthDirection

Direction of the length, used for percentages

SvgLength(string, string, string, SvgElement, SvgLengthDirection)

public SvgLength(string propertyName, string baseVal, string defaultValue, SvgElement ownerElement, SvgLengthDirection direction)

Parameters

propertyName string
baseVal string
defaultValue string
ownerElement SvgElement
direction SvgLengthDirection

SvgLength(string, SvgStyleableElement, SvgLengthDirection, string)

public SvgLength(string propertyName, SvgStyleableElement ownerElement, SvgLengthDirection direction, string defaultValue)

Parameters

propertyName string
ownerElement SvgStyleableElement
direction SvgLengthDirection
defaultValue string