border — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »

# border

class `actions.border.` `Action`(**options)

  Bases: `core.models.Action`

  Draw border inside or outside

  `get_relevant_field_labels`()

    If this method is present, Phatch will only show relevant fields. :returns: list of the field labels which are relevant :rtype: list of strings .. note:

        It is very important that the list of labels has EXACTLY
        the same order as defined in the interface method.

  static `init`()
  `interface`(fields)
  static `pil`(image, method, border_width=0, left=0, right=0, top=0, bottom=0, color=0, opacity=100)
  `values`(info)

`actions.border.` `border`(image, method, border_width=0, left=0, right=0, top=0, bottom=0, color=0, opacity=100)

`actions.border.` `init`()

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »