Offset

Offset[{dx,dy},position]

gives the position of a graphical object obtained by starting at the specified position and then moving by absolute offset {dx,dy}.

Details

  • Offset can be used to specify offsets in any two-dimensional graphics primitive.
  • position can be either {x,y}, Scaled[{x,y},] or ImageScaled[{x,y}].
  • The offset is measured in units of printer's points, equal before magnification to of an inch.
  • Offset[{dx,dy}] can be used to specify an absolute radius in a Circle or Disk object.

Examples

open allclose all

Basic Examples  (1)

Offset coordinates by printer's points:

Set radii by printer's points:

Scope  (3)

Offset Positions  (2)

Offset the center by 10 printer's points:

Offset scaled coordinates by 10 printer's points:

Offset image-scaled coordinates by 10 printer's points:

Offset Sizes  (1)

Set radii by printer's points:

Properties & Relations  (2)

Scaled can be used to specify offsets by scaled coordinates:

ImageScaled can be used to specify offsets by image-scaled coordinates:

Introduced in 1996
 (3.0)