FRAME keyword

Frames an object within an area. It makes sure the width and height don't exceed the area.

Syntax

FRAME object, (x1, y1)-(x2, y2), "align"

Parameters

  • object: object (required)
  • x1: integer of horizontal position 1 (required)
  • y1: integer of vertical position 1 (required)
  • x2: integer of horizontal position 2 (required)
  • y2: integer of vertical position 2 (required)
  • align: how to align the object: "all" (default), "width" or "height"

Example

FRAME myImage, (200, 100)-(440, 540)
FRAME myImage, (200, 100)-(440, 540), "width"

Go back to list of Keywords.