-  
       
public interface RectRect接口用于表示任何rect值。 此接口反映基础样式属性中的值。 因此,对CSSPrimitiveValue对象所做的修改会修改样式属性。- 从以下版本开始:
 - 1.4,DOM Level 2
 
 
-  
        
       
-  
             
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 CSSPrimitiveValuegetBottom()此属性用于rect的底部。CSSPrimitiveValuegetLeft()该属性用于rect的左侧。CSSPrimitiveValuegetRight()此属性用于rect的右侧。CSSPrimitiveValuegetTop()此属性用于rect的顶部。 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
getTop
CSSPrimitiveValue getTop()
此属性用于rect的顶部。 
-  
getRight
CSSPrimitiveValue getRight()
此属性用于rect的右侧。 
-  
getBottom
CSSPrimitiveValue getBottom()
此属性用于rect的底部。 
-  
getLeft
CSSPrimitiveValue getLeft()
该属性用于rect的左侧。 
 -  
 
 -