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
ownerElementSvgElementpropertyNamestringsourceSvgLengthSourcedirectionSvgLengthDirectiondefaultValuestring
SvgLength(SvgElement, string, SvgLengthDirection, string)
public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthDirection direction, string baseVal)
Parameters
ownerElementSvgElementpropertyNamestringdirectionSvgLengthDirectionbaseValstring
SvgLength(SvgElement, string, SvgLengthDirection, string, string)
public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthDirection direction, string baseVal, string defaultValue)
Parameters
ownerElementSvgElementpropertyNamestringdirectionSvgLengthDirectionbaseValstringdefaultValuestring
SvgLength(string, string, SvgElement, SvgLengthDirection)
Creates a SvgLength value
public SvgLength(string propertyName, string baseVal, SvgElement ownerElement, SvgLengthDirection direction)
Parameters
propertyNamestringbaseValstringString to be parsed into a length
ownerElementSvgElementThe associated element
directionSvgLengthDirectionDirection 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
propertyNamestringbaseValstringdefaultValuestringownerElementSvgElementdirectionSvgLengthDirection
SvgLength(string, SvgStyleableElement, SvgLengthDirection, string)
public SvgLength(string propertyName, SvgStyleableElement ownerElement, SvgLengthDirection direction, string defaultValue)
Parameters
propertyNamestringownerElementSvgStyleableElementdirectionSvgLengthDirectiondefaultValuestring