CellFrameRoundingRadius
范例
打开所有单元 关闭所有单元基本范例 (1)
默认情况下,CellFrame 具有方形角:
CellPrint[ExpressionCell[Range[40], "Print", CellFrame -> True]]CellPrint[ExpressionCell[Range[40], "Print", CellFrame -> True, CellFrameRoundingRadius -> 5]]范围 (5)
Table[ExpressionCell[r, CellFrame -> True, CellFrameRoundingRadius -> r], {r, 0, 10, 1}]ExpressionCell[{a, b, c}, CellFrame -> True, CellFrameRoundingRadius -> {3, 6}]ExpressionCell["abc", CellFrame -> True, CellFrameRoundingRadius -> {0, {Left, Top} -> 15, {Right, Bottom} -> 5}]ExpressionCell[{a, b, c}, CellFrame -> True, CellFrameRoundingRadius -> {0, Left -> 5}]ExpressionCell["abc", CellFrame -> True, CellFrameRoundingRadius -> 50]属性和关系 (2)
ExpressionCell["abc", CellFrame -> True, CellFrameRoundingRadius -> 5, Background -> StandardOrange]圆角可以通过 GeometricTransformation 在图形中进行变换:
Graphics[{GeometricTransformation[Inset[ExpressionCell["abcd", Background -> StandardGreen, CellFrame -> 1, CellFrameColor -> StandardBlue, CellFrameRoundingRadius -> 5]], ShearingTransform[Pi / 8, {1, 0}, {0, 1}]]}]可能存在的问题 (3)
ExpressionCell[Graphics[{StandardBlue, Rectangle[]}, ImageSize -> 80], CellFrame -> True, CellFrameRoundingRadius -> 45]ExpressionCell[Graphics[{StandardBlue, Rectangle[]}, ImageSize -> 80], CellFrame -> True, CellFrameRoundingRadius -> 45, CellFrameMargins -> 15]ExpressionCell[Graphics[{StandardBlue, Rectangle[]}, ImageSize -> 80], CellFrame -> True, CellFrameRoundingRadius -> 10]ExpressionCell[Range[5], CellFrame -> {{5, 0}, {1, 6}}]ExpressionCell[Range[5], CellFrame -> {{5, 0}, {1, 6}}, CellFrameRoundingRadius -> 5]当 CellFrame 禁用时,倒角半径无效:
ExpressionCell[Range[5], CellFrame -> False, CellFrameRoundingRadius -> 5]文本
Wolfram Research (2026),CellFrameRoundingRadius,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CellFrameRoundingRadius.html.
CMS
Wolfram 语言. 2026. "CellFrameRoundingRadius." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CellFrameRoundingRadius.html.
APA
Wolfram 语言. (2026). CellFrameRoundingRadius. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CellFrameRoundingRadius.html 年
BibTeX
@misc{reference.wolfram_2026_cellframeroundingradius, author="Wolfram Research", title="{CellFrameRoundingRadius}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/CellFrameRoundingRadius.html}", note=[Accessed: 09-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_cellframeroundingradius, organization={Wolfram Research}, title={CellFrameRoundingRadius}, year={2026}, url={https://reference.wolfram.com/language/ref/CellFrameRoundingRadius.html}, note=[Accessed: 09-August-2026]}