Share via


NSDirectionalEdgeInsets Struct

Definition

Edge insets that account for text direction.

public struct NSDirectionalEdgeInsets
type NSDirectionalEdgeInsets = struct
Inheritance
NSDirectionalEdgeInsets

Constructors

NSDirectionalEdgeInsets(NFloat, NFloat, NFloat, NFloat)

Fields

Bottom

The bottom edge inset.

Leading
Top

The top inset.

Trailing

The trailing inset.

Zero

Gets an NSDirectionalEdgeInsets that has zero top, leading, bottom, and trailing insets.

Methods

Equals(NSDirectionalEdgeInsets)

Returns true if other has the same values as this NSDirectionalEdgeInset.

Equals(Object)

Returns true if obj is an NSDirectionalEdgeInset and has the same values as this object.

FromString(String)

Creates a new NSDirectionalEdgeInset object from a curly-braced, comma-separated list of the top, leading, bottom, and trailing inset values.

GetHashCode()
ToString()

Converts this object to a string that contains a curly-braced, comma-separated list of the top, leading, bottom, and trailing inset values.

Operators

Equality(NSDirectionalEdgeInsets, NSDirectionalEdgeInsets)
Inequality(NSDirectionalEdgeInsets, NSDirectionalEdgeInsets)

Applies to