BlockAttachmentImage

public struct BlockAttachmentImage : BlockContent

Describes an image of Block Content type

  • 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
  • Initializes the Block Content image

    Declaration

    Swift

    public init(name: EditorContent.Name, image: UIImage, size: CGSize)

    Parameters

    name

    Content name

    image

    Image

    size

    Size of the image