float y = new Float( yAsString ).floatValue(); _asPoint = new Point(); _asPoint.setLocation( x, y );
_bgPosYValue = new Float( yAsString ).floatValue(); _bgPosYType = ValueConstants.sacPrimitiveTypeForString( m.group( 3 ) );  if ( ValueConstants.isAbsoluteUnit( _bgPosXType ) && ValueConstants.isAbsoluteUnit( _bgPosYType ) ) { _bgPosIsAbsolute = true; } else { _bgPosIsAbsolute = false; }
    private void pullPointValuesForBGPos( CSSPrimitiveValue primitive ) {        String cssText = primitive.getCssText();        String[] pos = cssText.split( " " );        try {            Matcher m = CSS_LENGTH_PATTERN.matcher( pos[0] );            m.matches();            String xAsString = m.group( 1 );            float x = new Float( xAsString ).floatValue();            m = CSS_LENGTH_PATTERN.matcher( pos[1] );            m.matches();            String yAsString = m.group( 1 );            float y = new Float( yAsString ).floatValue();            _asPoint = new Point();            _asPoint.setLocation( x, y );        } catch ( Exception ex ) {            StringBuffer msg = new StringBuffer();            msg.append( "background-position: failed to convert '" + cssText + "' into a Point. " );            msg.append( "Property value (as text) was split into " + pos.length + " values for positioning. " );            if ( pos.length >= 1 ) {                msg.append( " background-position x-pos is " + pos[0] );            }            if ( pos.length == 2 ) {                msg.append( " background-position y-pos is " + pos[1] );            }            throw new XRRuntimeException( msg.toString() );        }    }