SwiftclassScreenSharingKit

@Observable class ScreenSharingKit.ScreenSharingAnnotationViewModel

Structure

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

inherits{}

Members 12

  1. deinitdeinit
  2. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  3. fieldvar _clearStrokes: Bool+0x28
  4. fieldvar _clearStrokesTimerSubscription: Combine.AnyCancellable?
  5. fieldvar _displayScale: CoreGraphics.CGFloat
  6. fieldvar _forceRefresh: UInt+0x20
  7. fieldvar _strokes: [ScreenSharingKit.Stroke]+0x10
  8. fieldvar _tapPoints: [ScreenSharingKit.IdentifiablePoint]+0x18
  9. funcclearDrawing() -> ()
  10. funcprocessDragGesture(_: Foundation.UUID, point: CGPoint) -> ()
  11. funcprocessTapGesture(CGPoint) -> ()
  12. initScreenSharingKit.ScreenSharingAnnotationViewModel.__allocating_init() -> ScreenSharingKit.ScreenSharingAnnotationViewModel
@Observation.Observable
class ScreenSharingAnnotationViewModel {
    // synthesized from the storage `_strokes` that @Observable generated; the property's own accessors are stripped
    var strokes: [ScreenSharingKit.Stroke]
    // synthesized from the storage `_tapPoints` that @Observable generated; the property's own accessors are stripped
    var tapPoints: [ScreenSharingKit.IdentifiablePoint]
    // synthesized from the storage `_forceRefresh` that @Observable generated; the property's own accessors are stripped
    var forceRefresh: Swift.UInt
    // synthesized from the storage `_clearStrokes` that @Observable generated; the property's own accessors are stripped
    var clearStrokes: Swift.Bool
    // synthesized from the storage `_displayScale` that @Observable generated; the property's own accessors are stripped
    var displayScale: CoreGraphics.CGFloat
    // synthesized from the storage `_clearStrokesTimerSubscription` that @Observable generated; the property's own accessors are stripped
    var clearStrokesTimerSubscription: Combine.AnyCancellable?

    init()
    func clearDrawing()
    func processDragGesture(_: Foundation.UUID, point: __C.CGPoint)
    func processTapGesture(_: __C.CGPoint)

    deinit
}