Click or drag to resize

Margin2D Structure

Represents a margin in 2D space, defined by left, top, right, and bottom values.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.GeometryMargin2D

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
[SerializableAttribute]
public struct Margin2D : IEquatable<Margin2D>

The Margin2D type exposes the following members.

Constructors
 NameDescription
Public methodMargin2D Initializes a new instance of the Margin2D struct.
Top
Properties
 NameDescription
Public propertyBottom Gets or sets the bottom margin.
Public propertyLeft Gets or sets the left margin.
Public propertyRight Gets or sets the right margin.
Public propertyTop Gets or sets the top margin.
Top
Methods
 NameDescription
Public methodEquals(Margin2D)Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(Margin2D, Margin2D) Determines whether two Margin2D instances are equal.
Public operatorStatic memberInequality(Margin2D, Margin2D) Determines whether two Margin2D instances are not equal.
Top
See Also