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
SvgElementpropertyName
stringsource
SvgLengthSourcedirection
SvgLengthDirectiondefaultValue
string
SvgLength(SvgElement, string, SvgLengthDirection, string)
public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthDirection direction, string baseVal)
Parameters
ownerElement
SvgElementpropertyName
stringdirection
SvgLengthDirectionbaseVal
string
SvgLength(SvgElement, string, SvgLengthDirection, string, string)
public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthDirection direction, string baseVal, string defaultValue)
Parameters
ownerElement
SvgElementpropertyName
stringdirection
SvgLengthDirectionbaseVal
stringdefaultValue
string
SvgLength(string, string, SvgElement, SvgLengthDirection)
Creates a SvgLength value
public SvgLength(string propertyName, string baseVal, SvgElement ownerElement, SvgLengthDirection direction)
Parameters
propertyName
stringbaseVal
stringString to be parsed into a length
ownerElement
SvgElementThe associated element
direction
SvgLengthDirectionDirection 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
stringbaseVal
stringdefaultValue
stringownerElement
SvgElementdirection
SvgLengthDirection
SvgLength(string, SvgStyleableElement, SvgLengthDirection, string)
public SvgLength(string propertyName, SvgStyleableElement ownerElement, SvgLengthDirection direction, string defaultValue)
Parameters
propertyName
stringownerElement
SvgStyleableElementdirection
SvgLengthDirectiondefaultValue
string