AttachmentImage
public struct AttachmentImage : AttachmentViewIdentifying
Describes an image for which can be used in an Attachment
-
Content name for the image
Declaration
Swift
public let name: EditorContent.Name -
Image content
Declaration
Swift
public let image: UIImage -
Size of the image
Declaration
Swift
public let size: CGSize -
Denotes if the image is block content or an inline
Declaration
Swift
public var type: AttachmentType -
Initializes the Block Content image
Declaration
Swift
public init(name: EditorContent.Name, image: UIImage, size: CGSize, type: AttachmentType)Parameters
nameContent name
imageImage
sizeSize of the image
isBlockContentDetermines if image is a block content
View on GitHub
AttachmentImage Structure Reference