public interface NSTextViewportLayoutControllerDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
textViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment(NSTextViewportLayoutController textViewportLayoutController,
NSTextLayoutFragment textLayoutFragment)
Called when textViewportLayoutController lays out a given textLayoutFragment.
|
default void |
textViewportLayoutControllerDidLayout(NSTextViewportLayoutController textViewportLayoutController)
Called when textViewportLayoutController is about to layout.
|
default void |
textViewportLayoutControllerWillLayout(NSTextViewportLayoutController textViewportLayoutController)
Called when textViewportLayoutController is about to layout.
|
CGRect |
viewportBoundsForTextViewportLayoutController(NSTextViewportLayoutController textViewportLayoutController)
The current viewport, typically the view visible bounds with overdraw.
|
void textViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment(NSTextViewportLayoutController textViewportLayoutController, NSTextLayoutFragment textLayoutFragment)
default void textViewportLayoutControllerDidLayout(NSTextViewportLayoutController textViewportLayoutController)
default void textViewportLayoutControllerWillLayout(NSTextViewportLayoutController textViewportLayoutController)
CGRect viewportBoundsForTextViewportLayoutController(NSTextViewportLayoutController textViewportLayoutController)