Class SvgOrient
Represents an orientation in a Scalable Vector Graphics document.
Inherited Members
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Svg
Assembly: Svg.dll
Syntax
[TypeConverter(typeof(SvgOrientConverter))]
public class SvgOrient
Constructors
| Improve this Doc View SourceSvgOrient()
Declaration
public SvgOrient()
SvgOrient(Boolean)
Declaration
public SvgOrient(bool isAuto)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | isAuto |
SvgOrient(Boolean, Boolean)
Declaration
public SvgOrient(bool isAuto, bool isAutoStartReverse)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | isAuto | |
| Boolean | isAutoStartReverse |
SvgOrient(Single)
Declaration
public SvgOrient(float angle)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | angle |
Properties
| Improve this Doc View SourceAngle
Gets the value of the unit.
Declaration
public float Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
IsAuto
Gets the value of the unit.
Declaration
public bool IsAuto { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsAutoStartReverse
If IsAuto is true, indicates if the orientation of a 'marker-start' must be rotated of 180° from the original orientation
Declaration
public bool IsAutoStartReverse { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
| Improve this Doc View SourceEquals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | Another object to compare to. |
Returns
| Type | Description |
|---|---|
| Boolean | true if |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()
Operators
| Improve this Doc View SourceImplicit(Single to SvgOrient)
Declaration
public static implicit operator SvgOrient(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | value | The value. |
Returns
| Type | Description |
|---|---|
| SvgOrient | The result of the conversion. |