Interface ProcessImageData

All Superinterfaces:
PluginDataContainer, Serializable, UserAttributeContainer

public interface ProcessImageData extends PluginDataContainer, UserAttributeContainer, Serializable
Data representing an image of a process element (a process template or a process instance).
Author:
Ulrich Kreher
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Generated ID for serialisation.
      See Also:
  • Method Details

    • getType

      String getType()
      Gets the type of the image which is provided as byte[].
      Returns:
      The type of the image which is provided as byte[].
      See Also:
    • getImage

      byte[] getImage()
      Gets the binary data of the image represented as the appropriate image type.
      Returns:
      The image as binary data.
    • getImageSize

      Rectangle getImageSize()
      Gets the size of the image in pixels.
      Returns:
      The size of the image in pixels.
    • getNodeArea

      Map<Integer,Rectangle> getNodeArea()
      Gets the areas in pixels where the nodes are located in the image. The index of the map is the corresponding node ID. If there are no nodes in the image, an empty map will be returned.
      Returns:
      The areas in pixels where the nodes are located in the image, indexed by the corresponding node ID.
    • getDataElementArea

      Map<Integer,Rectangle> getDataElementArea()
      Gets the areas in pixels where the data elements are located in the image. The index of the map is the corresponding data element ID. If there are no data elements in the image, an empty map will be returned.
      Returns:
      The areas in pixels where the data elements are located in the image, indexed by the corresponding data element ID.