hrule (テキストプロシージャ)
{hrule ...}:Rule
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.TEXT-FORMATS.

水平方向の罫線を作成します。

説明

これは、ページ内のセクションを区切るのに適しています。hrule を、center 呼び出し内に配置して中央揃えにすることができます。内部的には、hrule は伸長性を持った Frame です。

戻り値

Rule
このオブジェクトは Visual を受け入れられるものであれば追加することができます。


{spaced-vbox
    width=5in,
    height=2in,
    background="silver",
    {paragraph The following is a red {monospace hrule}},
    {hrule color="red"},

    {paragraph The following is an {monospace hrule} that has
        its height option set.},
    {hrule height=4pt},

    {paragraph The following is an {monospace hrule} that has
        its width, height, and color options set.},
    {hrule width=1in, height=4pt, color="yellow"},

    {paragraph The following is a centered {monospace hrule} that has
        its width, height, and color options set.},
    {center {hrule width=1in, height=4pt, color="blue"}}
}

注意事項

このオブジェクトは、"hrule"のスタイル ルールを記述することでスタイル化することが出来ます。