CreationKit Documentation

Structure Image​Media​Item

public struct ImageMediaItem: MediaItem  

A MediaItem for images

ImageMediaItem ImageMediaItem MediaItem MediaItem ImageMediaItem->MediaItem

Conforms To

MediaItem

Initializers

init(image:​)

public init(image: UIImage)  

init(image​URL:​)

public init(imageURL: URL)  

Properties

url

public var url: URL? 

image

public var image: UIImage? 

placeholder​Image

public var placeholderImage: UIImage

size

public private(set) var size: CGSize