NSDirectionalEdgeInsets NSDirectionalEdgeInsets Struct

Definition

Edge insets that account for text direction.

[ObjCRuntime.TV(11, 0)]
[ObjCRuntime.Watch(4, 0)]
public struct NSDirectionalEdgeInsets
type NSDirectionalEdgeInsets = struct
Inheritance
NSDirectionalEdgeInsetsNSDirectionalEdgeInsets
Attributes

Constructors

NSDirectionalEdgeInsets(nfloat, nfloat, nfloat, nfloat) NSDirectionalEdgeInsets(nfloat, nfloat, nfloat, nfloat)

Creates an inset object with the specified values.

Fields

Bottom Bottom

The bottom edge inset.

Leading Leading
Top Top

The top inset.

Trailing Trailing

The trailing inset.

Zero Zero

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

Methods

Equals(Object) Equals(Object)

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

Equals(NSDirectionalEdgeInsets) Equals(NSDirectionalEdgeInsets)

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

FromString(String) FromString(String)

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

GetHashCode() GetHashCode()
ToString() 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) Equality(NSDirectionalEdgeInsets, NSDirectionalEdgeInsets)

Returns true if the two insets are equal.

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

Returns false if the two insets are equal.

Applies to