CellFrameRoundingRadius
詳細
- 半径指定は次の形式を取りことができる.
-
r r をすべての角に半径として適用する {rx,ry}
方向および
方向で異なる丸め半径を指定する{spec,rules} rules を用いて,特定の角についてデフォルトの指定 spec を上書きする - rules は,特定の角に対して異なる半径を指定するために使用できる.規則の指定は{sidex,sidey}spec の形式を取ることができる.ここで sidexはLeftまたはRightとすることができ,sideyはTopまたはBottomとすることができる.規則は sidespec として指定することもでき,この場合は指定した辺の両方の角の半径が設定される.
- デフォルト値CellFrameRoundingRadius0は,角を丸めないように指定する.
- 任意の角に使用される有効半径は,隣接する各辺の半分の長さに制限される.
例題
すべて開く すべて閉じる例 (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 Language. 2026. "CellFrameRoundingRadius." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellFrameRoundingRadius.html.
APA
Wolfram Language. (2026). CellFrameRoundingRadius. Wolfram Language & System Documentation Center. Retrieved from 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]}