Table of Contents

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

isAuto bool
isAutoStartReverse bool

SvgOrient(float)

public SvgOrient(float angle)

Parameters

angle float

Properties

Angle

Gets the value of the unit.

public float Angle { get; set; }

Property Value

float

IsAuto

Gets the value of the unit.

public bool IsAuto { get; set; }

Property Value

bool

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

bool

Methods

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

Another 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)

Performs an implicit conversion from float to SvgOrient.

public static implicit operator SvgOrient(float value)

Parameters

value float

The value.

Returns

SvgOrient

The result of the conversion.