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:

Wolfram Research (1996), Offset, Wolfram Language function, https://reference.wolfram.com/language/ref/Offset.html.

Text

Wolfram Research (1996), Offset, Wolfram Language function, https://reference.wolfram.com/language/ref/Offset.html.

CMS

Wolfram Language. 1996. "Offset." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Offset.html.

APA

Wolfram Language. (1996). Offset. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Offset.html

BibTeX

@misc{reference.wolfram_2024_offset, author="Wolfram Research", title="{Offset}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Offset.html}", note=[Accessed: 01-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_offset, organization={Wolfram Research}, title={Offset}, year={1996}, url={https://reference.wolfram.com/language/ref/Offset.html}, note=[Accessed: 01-December-2024 ]}