SwiftclassScreenSharingKit
@Observable class ScreenSharingKit.Stroke
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
- protocolSwift.Identifiable
Members 9
- deinit
deinit - field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _clearStroke: Bool - field
var _points: [ScreenSharingKit.IdentifiablePoint] - field
let id: Foundation.UUID - func
addPoint(CGPoint) -> () - func
pathForViewSize(in: CGSize) -> CGPathRef - init
ScreenSharingKit.Stroke.__allocating_init(id: Foundation.UUID) -> ScreenSharingKit.Stroke - typealias
typealias ID = Foundation.UUID
Header
@Observation.Observable class Stroke { let id: Foundation.UUID // synthesized from the storage `_points` that @Observable generated; the property's own accessors are stripped var points: [ScreenSharingKit.IdentifiablePoint] // synthesized from the storage `_clearStroke` that @Observable generated; the property's own accessors are stripped var clearStroke: Swift.Bool init(id: Foundation.UUID) func pathForViewSize(in: __C.CGSize) -> __C.CGPathRef func addPoint(_: __C.CGPoint) deinit }