CKCenterLayoutComponentCenteringOptions Constants Reference

Declared in CKCenterLayoutComponent.h

CKCenterLayoutComponentCenteringOptions

Definition

typedef NS_OPTIONS(NSUInteger, CKCenterLayoutComponentCenteringOptions ) {
   CKCenterLayoutComponentCenteringNone = 0,
   CKCenterLayoutComponentCenteringX = 1 < < 0,
   CKCenterLayoutComponentCenteringY = 1 < < 1,
   CKCenterLayoutComponentCenteringXY = CKCenterLayoutComponentCenteringX | CKCenterLayoutComponentCenteringY,
};

Constants

CKCenterLayoutComponentCenteringNone

The child is positioned in {0,0} relatively to the layout bounds

Declared In CKCenterLayoutComponent.h.

CKCenterLayoutComponentCenteringX

The child is centered along the X axis

Declared In CKCenterLayoutComponent.h.

CKCenterLayoutComponentCenteringY

The child is centered along the Y axis

Declared In CKCenterLayoutComponent.h.

CKCenterLayoutComponentCenteringXY

Convenience option to center both along the X and Y axis

Declared In CKCenterLayoutComponent.h.