public static Transform getInstance ( Element e , String initial ) { Transform t = GQuery . data ( e , TRANSFORM ) ; if ( t == null || initial != null ) { if ( initial == null ) { initial = GQuery . getSelectorEngine ( ) . getDocumentStyleImpl ( ) . curCSS ( e , transform , false ) ; } t = new Transform ( initial ) ; GQuery . data ( e , TRANSFORM , t ) ; } return t ; }
Return the Transform dictionary object of an element but reseting historical values and setting them to the initial value passed .