Package apple.uikit.protocol
Interface UITextSelectionHighlightView
-
- All Superinterfaces:
UICoordinateSpace
public interface UITextSelectionHighlightView extends UICoordinateSpace
[@protocol] UITextSelectionHighlightView A view that displays a tinted highlight behind rendered text to indicate selection. When a selection is ranged (i.e., length is > 0), a highlight view is shown to indicate the selected text range. API-Since: 17.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NSArray<? extends UITextSelectionRect>selectionRects()A collection of @c UITextSelectionRects representing the geometry of the current selection.voidsetSelectionRects(@NotNull NSArray<? extends UITextSelectionRect> value)A collection of @c UITextSelectionRects representing the geometry of the current selection.-
Methods inherited from interface apple.uikit.protocol.UICoordinateSpace
bounds, convertPointFromCoordinateSpace, convertPointToCoordinateSpace, convertRectFromCoordinateSpace, convertRectToCoordinateSpace
-
-
-
-
Method Detail
-
selectionRects
@NotNull @NotNull NSArray<? extends UITextSelectionRect> selectionRects()
A collection of @c UITextSelectionRects representing the geometry of the current selection. Rects are expected to be in the receiver's coordinate space.
-
setSelectionRects
void setSelectionRects(@NotNull @NotNull NSArray<? extends UITextSelectionRect> value)A collection of @c UITextSelectionRects representing the geometry of the current selection. Rects are expected to be in the receiver's coordinate space.
-
-