Skip to content

Latest commit

 

History

History
144 lines (91 loc) · 1.56 KB

ImageArea.md

File metadata and controls

144 lines (91 loc) · 1.56 KB

ENUM

ImageArea

public enum ImageArea

Cases

full

case full

The full image size.

bottom

case bottom

The last vertical third.

bottomCenter

case bottomCenter

The second horizontal third of the last vertical third.

bottomLeft

case bottomLeft

The first horizontal third of the last vertical third.

bottomRight

case bottomRight

The last horizontal third of the last vertical third.

center

case center

The second horizontal third of the second vertical third.

centerLeft

case centerLeft

The first horizontal third of the second vertical third.

centerRight

case centerRight

The last horizontal third of the second vertical third.

custom(rect:)

case custom(rect: CGRect)

A custom area of the image defined by a CGRect.

horizontalCenter

case horizontalCenter

The second vertical third.

left

case left

The first horizontal third.

right

case right

The last horizontal third.

top

case top

The first vertical third.

topCenter

case topCenter

The second horizontal third of the first vertical third.

topLeft

case topLeft

The first horizontal third of the first vertical third.

topRight

case topRight

The last horizontal third of the first vertical third.

verticalCenter

case verticalCenter

The second horizontal third.