// // KMWatermarkTemplateModel.swift // PDF Master // // Created by tangchao on 2022/12/22. // import Cocoa class KMWatermarkTemplateModel: KMWatermarkModel { var isSelected: Bool = false func initModel(model: KMWatermarkModel) { self.text = model.text self.image = model.image self.imagePath = model.imagePath self.textColor = model.textColor self.textFont = model.textFont self.rotation = model.rotation self.opacity = model.opacity self.scale = model.scale self.verticalMode = model.verticalMode self.verticalSpace = model.verticalSpace self.horizontalMode = model.horizontalMode self.horizontalSpace = model.horizontalSpace self.tileHorizontalSpace = model.tileHorizontalSpace self.tileVerticalSpace = model.tileVerticalSpace self.pagesString = model.pagesString self.isFront = model.isFront self.isTilePage = model.isTilePage self.tag = model.tag self.pageRangeType = model.pageRangeType self.creatTemplateDate = model.creatTemplateDate self.watermark = model.watermark self.watermarkID = model.watermarkID self.isSelected = false } }