public class Insets extends Object
コンストラクタと説明 |
---|
Insets(double topRightBottomLeft)
すべての4つのオフセットに同じ値を使用した新しいInsetsインスタンスを構築します。
|
Insets(double top, double right, double bottom, double left)
4つの異なるオフセットを使用した新しいInsetsインスタンスを構築します。
|
public static final Insets EMPTY
Insets
インスタンス。public Insets(double top, double right, double bottom, double left)
top
- 上のオフセットright
- 右のオフセットbottom
- 下のオフセットleft
- 左のオフセットpublic Insets(double topRightBottomLeft)
topRightBottomLeft
- 上下左右のオフセットに使用される値public final double getTop()
public final double getRight()
public final double getBottom()
public final double getLeft()
public boolean equals(Object obj)
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.