Edytuj

Udostępnij za pośrednictwem


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
NSDirectionalEdgeInsets
Attributes

Constructors

NSDirectionalEdgeInsets(nfloat, nfloat, nfloat, nfloat)

Creates an inset object with the specified values.

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 other 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)

Returns true if the two insets are equal.

Inequality(NSDirectionalEdgeInsets, NSDirectionalEdgeInsets)

Returns false if the two insets are equal.

Applies to