Version 5.9.4

# `Frame`

Manipulate an object’s appearance by drawing a frame. Can be used as a clipping path.

## Child elements

`Barcode`, `Box`, `Circle`, `Frame`, `Image`, `Rule`, `Switch`, `Table`, `Textblock`, `Transformation`

## Parent elements

`A`, `B`, `Case`, `Clip`, `Color`, `Fontface`, `ForAll`, `Frame`, `I`, `Li`, `Loop`, `NoBreak`, `Otherwise`, `Overlay`, `Paragraph`, `PlaceObject`, `Position`, `Span`, `Td`, `Transformation`, `U`, `URL`, `Until`, `While`

## Attributes

`background-color` (text, optional)
  Color of the background if ›background‹ is set to ›full‹.
`border-bottom-left-radius` (length, optional, CSS property: border-bottom-left-radius)
  Radius of corner bottom left.
`border-bottom-right-radius` (length, optional, CSS property: border-bottom-right-radius)
  Radius of corner bottom right.
`border-radius` (optional, since version 4.13.14)
  Border radius of the four corners.
`border-top-left-radius` (length, optional, CSS property: border-top-left-radius)
  Radius of corner top left.
`border-top-right-radius` (length, optional, CSS property: border-top-right-radius)
  Radius of corner top right.
`class` (text, optional)
  CSS class for this element.
`clip` (optional, since version 3.5.10)
  Constrain the contents of the frame to its area or allow them to protrude.
  - `yes`: The contents are clipped at the frame border (default).
  - `no`: The contents are not clipped.
`framecolor` (text, optional)
  The color of the frame around the object. This defaults to ‘black’. Can be hidden with the special color ‘-’.
`id` (text, optional)
  CSS id for this element.
`rulewidth` (length, optional)
  The thickness of the frame that is drawn around the object.

## Example

    <Record element="data">
      <PlaceObject>
        <Frame framecolor="red" border-bottom-left-radius="10pt">
          <Image width="20" file="_samplea.pdf"/>
        </Frame>
      </PlaceObject>
    </Record>

#### On this page