SLSizing Constants Reference
Declared in | SLLivePreview.h |
---|
SLSizing
Enum to determine how animations are resized to fit a another layer. Used in SLLivePreview.
Definition
typedef NS_ENUM(NSUInteger, SLSizing ) {
SLSizingAspectFit,
SLSizingAspectFill,
SLSizingOriginal,
};
Constants
SLSizingAspectFit
-
Layer gets resized to fit the bounds of the containing layer and retains its aspect ratio.
Declared In
SLLivePreview.h
. SLSizingAspectFill
-
Layer gets resized to fill the bounds of the containing layer and retains its aspect ratio.
Declared In
SLLivePreview.h
. SLSizingOriginal
-
Layer does not get resize when added to a layer.
Declared In
SLLivePreview.h
.
Declared In
SLLivePreview.h