diff --git a/src/AppKit/Enums.cs b/src/AppKit/Enums.cs
index ce43a61327e6..8d6cdde756e4 100644
--- a/src/AppKit/Enums.cs
+++ b/src/AppKit/Enums.cs
@@ -1879,34 +1879,37 @@ public enum NSSaveOperationType : ulong {
#region NSBezelPath
+ /// Specifies the shape of the endpoints of an open path.
[NoMacCatalyst]
[Native]
public enum NSLineCapStyle : ulong {
- /// To be added.
+ /// Ends the path at the endpoint.
Butt,
- /// To be added.
+ /// Uses a semicircular cap centered on the endpoint.
Round,
- /// To be added.
+ /// Uses a square cap that extends beyond the endpoint.
Square,
}
+ /// Specifies the shape used to join connected path segments.
[NoMacCatalyst]
[Native]
public enum NSLineJoinStyle : ulong {
- /// To be added.
+ /// Joins segments by extending their outer edges until they meet.
Miter,
- /// To be added.
+ /// Joins segments with a rounded corner.
Round,
- /// To be added.
+ /// Joins segments with a beveled corner.
Bevel,
}
+ /// Specifies the rule used to determine which areas of a path are filled.
[NoMacCatalyst]
[Native]
public enum NSWindingRule : ulong {
- /// To be added.
+ /// Fills areas using the nonzero winding rule.
NonZero,
- /// To be added.
+ /// Fills areas using the even-odd winding rule.
EvenOdd,
}
@@ -1926,12 +1929,13 @@ public enum NSBezierPathElement : ulong {
#endregion
#region NSRulerView
+ /// Specifies the orientation of a ruler view.
[NoMacCatalyst]
[Native]
public enum NSRulerOrientation : ulong {
- /// To be added.
+ /// A horizontal ruler.
Horizontal,
- /// To be added.
+ /// A vertical ruler.
Vertical,
}
#endregion
@@ -2133,23 +2137,25 @@ public enum NSUnderlinePattern : int {
DashDotDot = 0x0400,
}
+ /// Specifies the direction associated with a selection at a line boundary.
[NoMacCatalyst]
[Native]
public enum NSSelectionAffinity : ulong {
- /// To be added.
+ /// The selection is associated with the preceding line.
Upstream,
- /// To be added.
+ /// The selection is associated with the following line.
Downstream,
}
+ /// Specifies the unit used when modifying a text selection.
[NoMacCatalyst]
[Native]
public enum NSSelectionGranularity : ulong {
- /// To be added.
+ /// Selects text by character.
Character,
- /// To be added.
+ /// Selects text by word.
Word,
- /// To be added.
+ /// Selects text by paragraph.
Paragraph,
}
@@ -2181,31 +2187,33 @@ public enum NSTrackingAreaOptions : ulong {
}
#endregion
+ /// Specifies the direction in which text layout sweeps across a line.
[NoMacCatalyst]
[Native]
public enum NSLineSweepDirection : ulong {
- /// To be added.
+ /// Sweeps toward the left.
NSLineSweepLeft,
- /// To be added.
+ /// Sweeps toward the right.
NSLineSweepRight,
- /// To be added.
+ /// Sweeps downward.
NSLineSweepDown,
- /// To be added.
+ /// Sweeps upward.
NSLineSweepUp,
}
+ /// Specifies the direction in which text layout moves between lines.
[NoMacCatalyst]
[Native]
public enum NSLineMovementDirection : ulong {
- /// To be added.
+ /// Does not move between lines.
None,
- /// To be added.
+ /// Moves to the left.
Left,
- /// To be added.
+ /// Moves to the right.
Right,
- /// To be added.
+ /// Moves downward.
Down,
- /// To be added.
+ /// Moves upward.
Up,
}
@@ -2289,23 +2297,25 @@ public enum NSBitmapFormat : ulong {
BigEndian32Bit = 1 << 11,
}
+ /// Specifies the orientation of printed pages.
[NoMacCatalyst]
[Native]
public enum NSPrintingOrientation : ulong {
- /// To be added.
+ /// Prints pages in portrait orientation.
Portrait,
- /// To be added.
+ /// Prints pages in landscape orientation.
Landscape,
}
+ /// Specifies how printed content is paginated along one axis.
[NoMacCatalyst]
[Native]
public enum NSPrintingPaginationMode : ulong {
- /// To be added.
+ /// Divides the content into equal-sized page rectangles.
Auto,
- /// To be added.
+ /// Scales the content to produce one row or column of pages.
Fit,
- /// To be added.
+ /// Clips the content to produce one row or column of pages.
Clip,
}
diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt
index aa937fee8a72..bfea2ea53610 100644
--- a/tests/cecil-tests/Documentation.KnownFailures.txt
+++ b/tests/cecil-tests/Documentation.KnownFailures.txt
@@ -22527,10 +22527,6 @@ T:AppKit.NSLevelIndicatorPlaceholderVisibility
T:AppKit.NSLevelIndicatorStyle
T:AppKit.NSLineBreakMode
T:AppKit.NSLineBreakStrategy
-T:AppKit.NSLineCapStyle
-T:AppKit.NSLineJoinStyle
-T:AppKit.NSLineMovementDirection
-T:AppKit.NSLineSweepDirection
T:AppKit.NSMatrixMode
T:AppKit.NSMenuItemBadgeType
T:AppKit.NSMenuPresentationStyle
@@ -22580,9 +22576,7 @@ T:AppKit.NSPopoverBehavior
T:AppKit.NSPopUpArrowPosition
T:AppKit.NSPressureBehavior
T:AppKit.NSPrinterTableStatus
-T:AppKit.NSPrintingOrientation
T:AppKit.NSPrintingPageOrder
-T:AppKit.NSPrintingPaginationMode
T:AppKit.NSPrintPanelOptions
T:AppKit.NSPrintPanelResult
T:AppKit.NSPrintRenderingQuality
@@ -22600,7 +22594,6 @@ T:AppKit.NSRulerEditorChildCriterion
T:AppKit.NSRulerEditorDisplayValue
T:AppKit.NSRulerEditorPredicateParts
T:AppKit.NSRulerMarkerClientViewDelegation
-T:AppKit.NSRulerOrientation
T:AppKit.NSRulerViewUnits
T:AppKit.NSRunResponse
T:AppKit.NSSaveOperationType
@@ -22618,9 +22611,7 @@ T:AppKit.NSSegmentBackgroundStyle_NSSegmentedCell
T:AppKit.NSSegmentDistribution
T:AppKit.NSSegmentStyle
T:AppKit.NSSegmentSwitchTracking
-T:AppKit.NSSelectionAffinity
T:AppKit.NSSelectionDirection
-T:AppKit.NSSelectionGranularity
T:AppKit.NSSharingCollaborationMode
T:AppKit.NSSharingContentScope
T:AppKit.NSSharingServiceAnchoringViewForSharingService
@@ -22800,7 +22791,6 @@ T:AppKit.NSViewResizingMask
T:AppKit.NSVisualEffectBlendingMode
T:AppKit.NSVisualEffectMaterial
T:AppKit.NSVisualEffectState
-T:AppKit.NSWindingRule
T:AppKit.NSWindowAnimationBehavior
T:AppKit.NSWindowApplicationPresentationOptions
T:AppKit.NSWindowBackingLocation