[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgSpacing

Struct SvgSpacing

Namespace
GrapeCity.Documents.Svg
Assembly
GcDocs.Imaging.dll

Specifies additional spacing between "words" or adjacent typographic character units.

public struct SvgSpacing : IEquatable<SvgSpacing>
Implements
System.IEquatable<T><SvgSpacing>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

SvgSpacing(float, SvgSpacingUnits)

Initializes a new instance of the SvgSpacing struct.

public SvgSpacing(float value, SvgSpacingUnits units = SvgSpacingUnits.Pixels)

Parameters

value float

The value of spacing in specified units.

units SvgSpacingUnits

The type of spacing units.

Fields

Normal

Represents a normal spacing. Computes to zero.

public static readonly SvgSpacing Normal

Field Value

SvgSpacing

Properties

Units

Gets or sets the type of spacing units.

public SvgSpacingUnits Units { get; set; }

Property Value

SvgSpacingUnits

Value

Gets or sets the value of spacing in specified units.

public float Value { get; set; }

Property Value

float

Methods

Equals(SvgSpacing)

Determines whether the specified SvgSpacing is equal to this instance.

public bool Equals(SvgSpacing other)

Parameters

other SvgSpacing

Returns

bool

Equals(object)

Determines whether the specified object is equal to this instance.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

Returns a hash code for this struct.

public override int GetHashCode()

Returns

int

ToString()

Returns a string that represents the current struct.

public override string ToString()

Returns

string