SwiftclassPaperKit

@Observable class PaperKit.ToolbarModel

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 12

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _activeInkColor: UIColor?
  3. fieldvar _additionalToolPickerItems: [PKToolPickerItem]?
  4. fieldvar _colorAppearance: PaperKit.MarkupToolbarViewController.ColorAppearance
  5. fieldvar _lastInteractionWasDirectTouch: Bool
  6. fieldvar _popoverDismissToken: Int
  7. fieldvar _selectedDrawingTool: PencilKit.PKTool
  8. fieldvar _selectedIndirectPointerTouchMode: PaperKit.PaperMarkupViewController.TouchMode
  9. fieldweak var delegate: PaperKit.ToolbarDelegate?
  10. fieldvar lastSelectedEraserTool: PaperKit.ToolbarView.Tool?
  11. fieldvar lastSelectedPixelEraserWeight: CoreGraphics.CGFloat?
  12. fieldlet supportedFeatureSet: PaperKit.FeatureSet
@Observation.Observable
class ToolbarModel {
    // synthesized from the storage `_selectedDrawingTool` that @Observable generated; the property's own accessors are stripped
    var selectedDrawingTool: any PencilKit.PKTool
    // synthesized from the storage `_selectedIndirectPointerTouchMode` that @Observable generated; the property's own accessors are stripped
    var selectedIndirectPointerTouchMode: PaperKit.PaperMarkupViewController.TouchMode
    // synthesized from the storage `_lastInteractionWasDirectTouch` that @Observable generated; the property's own accessors are stripped
    var lastInteractionWasDirectTouch: Swift.Bool
    // synthesized from the storage `_popoverDismissToken` that @Observable generated; the property's own accessors are stripped
    var popoverDismissToken: Swift.Int
    // synthesized from the storage `_activeInkColor` that @Observable generated; the property's own accessors are stripped
    var activeInkColor: __C.UIColor?
    // synthesized from the storage `_colorAppearance` that @Observable generated; the property's own accessors are stripped
    var colorAppearance: PaperKit.MarkupToolbarViewController.ColorAppearance
    let supportedFeatureSet: PaperKit.FeatureSet
    // synthesized from the storage `_additionalToolPickerItems` that @Observable generated; the property's own accessors are stripped
    var additionalToolPickerItems: [__C.PKToolPickerItem]?
    @Observation.ObservationIgnored
    var lastSelectedEraserTool: PaperKit.ToolbarView.Tool?
    @Observation.ObservationIgnored
    var lastSelectedPixelEraserWeight: CoreGraphics.CGFloat?
    @Observation.ObservationIgnored
    weak var delegate: (any PaperKit.ToolbarDelegate)?
}