Package apple.pencilkit.protocol
Interface PKToolPickerObserver
-
- All Known Implementing Classes:
PKCanvasView
public interface PKToolPickerObserver
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidtoolPickerFramesObscuredDidChange(PKToolPicker toolPicker)Tells the delegate that the frames the tool picker obscures changed.default voidtoolPickerIsRulerActiveDidChange(PKToolPicker toolPicker)Tells the delegate that the ruler active state was changed by the user.default voidtoolPickerSelectedToolDidChange(PKToolPicker toolPicker)Tells the delegate that the selected tool was changed by the user.default voidtoolPickerVisibilityDidChange(PKToolPicker toolPicker)Tells the delegate that the tool picker UI changed visibility.
-
-
-
Method Detail
-
toolPickerFramesObscuredDidChange
default void toolPickerFramesObscuredDidChange(PKToolPicker toolPicker)
Tells the delegate that the frames the tool picker obscures changed. Note, the obscured frames for a view can also change when that view changes, not just when this delegate method is called.- Parameters:
toolPicker- The tool picker that changed.
-
toolPickerIsRulerActiveDidChange
default void toolPickerIsRulerActiveDidChange(PKToolPicker toolPicker)
Tells the delegate that the ruler active state was changed by the user.- Parameters:
toolPicker- The tool picker that changed.
-
toolPickerSelectedToolDidChange
default void toolPickerSelectedToolDidChange(PKToolPicker toolPicker)
Tells the delegate that the selected tool was changed by the user.- Parameters:
toolPicker- The tool picker that changed.
-
toolPickerVisibilityDidChange
default void toolPickerVisibilityDidChange(PKToolPicker toolPicker)
Tells the delegate that the tool picker UI changed visibility.- Parameters:
toolPicker- The tool picker that changed.
-
-