Class SvgOrient
- Namespace
- Svg
- Assembly
- Svg.dll
Represents an orientation in a Scalable Vector Graphics document.
[TypeConverter(typeof(SvgOrientConverter))]
public class SvgOrient
- Inheritance
-
SvgOrient
- Inherited Members
Constructors
SvgOrient()
public SvgOrient()
SvgOrient(bool)
public SvgOrient(bool isAuto)
Parameters
isAuto
bool
SvgOrient(bool, bool)
public SvgOrient(bool isAuto, bool isAutoStartReverse)
Parameters
SvgOrient(float)
public SvgOrient(float angle)
Parameters
angle
float
Properties
Angle
Gets the value of the unit.
public float Angle { get; set; }
Property Value
IsAuto
Gets the value of the unit.
public bool IsAuto { get; set; }
Property Value
IsAutoStartReverse
If IsAuto is true, indicates if the orientation of a 'marker-start' must be rotated of 180° from the original orientation
public bool IsAutoStartReverse { get; set; }
Property Value
Methods
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectAnother object to compare to.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator SvgOrient(float)
public static implicit operator SvgOrient(float value)
Parameters
value
floatThe value.
Returns
- SvgOrient
The result of the conversion.