Sprites
-
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
-
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
@available(iOS 9.0, *) @objcMembers @objc(PESDKFrame) open class Frame : NSObject
-
An
See moreOverlay
represents a unique overlay that can be added to a photo.Declaration
Swift
@available(iOS 9.0, *) @objcMembers @objc(PESDKOverlay) open class Overlay : 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
@available(iOS 9.0, *) @objcMembers @objc(PESDKSticker) open class Sticker : NSObject
-
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
@available(iOS 9.0, *) @objcMembers @objc(PESDKStickerCategory) open class StickerCategory : NSObject