ADPhotoKit Documentation

Structure ADClip​Info

public struct ADClipInfo  

Image clip info.

Initializers

init(image:​clip​Rect:​rotation:​clip​Image:​clip​From:​)

public init(image: UIImage, clipRect: CGRect?, rotation: ADRotation, clipImage: UIImage, clipFrom: CGRect)  

Properties

image

public let image: UIImage

Origin image whithout clip but with other edit tool.

clip​Rect

public var clipRect: CGRect? 

Normalized clip rect. If nil, means image is not clip.

rotation

public var rotation: ADRotation

Image rotation info.

clip​Image

public let clipImage: UIImage

Cliped Image use to animated.

clip​From

public let clipFrom: CGRect

Rect where clip image animated from.