IMGLYInstanceFactory
open class IMGLYInstanceFactory
A singleton that is out to create objects. It is used within the SDK to create filters, views, viewcontrollers and such.
-
Creates a response filter with the specified type.
Declaration
Swift
open class func effectFilterWithType(_ type: IMGLYFilterType) -> IMGLYResponseFilter
Parameters
type
The type of the filter that should be created.
Return Value
A CIFilter object that realizes the desired filter.
-
Creates a text filter.
Declaration
Swift
open class func textFilter() -> IMGLYTextFilter
Return Value
A text filter
-
Creates a sticker filter.
Declaration
Swift
open class func stickerFilter() -> IMGLYStickerFilter
Return Value
A sticker filter
-
Creates a crop filter.
Declaration
Swift
open class func orientationCropFilter() -> IMGLYOrientationCropFilter
Return Value
A crop filter
-
Creates a tiltshift filter.
Declaration
Swift
open class func tiltShiftFilter() -> IMGLYTiltshiftFilter
Return Value
A tiltshift filter.
-
Creates a color-adjustment filter.
Declaration
Swift
open class func colorAdjustmentFilter() -> IMGLYContrastBrightnessSaturationFilter
Return Value
A color-adjustment filter.
-
Creates an enhancement filter.
Declaration
Swift
open class func enhancementFilter() -> IMGLYEnhancementFilter
Return Value
A enhancement filter.
-
Creates an scale filter.
Declaration
Swift
open class func scaleFilter() -> IMGLYScaleFilter
Return Value
A scale filter.
-
Returns the list of filters, that should be available in the dialogs. Change this list to select the set of filters you want to present to the user.
Declaration
Swift
open class var availableFilterList: [IMGLYFilterType] { get }
Return Value
An array of filter types.
-
Returns a list that determins what fonts will be available within the text-dialog.
Declaration
Swift
open class var availableFontsList: [String] { get }
Return Value
An array of fontnames.
-
Undocumented
Declaration
Swift
open class func fontImporter() -> IMGLYFontImporter
-
Return the viewcontroller according to the button-type. This is used by the main menu.
Declaration
Swift
public class func viewControllerForButtonType(_ type: IMGLYMainMenuButtonType, withFixedFilterStack fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYSubEditorViewController?
Parameters
type
The type of the button pressed.
Return Value
A viewcontroller according to the button-type.
-
Undocumented
Declaration
Swift
public class func filterEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYFilterEditorViewController
-
Undocumented
Declaration
Swift
public class func stickersEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYStickersEditorViewController
-
Undocumented
Declaration
Swift
public class func orientationEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYOrientationEditorViewController
-
Undocumented
Declaration
Swift
public class func focusEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYFocusEditorViewController
-
Undocumented
Declaration
Swift
public class func cropEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYCropEditorViewController
-
Undocumented
Declaration
Swift
public class func brightnessEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYBrightnessEditorViewController
-
Undocumented
Declaration
Swift
public class func contrastEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYContrastEditorViewController
-
Undocumented
Declaration
Swift
public class func saturationEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYSaturationEditorViewController
-
Undocumented
Declaration
Swift
public class func textEditorViewControllerWithFixedFilterStack(_ fixedFilterStack: IMGLYFixedFilterStack) -> IMGLYTextEditorViewController
-
Undocumented
Declaration
Swift
public class func circleGradientView() -> IMGLYCircleGradientView
-
Undocumented
Declaration
Swift
public class func boxGradientView() -> IMGLYBoxGradientView
-
Undocumented
Declaration
Swift
public class func cropRectComponent() -> IMGLYCropRectComponent