|Previous||UML Classes||Table of Contents||UML Packages||Next|
Physical definition of a graphical image.
Issue 8449 - add generalization to Element
Element (from Kernel ) on page 63
The Image class provides the necessary information to display an Image in a diagram. Icons are typically handled through the
Issue 8449 -add new attributes for Image
• content : String [0..1] This contains the serialization of the image according to the imageFormat. The value could represent a bitmap, image such as a GIF file, or drawing 'instructions' using a standard such as Scalable Vector Graphics (SVG) (which is XML based).
• format : String [0..1] This indicates the format of the imageContent - which is how the string imageContent should be interpreted. The following values are reserved:
SVG, GIF, PNG, JPG, WMF, EMF, BMP.
In addition the prefix 'MIME: ' is also reserved: this must be followed by a valid MIME type as defined by RFC3023 . This
option can be used as an alternative to express the reserved values above, for example "SVG" could instead be expressed "MIME:
• location : String [0..1] This contains a location that can be used by a tool to locate the image as an alternative to embedding
it in the stereotype.
No additional associations
No additional constraints
Issue 8449 -replace last two sentences
Information such as physical localization or format is provided by the Image class. The Image class provides a generic way
of representing images in different formats. Although some predefined values are specified for imageFormat for convenience
and interoperability, the set of possible formats is open-ended. However there is no requirement for an implementation to
be able to interpret and display any specific format, including those predefined values.