-
public interface RectRect接口用于表示任何rect值。 此界面反映了底层样式属性中的值。 因此,对CSSPrimitiveValue对象进行的修改会修改样式属性。- 从以下版本开始:
- 1.4,DOM Level 2
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 CSSPrimitiveValuegetBottom()该属性用于rect的底部。CSSPrimitiveValuegetLeft()该属性用于rect的左侧。CSSPrimitiveValuegetRight()该属性用于rect的右侧。CSSPrimitiveValuegetTop()该属性用于rect的顶部。
-
-
-
方法详细信息
-
getTop
CSSPrimitiveValue getTop()
该属性用于rect的顶部。
-
getRight
CSSPrimitiveValue getRight()
该属性用于rect的右侧。
-
getBottom
CSSPrimitiveValue getBottom()
该属性用于rect的底部。
-
getLeft
CSSPrimitiveValue getLeft()
该属性用于rect的左侧。
-
-