Common DOM API

org.w3c.dom.css
インタフェース Rect


public interface Rect

Rect インタフェースは、任意の Rect 値を表すために使用されます。 このインタフェースは、基盤となるスタイルプロパティの値を反映します。したがって、 CSSPrimitiveValue オブジェクトに変更を加えると、スタイルプロパティ も変更されます。

「Document Object Model (DOM) Level 2 Style Specification」も参照してください。

導入されたバージョン:
DOM Level 2

メソッドの概要
 CSSPrimitiveValue getBottom()
          この属性は、Rect の下端のために使用します。
 CSSPrimitiveValue getLeft()
          この属性は、Rect の左端のために使用します。
 CSSPrimitiveValue getRight()
          この属性は、Rect の右端のために使用します。
 CSSPrimitiveValue getTop()
          この属性は、Rect の上端のために使用します。
 

メソッドの詳細

getTop

public CSSPrimitiveValue getTop()
この属性は、Rect の上端のために使用します。


getRight

public CSSPrimitiveValue getRight()
この属性は、Rect の右端のために使用します。


getBottom

public CSSPrimitiveValue getBottom()
この属性は、Rect の下端のために使用します。


getLeft

public CSSPrimitiveValue getLeft()
この属性は、Rect の左端のために使用します。


Common DOM API

バグや機能要求の報告
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.