Classes
The following classes are available globally.
-
A
See moreGradientView
shows a linear gradient from its top to its bottom.Declaration
Swift
@objc(PESDKGradientView) open class GradientView: UIView
-
The
See moreCropAspect
class is used to specify the available crop aspect ratios for theTransformToolController
.Declaration
Swift
@objc(PESDKCropAspect) open class CropAspect: NSObject
-
The default
See moreFrameToolControllerOptionsBuilder
forFrameToolControllerOptions
.Declaration
Swift
@objc(PESDKFrameToolControllerOptionsBuilder) open class FrameToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
Options for configuring a
See moreFrameToolController
.Declaration
Swift
@objc(PESDKFrameToolControllerOptions) open class FrameToolControllerOptions: ToolControllerOptions
-
A
See moreCropHandleView
represents the interactive, draggable part of a crop rect.Declaration
Swift
@objc(PESDKCropHandleView) open class CropHandleView: UIView
-
The default
See moreStickerOptionsToolControllerOptionsBuilder
forStickerOptionsToolControllerOptions
.Declaration
Swift
@objc(PESDKStickerOptionsToolControllerOptionsBuilder) open class StickerOptionsToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
Options for configuring a
See moreStickerOptionsToolController
.Declaration
Swift
@objc(PESDKStickerOptionsToolControllerOptions) open class StickerOptionsToolControllerOptions: ToolControllerOptions
-
A
See moreSeparatorCollectionViewCell
is a cell that shows a single 1 pt wide vertical line. It is usually used to represent a seperator between other cells.Declaration
Swift
@objc(PESDKSeparatorCollectionViewCell) open class SeparatorCollectionViewCell: UICollectionViewCell
-
The
HandleButton
is used in theTextFontToolController
to expand theFontSelectorView
. It is a standardButton
that uses itstintColor
as itsbackgroundColor
.Declaration
Swift
@objc(PESDKHandleButton) open class HandleButton: Button
-
A
TextFontToolController
is responsible for displaying the UI to adjust the font of text that has been added to an image.Declaration
Swift
@objc(PESDKTextFontToolController) open class TextFontToolController: StackLayoutToolController
-
The default logger provided by the SDK. It will log into the xcode console.
See moreDeclaration
Swift
@objc(PESDKDefaultLogger) public class DefaultLogger: NSObject, LoggerProtocol
-
This class represents a group of the images.
See moreDeclaration
Swift
@objc(PESDKFrameImageGroup) open class FrameImageGroup: NSObject
-
The configuration for the build engine.
See moreDeclaration
Swift
@objc(PESDKCustomPatchConfiguration) open class CustomPatchConfiguration: NSObject
-
A framebuilder for custom patches. Each patch consists of four groups. There are two basic layouts. The first one places the top and bottom group above the full width of the image, and the left and right group in between. The second layout works the other way around.
See moreDeclaration
Swift
@objc(PESDKCustomPatchFrameBuilder) open class CustomPatchFrameBuilder: NSObject, FrameBuilder
-
A
FocusToolController
is reponsible for displaying the UI to adjust the focus of an image.Declaration
Swift
@objc(PESDKFocusToolController) open class FocusToolController: StackLayoutToolController
-
The
See moreCanvasView
is responsible for presenting a painting and handling touch events related to paintings.Declaration
Swift
@objc(PESDKCanvasView) open class CanvasView: GLKView
-
This filter adds or takes away clarity of an image.
See moreDeclaration
Swift
@objc(PESDKClarityFilter) open class ClarityFilter: CIFilter
-
The
See morePhotoEffect
class describes an effect that can be applied to a photo.Declaration
Swift
@objc(PESDKPhotoEffect) open class PhotoEffect: NSObject
-
A
See moreModeCollectionViewCell
is a cell that displays a label within a frameDeclaration
Swift
open class ModeCollectionViewCell: UICollectionViewCell
-
A sticker category data source provides the sticker categories that should be displayed in the sticker tool.
See moreDeclaration
Swift
@objc(PESDKStickerCategoryDataSource) open class StickerCategoryDataSource: NSObject
-
A
See moreLabelBorderedCollectionViewCell
is a cell that shows a border around the cell and a label in its center.Declaration
Swift
@objc(PESDKLabelBorderedCollectionViewCell) open class LabelBorderedCollectionViewCell: BorderedCollectionViewCell
-
An
See moreSpriteController
manages all sprites that have been added to an image and hosts the sprite’s container view.Declaration
Swift
@objc(PESDKSpriteController) open class SpriteController: NSObject
-
The
See moreCameraViewController
class provides a dialog to perform serveral tasks regarding the camera. These include taking photos, switching on the flash, and such.Declaration
Swift
@objc(PESDKCameraViewController) open class CameraViewController: UIViewController
-
A
See moreColorCollectionViewCell
is a cell that shows a solid color and an image view on top of that color when the cell is selected. It also has aselectionIndicator
to show whether or not the cell is currently selected.Declaration
Swift
@objc(PESDKColorCollectionViewCell) open class ColorCollectionViewCell: UICollectionViewCell
-
This class represents a gradient control view. It is used within the focus tool to visualize the chosen focus parameters.
See moreDeclaration
Swift
@objc(PESDKFocusGradientView) open class FocusGradientView: UIControl
-
See moreAnimationDelegate
can be used as the delegate of aCAAnimation
to easily specify a completion block.Declaration
Swift
@objc(PESDKAnimationDelegate) open class AnimationDelegate: NSObject, CAAnimationDelegate
-
Applies a linear focus to an instance of
See moreCIImage
.Declaration
Swift
@objc(PESDKLinearFocusFilter) open class LinearFocusFilter: CIFilter
-
Options for configuring a
See moreTextOptionsToolController
.Declaration
Swift
@objc(IMGLTextOptionsToolControllerOptions) open class TextOptionsToolControllerOptions: ToolControllerOptions
-
The default
See moreTextOptionsToolControllerOptionsBuilder
forTextOptionsToolControllerOptions
.Declaration
Swift
@objc(PESDKTextOptionsToolControllerOptionsBuilder) open class TextOptionsToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
Applies a radial focus to an instance of
See moreCIImage
.Declaration
Swift
@objc(PESDKRadialFocusFilter) open class RadialFocusFilter: CIFilter
-
An
See moreOverlayButton
is used inside theworkspaceView
of aStackLayoutToolController
. It is a regular button with a translucent black background.Declaration
Swift
@objc(PESDKOverlayButton) open class OverlayButton: Button
-
A
See moreCropMaskView
is a view that blurs the content behind it.Declaration
Swift
@objc(PESDKCropMaskView) open class CropMaskView: UIView
-
Options for configuring a
See moreColorToolController
.Declaration
Swift
@objc(PESDKColorToolControllerOptions) open class ColorToolControllerOptions: ToolControllerOptions
-
The default
See moreColorToolControllerOptionsBuilder
forColorToolControllerOptions
.Declaration
Swift
@objc(PESDKColorToolControllerOptionsBuilder) open class ColorToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
A
BrushColorToolController
is reponsible for displaying the UI to adjust the color of the brush that will be drawn on the image.Declaration
Swift
@objc(PESDKBrushColorToolController) open class BrushColorToolController: ColorToolController
-
A
See moreStampGenerator
is responsible for generating a stamp image that is used by a brush to draw a stroke.Declaration
Swift
@objc(PESDKStampGenerator) open class StampGenerator: NSObject
-
A
See moreStackLayoutToolController
presents a workspace view at the top and an accessory view at the bottom. The accessory view is usually used for the menu, while the workspace view hosts any other controls.Declaration
Swift
@objc(PESDKStackLayoutToolController) open class StackLayoutToolController: PhotoEditToolController
-
Options for configuring a
See morePhotoEditToolController
.Declaration
Swift
@objc(PESDKToolControllerOptions) open class ToolControllerOptions: NSObject
-
The default
See moreToolControllerOptionsBuilder
forToolControllerOptions
.Declaration
Swift
@objc(PESDKToolControllerOptionsBuilder) open class ToolControllerOptionsBuilder: NSObject
-
A SliderTooltip object is a visual element that displays a Slider’s current value above the thumb image while dragging.
See moreDeclaration
Swift
open class SliderTooltip: UIView
-
Options for configuring an
See moreAdjustToolController
.Declaration
Swift
@objc(PESDKAdjustToolControllerOptions) open class AdjustToolControllerOptions: ToolControllerOptions
-
The default
See moreAdjustToolControllerOptionsBuilder
forAdjustToolControllerOptions
.Declaration
Swift
@objc(PESDKAdjustToolControllerOptionsBuilder) open class AdjustToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
Options for configuring a
See moreStickerToolController
.Declaration
Swift
@objc(PESDKStickerToolControllerOptions) open class StickerToolControllerOptions: ToolControllerOptions
-
The default
See moreStickerToolControllerOptionsBuilder
forStickerToolControllerOptions
.Declaration
Swift
@objc(PESDKStickerToolControllerOptionsBuilder) open class StickerToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
A
TransformToolController
is reponsible for displaying the UI to transform an image.Declaration
Swift
@objc(PESDKTransformToolController) open class TransformToolController: StackLayoutToolController
-
A
FrameImageView
is currently just a dummy class. Its purpose is to find out if we are dealing with the frame view during serialization.Declaration
Swift
@objc(PESDKBrushImageView) open class BrushImageView: UIImageView
-
This class provides the methods to generate the dynamic frame-builders provided by the SDK.
See moreDeclaration
Swift
@objc(PESDKDefaultDynamicFrames) open class DefaultDynamicFrames: NSObject
-
Options for configuring a
See moreFocusToolController
.Declaration
Swift
@objc(PESDKFocusToolControllerOptions) open class FocusToolControllerOptions: ToolControllerOptions
-
The default
See moreFocusToolControllerOptionsBuilder
forFocusToolControllerOptions
.Declaration
Swift
@objc(PESDKFocusToolControllerOptionsBuilder) open class FocusToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
This class represents a circle gradient control view. It is used within the focus tool to visualize the chosen focus parameters.
Declaration
Swift
@objc(PESDKCircleGradientView) open class CircleGradientView: FocusGradientView
-
The default
See moreCameraViewControllerOptionsBuilder
forCameraViewControllerOptions
.Declaration
Swift
@objc(PESDKCameraViewControllerOptionsBuilder) open class CameraViewControllerOptionsBuilder: NSObject
-
Options for configuring a
See moreCameraViewController
.Declaration
Swift
@objc(PESDKCameraViewControllerOptions) open class CameraViewControllerOptions: NSObject
-
An
See moreActivityBorderedCollectionViewCell
is a cell that shows a border around the cell and an activity indicator in its center.Declaration
Swift
@objc(PESDKActivityBorderedCollectionViewCell) open class ActivityBorderedCollectionViewCell: BorderedCollectionViewCell
-
A
See moreTextToolController
is reponsible for displaying the UI to add text to an image.Declaration
Swift
@objc(PESDKTextToolController) open class TextToolController: PhotoEditToolController
-
A concrete implementation of
See moreAnalyticsClient
that dispatches events to all registered clients on a background queue.Declaration
Swift
@objc(PESDKAnalytics) open class Analytics: NSObject, AnalyticsClient
-
A
See more_ObjCPhotoEditModel
holds information about any modification that should be applied to an image. The actualPhotoEditModel
is a struct and not exposable to Objective-C. This class boxes the actualPhotoEditModel
for Objective-C compatibility.Declaration
Swift
@objc(PESDKPhotoEditModel) public final class _ObjCPhotoEditModel: NSObject, PhotoEditModelProtocol
-
A
Brush
holds all information needed to render a stroke.Declaration
Swift
@objc(PESDKBrush) open class Brush: NSObject
-
A
See moreFilterCollectionViewCell
is a cell that shows an image (usually with a filter applied to it) and a label at the bottom. When selected the cell has an overlay, a label for the intensity and an selection indicator.Declaration
Swift
@objc(PESDKFilterCollectionViewCell) open class FilterCollectionViewCell: UICollectionViewCell
-
A
See moreButton
is a subclass ofUIButton
, which supports running a closure for a given control event and has the ability to specify a touch area inset.Declaration
Swift
@objc(PESDKButton) open class Button: UIButton
-
The default
See moreBrushToolControllerOptionsBuilder
forBrushToolControllerOptions
.Declaration
Swift
@objc(PESDKBrushToolControllerOptionsBuilder) open class BrushToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
Options for configuring an
See moreBrushToolController
.Declaration
Swift
@objc(PESDKBrushToolControllerOptions) open class BrushToolControllerOptions: ToolControllerOptions
-
A
See moreProgressView
is an activity indicator that is shown on top of all other views in a HUD style and temporarily blocks all user interaction with other views.Declaration
Swift
@objc(PESDKDefaultProgressView) open class DefaultProgressView: NSObject, ProgressView
-
An
See moreOverlay
represents a unique overlay that can be added to a photo.Declaration
Swift
@objc(PESDKOverlay) open class Overlay: NSObject
-
A
See moreBrushToolController
is reponsible for displaying the UI to draw a painting on top of an image.Declaration
Swift
@objc(PESDKBrushToolController) open class BrushToolController: StackLayoutToolController
-
A
See moreVideoRecordButton
is a button that can be used to start a video recording. It animates between a ‘Start recording’ and a ‘Stop recording’ state.Declaration
Swift
public final class VideoRecordButton: UIControl
-
The
See moreCropAndStraightenView
class provides support for displaying, zooming, rotating and cropping an image.Declaration
Swift
@objc(PESDKCropAndStraightenView) open class CropAndStraightenView: UIView
-
A
See morePhotoEditRenderer
takes aCIImage
and aPhotoEditModel
as input and takes care of applying all necessary effects and filters to the image. The output image can then be rendered into anEAGLContext
or converted into aCGImage
instance.Declaration
Swift
@objc(PESDKPhotoEditRenderer) open class PhotoEditRenderer: NSObject
-
Options for configuring a
See moreOverlayToolController
.Declaration
Swift
@objc(PESDKOverlayToolControllerOptions) open class OverlayToolControllerOptions: ToolControllerOptions
-
The default
See moreOverlayToolControllerOptionsBuilder
forOverlayToolControllerOptions
.Declaration
Swift
@objc(PESDKOverlayToolControllerOptionsBuilder) open class OverlayToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
Options for configuring a
See moreTextFontToolController
.Declaration
Swift
@objc(PESDKTextFontToolControllerOptions) open class TextFontToolControllerOptions: ToolControllerOptions
-
The default
See moreTextFontToolControllerOptionsBuilder
forTextFontToolControllerOptions
.Declaration
Swift
@objc(PESDKTextFontToolControllerOptionsBuilder) open class TextFontToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
A
See moreRoundGenerator
generates a round stamp image with a given hardness.Declaration
Swift
@objc(PESDKRoundGenerator) open class RoundGenerator: StampGenerator
-
The
See moreColorPickerView
provides a way to pick colors. It contains three elements - a hue picker, a brightness and saturation picker and an alpha picker. It has full support for wide colors.Declaration
Swift
@objc(PESDKColorPickerView) open class ColorPickerView: UIControl
-
A
TouchingGestureRecognizer
is a simpleUIGestureRecognizer
subclass that counts the number of touches on the associated view.Declaration
Swift
@objc(PESDKTouchingGestureRecognizer) open class TouchingGestureRecognizer: UIGestureRecognizer
-
A
See moreTextLabel
is used to show text that has been added to an image and provides improved support for accessibility.Declaration
Swift
@objc(PESDKTextLabel) open class TextLabel: UILabel
-
A
StickerColorToolController
is responsible for displaying the UI to adjust the color of a sticker that has been added to an image.Declaration
Swift
@objc(PESDKStickerColorToolController) open class StickerColorToolController: ColorToolController
-
A
See moreStickerToolController
is reponsible for displaying the UI to add stickers to an image.Declaration
Swift
@objc(PESDKStickerToolController) open class StickerToolController: StackLayoutToolController
-
The
See moreMasterLogger
manages and deploys loggers. That means it holds all instances of loggers, and delegates incoming log messages to each of them. Also it takes case of threading, to keep logging efficient. More loggers can be added using theadd
method. All child loggers must implement theLoggerProtocol
.Declaration
Swift
@objc(PESDKLogger) public class MasterLogger: NSObject
-
An
StickerOptionsToolController
is reponsible for displaying the UI to edit a sticker.Declaration
Swift
@objc(PESDKStickerOptionsToolController) open class StickerOptionsToolController: StackLayoutToolController
-
Options for configuring a
See morePhotoEditViewController
.Declaration
Swift
@objc(PESDKPhotoEditViewControllerOptions) open class PhotoEditViewControllerOptions: NSObject
-
The default
See morePhotoEditViewControllerOptionsBuilder
forPhotoEditViewControllerOptions
.Declaration
Swift
@objc(PESDKPhotoEditViewControllerOptionsBuilder) open class PhotoEditViewControllerOptionsBuilder: NSObject
-
A
See moreTextColorToolController
is reponsible for displaying the UI to adjust the text color of text that has been added to an image.Declaration
Swift
@objc(PESDKTextColorToolController) open class TextColorToolController: ColorToolController
-
Provides functions to import fonts added as resources. It also registers them, so that the application can load them like any other pre-installed font.
See moreDeclaration
Swift
@objc(PESDKFontImporter) open class FontImporter: NSObject
-
A
See moreModeSelectionView
is a subclass ofUICollectionView
configured to be used as the menu of a tool controller.Declaration
Swift
open class ModeSelectionView: UIView
-
A sticker data source provides the stickers that should be displayed in the sticker tool.
See moreDeclaration
Swift
@objc(PESDKStickerDataSource) open class StickerDataSource: NSObject
-
A
See moreLabelCaptionCollectionViewCell
is a cell that displays two labels, one at the top and one at the bottom.Declaration
Swift
@objc(PESDKLabelCaptionCollectionViewCell) open class LabelCaptionCollectionViewCell: UICollectionViewCell
-
A
See moreToolbar
is used inside aToolbarController
to displayToolbarItem
s.Declaration
Swift
@IBDesignable @objc(PESDKToolbar) open class Toolbar: UIView
-
An
See moreIconBorderedCollectionViewCell
is a cell that shows a border around the cell and an image in its center.Declaration
Swift
@objc(PESDKIconBorderedCollectionViewCell) open class IconBorderedCollectionViewCell: ActivityBorderedCollectionViewCell
-
A
See moreScalePicker
provides an UI element to pick values.Declaration
Swift
@objc(PESDKScalePicker) open class ScalePicker: UIView
-
A
See morePhotoEffectThumbnailRenderer
can be used to generate thumbnails of a given input image for multiple photo effects.Declaration
Swift
@objc(PESDKPhotoEffectThumbnailRenderer) open class PhotoEffectThumbnailRenderer: NSObject
-
Options for configuring a
See moreTextToolController
.Declaration
Swift
@objc(PESDKTextToolControllerOptions) open class TextToolControllerOptions: ToolControllerOptions
-
The default
See moreTextToolControllerOptionsBuilder
forTextToolControllerOptions
.Declaration
Swift
@objc(PESDKTextToolControllerOptionsBuilder) open class TextToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
A
See moreFrameToolController
is reponsible for displaying the UI to add a frame to an image.Declaration
Swift
@objc(PESDKFrameToolController) open class FrameToolController: StackLayoutToolController
-
This class represents a rectangle gradient control view. It is used within the focus tool to visualize the chosen focus parameters.
Declaration
Swift
@objc(PESDKBoxGradientView) open class BoxGradientView: FocusGradientView
-
A
See moreLicenseModel
represents all properties of a license.Declaration
Swift
public class LicenseModel: NSObject
-
Options for configuring a
See moreTransformToolController
.Declaration
Swift
@objc(PESDKTransformToolControllerOptions) open class TransformToolControllerOptions: ToolControllerOptions
-
The default
See moreTransformToolControllerOptionsBuilder
forTransformToolControllerOptions
.Declaration
Swift
@objc(PESDKTransformToolControllerOptionsBuilder) open class TransformToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
A
See moreTexture
manages an OpenGL texture. It is responsible for allocating and deallocting the necessary memory.Declaration
Swift
@objc(PESDKTexture) open class Texture: NSObject
-
This class provides tools to create and manipulate color matrices. These can be passed into a CIKernel.
See moreDeclaration
Swift
@objc(PESDKColorMatrix) public final class _ObjCColorMatrix: NSObject, ColorMatrixProtocol
-
The
See moreCameraController
class provides functions for serveral camera related tasks, including setup, flash control, and such.Declaration
Swift
@objc(PESDKCameraController) open class CameraController: NSObject
-
An
AdjustToolController
is reponsible for displaying the UI to adjust the brightness, contrast and saturation of an image.Declaration
Swift
@objc(PESDKAdjustToolController) open class AdjustToolController: StackLayoutToolController
-
Applies clarity to an instance of
See moreCIImage
.Declaration
Swift
@objc(PESDKLegacyClarityFilter) open class LegacyClarityFilter: CIFilter
-
Options for configuring a
See moreTextColorToolController
.Declaration
Swift
@objc(PESDKTextColorToolControllerOptions) open class TextColorToolControllerOptions: ColorToolControllerOptions
-
The default
See moreTextColorToolControllerOptionsBuilder
forTextColorToolControllerOptions
.Declaration
Swift
@objc(PESDKTextColorToolControllerOptionsBuilder) open class TextColorToolControllerOptionsBuilder: ColorToolControllerOptionsBuilder
-
A TooltipSlider object is a visual control used to select a single value from a continuous range of values. Sliders are always displayed as horizontal bars. An indicator, or thumb, notes the current value of the slider and can be moved by the user to change the setting. A vertical indicator, or neutral point, notes the default, unchanged value of the slider. Additionally a
See moreTooltipSlider
also presents a tooltip above the thumb image that displays the current selected value while dragging.Declaration
Swift
open class TooltipSlider: Slider
-
A
See morePhotoEditViewController
is responsible for presenting and rendering an edited image.Declaration
Swift
@objc(PESDKPhotoEditViewController) open class PhotoEditViewController: UIViewController
-
This filter is used to colorize stickers.
See moreDeclaration
Swift
@objc(PESDKColorizeFilter) open class ColorizeFilter: CIFilter
-
A
See moreToolbarController
is the container view controller for aPhotoEditViewController
and its associated tool controllers. It usually displays a toolbar at bottom and has methods to transition between various tools. If it is embedded inside aUINavigationController
it uses the navigation controllers navigation bar instead of its own toolbar at the bottom.Declaration
Swift
@objc(PESDKToolbarController) open class ToolbarController: UIViewController
-
A
See moreFrame
represents a unique frame, which can have multiple images for different aspect ratios. The matching image for the current aspect ratio will be used automatically. Each frame neeeds at least one image and one thumbnail image. If no thumbnail is provide, it is automatically generated.Declaration
Swift
@objc(PESDKFrame) open class Frame: NSObject
-
A
FilterToolController
is reponsible for displaying the UI to apply an effect filter to an image.Declaration
Swift
@objc(PESDKFilterToolController) open class FilterToolController: StackLayoutToolController
-
A
TextOptionsToolController
is reponsible for displaying the UI to adjust text that has been added to an image.Declaration
Swift
@objc(PESDKTextOptionsToolController) open class TextOptionsToolController: StackLayoutToolController
-
An icon generator can be used to generate various icons.
Declaration
Swift
@objc(PESDKIconGenerator) open class IconGenerator: NSObject
-
A
See moreToolbarItem
hosts views which are displayed in thetoolbar
of aToolbarController
. If the toolbar controller is embedded into anUINavigationController
, those views are added to the navigation controller’s navigation bar.Declaration
Swift
@objc(PESDKToolbarItem) open class ToolbarItem: NSObject
-
A
See moreDefaultToolbarItem
is a toolbar item with a label in the center and a default discard button on the left and apply button on the right. It is used in most tool controllers.Declaration
Swift
@objc(PESDKDefaultToolbarItem) open class DefaultToolbarItem: ToolbarItem
-
This filter adds or takes away clarity of an image.
See moreDeclaration
Swift
@objc(PESDKLUTFilter) open class LUTFilter: CIFilter
-
A
See morePainting
manages the shaders, textures, vertices and framebuffers involved in a single painting.Declaration
Swift
@objc(PESDKPainting) open class Painting: NSObject
-
Used to determine device orientation even if orientation lock is active.
See moreDeclaration
Swift
@objc(PESDKDeviceOrientationController) open class DeviceOrientationController: NSObject
-
A
See morePhotoEditToolController
is the base class for any tool controllers. Subclass this class if you want to add additional tools to the editor.Declaration
Swift
@objc(PESDKPhotoEditToolController) open class PhotoEditToolController: UIViewController, ToolbarItemProviding
-
A view that extends the default
See moreUIView
by passthrough views.Declaration
Swift
@objc(PESDKView) open class View: UIView
-
A
See moreFilterSelectionController
contains everything that is needed to display a list of available filters.Declaration
Swift
@objc(PESDKFilterSelectionController) open class FilterSelectionController: NSObject
-
An
See moreIconCaptionCollectionViewCell
is a cell that shows an icon and a label.Declaration
Swift
@objc(PESDKIconCaptionCollectionViewCell) open class IconCaptionCollectionViewCell: UICollectionViewCell
-
A
See moreMenuCollectionView
is a subclass ofUICollectionView
configured to be used as the menu of a tool controller.Declaration
Swift
@objc(PESDKMenuCollectionView) open class MenuCollectionView: UICollectionView
-
A
See moreTextButton
is used within aFontSelectorView
to present different fonts and their names.Declaration
Swift
@objc(PESDKTextButton) open class TextButton: Button
-
A
See moreLabelIconBorderedCollectionViewCell
extends aLabelBorderedCollectionViewCell
by an image view that displays an icon instead of the label when required.Declaration
Swift
@objc(PESDKLabelIconBorderedCollectionViewCell) open class LabelIconBorderedCollectionViewCell: LabelBorderedCollectionViewCell
-
A
See moreTool
is an abstract base class. CurrentlyFreehandTool
is the only concrete subclass and it is used to handle touch events and draw primitives.Declaration
Swift
@objc(PESDKTool) open class Tool: NSObject
-
A
ColorToolController
is reponsible for displaying the UI to adjust the color of an element that has been added to an image.Declaration
Swift
@objc(PESDKColorToolController) open class ColorToolController: StackLayoutToolController
-
A
See moreStickerCategory
represents one category of stickers. Each category has a preview image and multiple stickers associated with it. To support accessibility you should also set itsaccessibilityLabel
.Declaration
Swift
@objc(PESDKStickerCategory) open class StickerCategory: NSObject
-
UndoController
is a general-purpose recorder of operations for undo and redo.Note
You register an undo operation by specifying the object that’s changing (or the owner of that object), along with a method to invoke to revert its state, and the arguments for that method. When performing undo anUndoController
saves the operations reverted so that you can redo the undos. It differs from Foundation’sNSUndoManager
in that groups are not created automatically for each cycle of the run loop and that each step of a group can be undone rather than just the whole group.Declaration
Swift
@objc(PESDKUndoController) open class UndoController: NSObject
-
A
See moreSticker
represents a single sticker in a sticker category. Each sticker needs an image and a thumbnail image. If no thumbnail is provided, it is automatically generated.Declaration
Swift
@objc(PESDKSticker) open class Sticker: NSObject
-
The
See moreCropOverlayView
is added above theCropAndStraightenView
to display the UI elements to adjust the crop rect and hosts the mask views to dim the content that is outside the crop rect.Declaration
Swift
@objc(PESDKCropOverlayView) open class CropOverlayView: UIView
-
This class provides our own implementation of adjustment filters. Using these we get more consistant results across the several platforms.
See moreDeclaration
Swift
@objc(PESDKCustomAdjustmentsFilter) open class CustomAdjustmentsFilter: CIFilter
-
A
See moreStickerCollectionViewCell
is a cell that has an image view and an activity indicator in its center.Declaration
Swift
@objc(PESDKIconCollectionViewCell) open class StickerCollectionViewCell: UICollectionViewCell
-
A Slider object is a visual control used to select a single value from a continuous range of values. Sliders are always displayed as horizontal bars. An indicator, or thumb, notes the current value of the slider and can be moved by the user to change the setting. A vertical indicator, or neutral point, notes the default, unchanged value of the slider.
See moreDeclaration
Swift
@objc(PESDKSlider) open class Slider: UIControl
-
A
See moreBorderedCollectionViewCell
is a cell that shows a border around the cell.Declaration
Swift
@objc(PESDKBorderedCollectionViewCell) open class BorderedCollectionViewCell: UICollectionViewCell
-
A
OverlayToolController
is reponsible for displaying the UI to apply a overlay to an image.Declaration
Swift
@objc(PESDKOverlayToolController) open class OverlayToolController: StackLayoutToolController
-
The
See moreFontSelectorView
is a subclass ofUIScrollView
that presents a scrollable list of fonts.Declaration
Swift
@objc(PESDKFontSelectorView) open class FontSelectorView: UIScrollView
-
An Configuration defines behaviour and look of all view controllers provided by the PhotoEditorSDK. It uses the builder pattern to create an immutable object via a closure. To configure the different editors and viewControllers contained in the SDK, edit their options in the corresponding
See moreconfigure*ViewController
method of theConfigurationBuilder
.Declaration
Swift
@objc(PESDKConfiguration) open class Configuration: NSObject
-
The configuration builder object offers all properties of
See moreConfiguration
in a mutable version, in order to build an immutableConfiguration
object. To further configure the different viewcontrollers, use theconfigureXYZViewController
methods to edit the given options.Declaration
Swift
@objc(PESDKConfigurationBuilder) open class ConfigurationBuilder: NSObject
-
A frame data source provides the frames that should be displayed in the frame tool.
See moreDeclaration
Swift
@objc(PESDKFrameDataSource) open class FrameDataSource: NSObject
-
A
See moreFont
represents meta information about a font, that should be loaded into the SDK. If a font has a long name, thedisplayName
can be used to substitude it within the UI. The font name is used by iOS to identify the font. This is usualy the filename of the font. But it can be different. To be sure use the font in a sandbox project, and get its ‘fontName’ attribute.Declaration
Swift
@objc(PESDKFont) open class Font: NSObject
-
Options for configuring a
See moreFilterToolController
.Declaration
Swift
@objc(PESDKFilterToolControllerOptions) open class FilterToolControllerOptions: ToolControllerOptions
-
The default
See moreFilterToolControllerOptionsBuilder
forFilterToolControllerOptions
.Declaration
Swift
@objc(PESDKFilterToolControllerOptionsBuilder) open class FilterToolControllerOptionsBuilder: ToolControllerOptionsBuilder
-
A
See moreOverlayelectionController
contains everything that is needed to display a list of available filters.Declaration
Swift
@objc(PESDKOverlaySelectionController) open class OverlaySelectionController: NSObject
-
A
See moreFrameImageView
is currently just a dummy class. Its purpose is to find out if we are dealing with the frame view during serialization.Declaration
Swift
@objc(PESDKFrameImageView) open class FrameImageView: UIImageView
-
This class is out to provide an easy service to get images, either from a local or remote source.
See moreDeclaration
Swift
@objc(PESDKImageProvider) open class ImageProvider: NSObject