WatermarkInfo
@objc
public class WatermarkInfo : NSObject
Watermark placement coulb be configured by normalized position (0..1 for x, y based on final pixel buffer size), or by specifying corner and fixed pixel offset from it. Size could be configured by specifying fixed pixel width, or by normalized value (0..1 from final pixel buffer width), height is always calculated using aspect ratio of provided watermark image.
-
Declaration
Swift
@objc public init( image: UIImage, corner: WatermarkCornerPosition, offset: CGPoint, targetWidth: CGFloat )
-
Declaration
Swift
@objc public init( image: UIImage, corner: WatermarkCornerPosition, offset: CGPoint, targetNormalizedWidth: CGFloat )
-
Declaration
Swift
@objc public init( image: UIImage, normalizedPosition: CGPoint, targetWidth: CGFloat )
-
Declaration
Swift
@objc public init( image: UIImage, normalizedPosition: CGPoint, targetNormalizedWidth: CGFloat )
-
Declaration
Swift
@objc public func drawSettingsWithBoundsSize(_ boundsSize: CGSize, outputSettings: OutputSettings) -> WatermarkDrawSettings