[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgClip

Struct SvgClip

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

Represents a clipping rectangle.

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

Constructors

SvgClip(SvgLength, SvgLength, SvgLength, SvgLength)

Initializes a new instance of the SvgClip struct.

public SvgClip(SvgLength left, SvgLength top, SvgLength right, SvgLength bottom)

Parameters

left SvgLength
top SvgLength
right SvgLength
bottom SvgLength

Properties

Bottom

Gets or sets the offset from the top border edge of the box to the bottom edge of the clipping rectangle.

public SvgLength Bottom { get; set; }

Property Value

SvgLength

Left

Gets or sets the offset from the left border edge of the box to the left edge of the clipping rectangle.

public SvgLength Left { get; set; }

Property Value

SvgLength

Right

Gets or sets the offset from the left border edge of the box to the right edge of the clipping rectangle.

public SvgLength Right { get; set; }

Property Value

SvgLength

Top

Gets or sets the offset from the top border edge of the box to the top edge of the clipping rectangle.

public SvgLength Top { get; set; }

Property Value

SvgLength

Methods

Equals(SvgClip)

Determines whether the specified SvgClip is equal to this instance.

public bool Equals(SvgClip other)

Parameters

other SvgClip

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