Sprites

  • A Font represents meta information about a font, that should be loaded into the SDK. If a font has a long name, the displayName 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.

    See more

    Declaration

    Swift

    @objc(PESDKFont)
    open class Font : NSObject
  • A Frame 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.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKFrame)
    open class Frame : NSObject
  • An Overlay represents a unique overlay that can be added to a photo.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKOverlay)
    open class Overlay : NSObject
  • A Sticker 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.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKSticker)
    open class Sticker : NSObject
  • A StickerCategory represents one category of stickers. Each category has a preview image and multiple stickers associated with it. To support accessibility you should also set its accessibilityLabel.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKStickerCategory)
    open class StickerCategory : NSObject