[]
Represents the presentation attribute value, such as X-coordinate or height.
public struct SvgLength : IEquatable<SvgLength>
Initializes a new instance of the SvgLength struct.
public SvgLength(float value, SvgLengthUnits units = SvgLengthUnits.Number)
value
floatThe value of a length in specified units.
units
SvgLengthUnitsThe type of length units.
Represents the Auto value.
public static readonly SvgLength Auto
Represents the Bottom value.
public static readonly SvgLength Bottom
Represents the Center value.
public static readonly SvgLength Center
Represents the Large value.
public static readonly SvgLength Large
Represents the Larger value.
public static readonly SvgLength Larger
Represents the Left value.
public static readonly SvgLength Left
Represents the Medium value.
public static readonly SvgLength Medium
Represents a '1px' length.
public static readonly SvgLength OnePixel
Represents a length corresponding to 100% of the viewport length.
public static readonly SvgLength Percent100
Represents a length corresponding to 50% of the viewport length.
public static readonly SvgLength Percent50
Represents the Right value.
public static readonly SvgLength Right
Represents the Small value.
public static readonly SvgLength Small
Represents the Smaller value.
public static readonly SvgLength Smaller
Represents the Top value.
public static readonly SvgLength Top
Represents the XLarge value.
public static readonly SvgLength XLarge
Represents the XSmall value.
public static readonly SvgLength XSmall
Represents the XXLarge value.
public static readonly SvgLength XXLarge
Represents the XXSmall value.
public static readonly SvgLength XXSmall
Represents a zero length.
public static readonly SvgLength Zero
Gets or sets the type of length units.
public SvgLengthUnits Units { get; set; }
Gets or sets the value of a length in specified units.
public float Value { get; set; }
Determines whether the specified SvgLength is equal to this instance.
public bool Equals(SvgLength other)
other
SvgLengthDetermines whether the specified object is equal to this instance.
public override bool Equals(object obj)
obj
objectReturns a hash code for this struct.
public override int GetHashCode()
Returns a string that represents the current struct.
public override string ToString()