From: Emden Gansner Date: Thu, 26 Jan 2012 17:56:36 +0000 (-0500) Subject: Change HTML label documentation to describe gradient fill. X-Git-Tag: LAST_LIBGRAPH~32^2~541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07a1a8899005533f70205b429480ba2049ace950;p=graphviz Change HTML label documentation to describe gradient fill. --- diff --git a/doc/info/shapes.html b/doc/info/shapes.html index c35b08587..96b6c9bb7 100644 --- a/doc/info/shapes.html +++ b/doc/info/shapes.html @@ -514,12 +514,13 @@ Attribute values must appear in double quotes. COLOR="color" COLUMNS="value" FIXEDSIZE="FALSE|TRUE" + GRADIENTANGLE="value" HEIGHT="value" HREF="value" ID="value" PORT="portName" ROWS="value" - STYLE="ROUNDED" + STYLE="value" TARGET="value" TITLE="value" TOOLTIP="value" @@ -545,11 +546,13 @@ Attribute values must appear in double quotes. COLOR="color" COLSPAN="value" FIXEDSIZE="FALSE|TRUE" + GRADIENTANGLE="value" HEIGHT="value" HREF="value" ID="value" PORT="portName" ROWSPAN="value" + STYLE="value" TARGET="value" TITLE="value" TOOLTIP="value" @@ -662,6 +665,8 @@ by the value of BALIGN.
sets the color of the background. This color can be overridden by a BGCOLOR attribute in descendents. +The value can be a single color or two colors separated by a colon, the +latter indicating a gradient fill.
BORDER="value" @@ -749,6 +754,19 @@ Both of these attributes must be supplied. +GRADIENTANGLE="value" +
+gives the angle used in a gradient fill if the +BGCOLOR is a color list. For the default linear gradient, +this specifies +the angle of a line through the center along which the colors transform. +Thus, an angle of 0 will cause a left-to-right progression. +For radial gradients (see STYLE), the angle specifies the position +of the center of the coloring. An angle of 0 places the center at the center of the +table or cell; an non-zero angle places the fill center along that angle near the +boundary. +
+ HEIGHT="value"
specifies the mininum height, in points, of the object. The height @@ -841,12 +859,17 @@ and SERVER_NAME.

STYLE

-specifies style characteristics of the table. At present, the only -legal value is "ROUNDED", which causes the table to have rounded corners. +specifies style characteristics of the table or cell. Style characteristics are +given as a comma or space separated list of style attributes. At present, the only +legal attributes are "ROUNDED" and "RADIAL" for tables, and "RADIAL" for cells. +If "ROUNDED" is specified, the table will have rounded corners. This probably works best if the outmost cells have no borders, or their CELLSPACING is sufficiently large. If it is desirable to have borders around the cells, use HR and VR elements, or the COLUMNS and ROWS attributes of TABLE. +

+The "RADIAL" attribute indicates a radial gradient fill. See the BGCOLOR and +GRADIENTANGLE attributes.

TARGET="value" diff --git a/doc/infosrc/html.2 b/doc/infosrc/html.2 index d34c22ac1..9d72896f8 100644 --- a/doc/infosrc/html.2 +++ b/doc/infosrc/html.2 @@ -34,12 +34,13 @@ Attribute values must appear in double quotes. COLOR="color" COLUMNS="value" FIXEDSIZE="FALSE|TRUE" + GRADIENTANGLE="value" HEIGHT="value" HREF="value" ID="value" PORT="portName" ROWS="value" - STYLE="ROUNDED" + STYLE="value" TARGET="value" TITLE="value" TOOLTIP="value" @@ -65,11 +66,13 @@ Attribute values must appear in double quotes. COLOR="color" COLSPAN="value" FIXEDSIZE="FALSE|TRUE" + GRADIENTANGLE="value" HEIGHT="value" HREF="value" ID="value" PORT="portName" ROWSPAN="value" + STYLE="value" TARGET="value" TITLE="value" TOOLTIP="value" @@ -182,6 +185,8 @@ by the value of BALIGN.
sets the color of the background. This color can be overridden by a BGCOLOR attribute in descendents. +The value can be a single color or two colors separated by a colon, the +latter indicating a gradient fill.
BORDER="value" @@ -269,6 +274,19 @@ Both of these attributes must be supplied.
+GRADIENTANGLE="value" +
+gives the angle used in a gradient fill if the +BGCOLOR is a color list. For the default linear gradient, +this specifies +the angle of a line through the center along which the colors transform. +Thus, an angle of 0 will cause a left-to-right progression. +For radial gradients (see STYLE), the angle specifies the position +of the center of the coloring. An angle of 0 places the center at the center of the +table or cell; an non-zero angle places the fill center along that angle near the +boundary. +
+ HEIGHT="value"
specifies the mininum height, in points, of the object. The height @@ -361,12 +379,17 @@ and SERVER_NAME.

STYLE

-specifies style characteristics of the table. At present, the only -legal value is "ROUNDED", which causes the table to have rounded corners. +specifies style characteristics of the table or cell. Style characteristics are +given as a comma or space separated list of style attributes. At present, the only +legal attributes are "ROUNDED" and "RADIAL" for tables, and "RADIAL" for cells. +If "ROUNDED" is specified, the table will have rounded corners. This probably works best if the outmost cells have no borders, or their CELLSPACING is sufficiently large. If it is desirable to have borders around the cells, use HR and VR elements, or the COLUMNS and ROWS attributes of TABLE. +

+The "RADIAL" attribute indicates a radial gradient fill. See the BGCOLOR and +GRADIENTANGLE attributes.

TARGET="value"