UIOffset Struct

Definition

A position offset.

public struct UIOffset
type UIOffset = struct
Inheritance
UIOffset

Remarks

Represents a position offset. Positive values are to the right and down.

Constructors

Name Description
UIOffset(NFloat, NFloat)

Creates a new UIOffset with the specified horizontal and vertical offsets.

Fields

Name Description
Horizontal

The horizontal offset.

Vertical

The vertical offset.

Zero

A static identity offset of (0, 0).

Methods

Name Description
Equals(Object)

Determines whether this UIOffset is equal to the specified object.

GetHashCode()

Returns a hash code for this UIOffset.

Operators

Name Description
Equality(UIOffset, UIOffset)

Determines whether two UIOffset instances are equal.

Inequality(UIOffset, UIOffset)

Determines whether two UIOffset instances are not equal.

Applies to