>>>>> "RD" == Robert D <[EMAIL PROTECTED]> writes:

RD> Controls the policy for grouping nodes.  Once the number of
RD> attributes overridden by a child element is greater than
RD> DEFAULT_MAX_GC_OVERRIDES,a new group is created.  @see
RD> org.apache.batik.svggen.DOMTreeManager

    [...]

RD> Controls the policy for grouping nodes (SVG "<g>" elements?)
RD> but.....what is ment by : Once the number of attributes overridden
RD> by a child element is greater than DEFAULT_MAX_GC_OVERRIDES,a new
RD> group is created.

RD> any help ...would be nice :-)

RD> public static final int DEFAULT_MAX_GC_OVERRIDES = 3;

    If you draw a new item and it requires more than 3 attributes be
set on it then it creates a new group with those attributes and makes
the item a child of the new group (with no attributes set).

    Example: If you set the fill paint you might get:

    <rect fill="blue" ...>

    Example: If you set the stroke paint and set a new Stroke object
             you will likely get:

             <g stroke="red" stroke-width="2" dash-offset="1" 
                dash-array="1 1">

                <rect ...>
             </g>

    Remember that since the Java 2D Graphics class is stateful the
hope is that you will draw lots of objects with this 'large' set of
new attributes.

    Hope this helps...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to