ShadowOffset
is an option for ShadowBox that sets the offset of a shadow from the rest of the box.
ShadowOffset
ShadowOffset
is an option for ShadowBox that sets the offset of a shadow from the rest of the box.
更多信息和选项
- To use ShadowOffset, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
- ShadowOffset->{x,y} specifies the x and y offset distances.
范例
基本范例 (1)
Needs["PlotLegends`"]Offset the shadow by one-tenth of the width and height of the box:
Graphics[ShadowBox[{0, 0}, {1, 1}, ShadowOffset -> 0.1]]Offset the shadow to the bottom right by one-quarter of the width and height of the box:
Graphics[ShadowBox[{0, 0}, {1, 1}, ShadowOffset -> {0.25, -0.25}]]技术笔记
相关指南
文本
Wolfram Research (2007),ShadowOffset,Wolfram 语言函数,https://reference.wolfram.com/language/PlotLegends/ref/ShadowOffset.html.
CMS
Wolfram 语言. 2007. "ShadowOffset." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/ShadowOffset.html.
APA
Wolfram 语言. (2007). ShadowOffset. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/PlotLegends/ref/ShadowOffset.html 年
BibTeX
@misc{reference.wolfram_2026_shadowoffset, author="Wolfram Research", title="{ShadowOffset}", year="2007", howpublished="\url{https://reference.wolfram.com/language/PlotLegends/ref/ShadowOffset.html}", note=[Accessed: 16-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_shadowoffset, organization={Wolfram Research}, title={ShadowOffset}, year={2007}, url={https://reference.wolfram.com/language/PlotLegends/ref/ShadowOffset.html}, note=[Accessed: 16-August-2026]}