[]
A structure representing four values corresponding to the four sides of a rectangular area.
public struct Offsets : IEquatable<Offsets>
Initializes a new instance of the Offsets structure.
public Offsets(float left, float top, float right, float bottom)
left
floatThe Left value.
top
floatThe Top value.
right
floatThe Right value.
bottom
floatThe Bottom value.
Gets or sets the bottom offset value.
public float Bottom
Gets or sets the left offset value.
public float Left
Gets or sets the right offset value.
public float Right
Gets or sets the top offset value.
public float Top
public bool Equals(Offsets other)
other
Offsetspublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()
public override string ToString()
Tests whether two specified Offsets objects are equivalent.
public static bool operator ==(Offsets v1, Offsets v2)
Tests whether two specified Offsets objects are NOT equivalent.
public static bool operator !=(Offsets v1, Offsets v2)