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
name
Content name
image
Image
size
Size of the image
isBlockContent
Determines if image is a block content