CIFilter_GeometryAdjustment_PerspectiveTransform - linhay/Stem GitHub Wiki

CIFilter.GeometryAdjustment.PerspectiveTransform

Discussion You can use the perspective filter to skew an image.

public struct PerspectiveTransform: CIFilterContainerProtocol

Inheritance

CIFilterContainerProtocol

Initializers

init()

init()

Properties

filter

var filter: CIFilter

image

A CIImage object whose display name is Image.

var image: CIImage?

topLeft

A CIVector object whose attribute type is CIAttributeTypePosition and whose display name is Top Left. Default value: [118 484]

var topLeft: CIVector

topRight

A CIVector object whose attribute type is CIAttributeTypePosition and whose display name is Top Right. Default value: [646 507]

var topRight: CIVector

bottomRight

A CIVector object whose attribute type is CIAttributeTypePosition and whose display name is Bottom Right. Default value: [548 140]

var bottomRight: CIVector

bottomLeft

A CIVector object whose attribute type is CIAttributeTypePosition and whose display name is Bottom Left. Default value: [155 153]

var bottomLeft: CIVector