These constants are used by the `NSIntegral`

function and other related methods, such as `backing`

.

Language

- Swift
- Objective-C

SDK

- macOS 10.7+

Structure# AlignmentOptions

These constants are used by the `NSIntegral`

function and other related methods, such as `backing`

.

Language

- Swift
- Objective-C

SDK

- macOS 10.7+

`static var align`MinXInward : AlignmentOptions

Specifies that alignment of the minimum X coordinate should be to the nearest inward integral value.

`static var align`MinYInward : AlignmentOptions

Specifies that alignment of the minimum Y coordinate should be to the nearest inward integral value.

`static var align`MaxXInward : AlignmentOptions

Specifies that alignment of the maximum X coordinate should be to the nearest inward integral value.

`static var align`MaxYInward : AlignmentOptions

Specifies that alignment of the maximum X coordinate should be to the nearest inward integral value.

`static var align`WidthInward : AlignmentOptions

Specifies that alignment of the width should be to the nearest inward integral value.

`static var align`HeightInward : AlignmentOptions

Specifies that alignment of the height should be to the nearest inward integral value.

`static var align`MinXOutward : AlignmentOptions

Specifies that alignment of the minimum X coordinate should be to the nearest outward integral value.

`static var align`MinYOutward : AlignmentOptions

Specifies that alignment of the minimum Y coordinate should be to the nearest outward integral value.

`static var align`MaxXOutward : AlignmentOptions

Specifies that alignment of the maximum X coordinate should be to the nearest outward integral value.

`static var align`MaxYOutward : AlignmentOptions

Specifies that alignment of the maximum Y coordinate should be to the nearest outward integral value.

`static var align`WidthOutward : AlignmentOptions

Specifies that alignment of the width should be to the nearest outward integral value.

`static var align`HeightOutward : AlignmentOptions

Specifies that alignment of the height should be to the nearest outward integral value.

`static var align`MinXNearest : AlignmentOptions

Specifies that alignment of the minimum X coordinate should be to the nearest integral value.

`static var align`MinYNearest : AlignmentOptions

Specifies that alignment of the minimum Y coordinate should be to the nearest integral value.

`static var align`MaxXNearest : AlignmentOptions

Specifies that alignment of the maximum X coordinate should be to the nearest integral value.

`static var align`MaxYNearest : AlignmentOptions

Specifies that alignment of the maximum Y coordinate should be to the nearest integral value.

`static var align`WidthNearest : AlignmentOptions

Specifies that alignment of the width should be to the nearest integral value.

`static var align`HeightNearest : AlignmentOptions

Specifies that alignment of the height should be to the nearest integral value.

`static var align`RectFlipped : AlignmentOptions

This option should be included if the rectangle is in a flipped coordinate system. This allows 0.5 to be treated in a visually consistent way.

`static var align`AllEdgesInward : AlignmentOptions

Aligns all edges inward. This is the same as `NSAlign`

.

`static var align`AllEdgesOutward : AlignmentOptions

Aligns all edges outwards. This is the same as `NSAlign`

.

`static var align`AllEdgesNearest : AlignmentOptions

Aligns all edges to the nearest value. This is the same as `NSAlign`

.