1234567891011121314151617181920212223242526272829303132 |
- //
- // KMPDFSyncRecord.swift
- // PDF Reader Pro
- //
- // Created by lizhe on 2024/2/28.
- //
- import Cocoa
- class KMPDFSyncRecord: NSObject {
- var recordIndex: Int = 0
- var pageIndex: Int = 0
- var point: NSPoint = NSZeroPoint
- var file: String = ""
- var line: Int = -1
- var x: CGFloat {
- get {
- return point.x
- }
- }
-
- var y: CGFloat {
- get {
- return point.y
- }
- }
-
- init(recordIndex: Int) {
- super.init()
- self.recordIndex = recordIndex
- }
- }
|