W3C home > Mailing lists > Public > www-svg@w3.org > November 2008

need comments on GraphicsNode.getBounds2D()

From: Vitaly Hryb <vitalyhryb@gmail.com>
Date: Tue, 4 Nov 2008 08:37:04 +0100
Message-ID: <b85e62f10811032337o1eb0b5edjd0b6c2c371fcb8f@mail.gmail.com>
To: www-svg@w3.org

I use SVGUtilities.CSS_DISPLAY_PROPERTY + "='none'" to hide text node (I try
it with  "visibility='hidden'" too)
And when I calculate bound with call getBound it returns bounding rectangle
that calculated with the text node coordinates independent visible it or no.
I expect that if text node invisible so it should return bounding rectangle
of others nodes not including text node.
Is it right behavior?

Best regards Vitali.
Received on Tuesday, 4 November 2008 13:31:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:21 UTC