Class SVGAnimatedRotateCenterTest

    • Field Detail

      • viewCenter

        private float viewCenter
      • shapeCenter

        private float shapeCenter
      • animDur

        private float animDur
      • cx

        private float cx
      • cy

        private float cy
      • angle

        private float angle
    • Constructor Detail

      • SVGAnimatedRotateCenterTest

        public SVGAnimatedRotateCenterTest()
    • Method Detail

      • setViewCenter

        public void setViewCenter​(float viewCenter)
      • setShapeCenter

        public void setShapeCenter​(float shapeCenter)
      • setAnimDur

        public void setAnimDur​(float dur)
      • buildRefImgURL

        protected java.lang.String buildRefImgURL​(java.lang.String svgDir,
                                                  java.lang.String svgFile)
        Description copied from class: ParametrizedRenderingAccuracyTest
        Gives a chance to the subclass to control the construction of the reference PNG file from the svgFile name The refImgURL is built as: getRefImagePrefix() + svgDir + getRefImageSuffix() + svgFile
        Overrides:
        buildRefImgURL in class ParametrizedRenderingAccuracyTest
      • manipulateSVGDocument

        protected org.w3c.dom.Document manipulateSVGDocument​(org.w3c.dom.Document doc)
        Description copied from class: SVGRenderingAccuracyTest
        Template method which subclasses can override if they need to manipulate the DOM in some way before running the accuracy test. For example, this can be useful to test the alternate stylesheet support.
        Overrides:
        manipulateSVGDocument in class SVGRenderingAccuracyTest
      • getElement

        private static org.w3c.dom.Element getElement​(org.w3c.dom.Element container,
                                                      java.lang.String name,
                                                      int index)