imagedata (db.imagedata.svg)

imagedata — An SVG drawing in a media object.

Synopsis

imagedata (db.imagedata.svg) ::=

  • Sequence of:
    • info(db.titleforbidden.info)
    • One or more of:

Attributes

Common attributes.

Additional attributes:

  • align (enumeration)
    • “center”
    • “char”
    • “justify”
    • “left”
    • “right”
  • contentdepth
  • contentwidth
  • depth
  • format (enumeration)
    • “svg”
  • scale (positiveInteger)
  • scalefit (enumeration)
    • “0”
    • “1”
  • valign (enumeration)
    • “bottom”
    • “middle”
    • “top”
  • width

Additional Constraints

  • If this element is the root element, it must have a version attribute.

Description

This element contains one or more SVG elements.

Processing expectations

Render the image. May be formatted inline or as a displayed block, depending on context.

See imagedata for more details about the processing expectations.

Attributes

Common attributes.

any attribute

Any attribute in any other explicit namespace

align

Specifies the (horizontal) alignment of the image data

Enumerated values:
“center”

Centered horizontally

“char”

Aligned horizontally on the specified character

“justify”

Fully justified (left and right margins or edges)

“left”

Left aligned

“right”

Right aligned

contentdepth

Specifies the depth of the content rectangle

contentwidth

Specifies the width of the content rectangle

depth

Specifies the depth of the element

format

Specifies that the format of the data is SVG

Enumerated values:
“svg”

Specifies SVG.

scale

Specifies the scaling factor

scalefit

Determines if anamorphic scaling is forbidden

Enumerated values:
“0”

False (do not scale-to-fit; anamorphic scaling may occur)

“1”

True (scale-to-fit; anamorphic scaling is forbidden)

valign

Specifies the vertical alignment of the image data

Enumerated values:
“bottom”

Aligned on the bottom of the region

“middle”

Centered vertically

“top”

Aligned on the top of the region

width

Specifies the width of the element

Parents

These elements contain imagedata: imageobject.

Children

The following elements occur in imagedata: info (db.titleforbidden.info), svg:*.

See Also

Related elements: imagedata (db.imagedata).