Corners

public struct Corners : XMLRepresentable

Modifies the corners of the visible image, adding a distort (or skew) effect using the bottomLeft, topLeft, topRight, and bottomRight properties. These attributes are two-dimensional point values expressed as a percentage of frame height.

  • The parameters associated with the corners adjustment.

    Declaration

    Swift

    public var parameters: [Parameter]
  • A Boolean value that indicates whether the corners adjustment is enabled.

    Declaration

    Swift

    public var isEnabled: Bool
  • The bottom left point of the corners adjustment.

    Declaration

    Swift

    public var bottomLeft: Point
  • The top left point of the corners adjustment.

    Declaration

    Swift

    public var topLeft: Point
  • The top right point of the corners adjustment.

    Declaration

    Swift

    public var topRight: Point
  • The bottom right point of the corners adjustment.

    Declaration

    Swift

    public var bottomRight: Point
  • Initializes a new corners adjustment.

    Declaration

    Swift

    public init(bottomLeft: Point, topLeft: Point, topRight: Point, bottomRight: Point)

    Parameters

    bottomLeft

    /// The bottom left point of the corners adjustment.

    topLeft

    /// The top left point of the corners adjustment.

    topRight

    /// The top right point of the corners adjustment.

    bottomRight

    /// The bottom right point of the corners adjustment.