* order top, right, bottom, left.
*
* @param e the element with the 'clip' property
*/
public static float[] convertClip(Element e) {
CSSOMReadOnlyStyleDeclaration decl = getComputedStyle(e);
CSSPrimitiveValue clip =
(CSSPrimitiveValue)decl.getPropertyCSSValueInternal
(CSS_CLIP_PROPERTY);
switch (clip.getPrimitiveType()) {
case CSSPrimitiveValue.CSS_RECT:
float [] off = new float[4];
Rect r = clip.getRectValue();