public class CornerRadii extends Object
| 修飾子と型 | フィールドと説明 |
|---|---|
static CornerRadii |
EMPTY
直角の角を示す、完全に空のCornerRadii。
|
| コンストラクタと説明 |
|---|
CornerRadii(double radius)
すべての隅のすべてのコンポーネントに対して1つの均一の半径値を使用した新しいCornerRadiiを作成します。
|
CornerRadii(double radius, boolean asPercent)
各隅に対して指定された半径を使用した新しいCornerRadiiを作成します。
|
CornerRadii(double topLeft, double topRight, double bottomRight, double bottomLeft, boolean asPercent)
各隅に対して均一であるが独立している半径を使用した新しいCornerRadiiを作成します。
|
CornerRadii(double topLeftHorizontalRadius, double topLeftVerticalRadius, double topRightVerticalRadius, double topRightHorizontalRadius, double bottomRightHorizontalRadius, double bottomRightVerticalRadius, double bottomLeftVerticalRadius, double bottomLeftHorizontalRadius, boolean topLeftHorizontalRadiusAsPercent, boolean topLeftVerticalRadiusAsPercent, boolean topRightVerticalRadiusAsPercent, boolean topRightHorizontalRadiusAsPercent, boolean bottomRightHorizontalRadiusAsPercent, boolean bottomRightVerticalRadiusAsPercent, boolean bottomLeftVerticalRadiusAsPercent, boolean bottomLeftHorizontalRadiusAsPercent)
各隅の半径の各コンポーネントおよび各コンポーネントを値またはパーセンテージとして処理するかどうかを指定できる新しいCornerRadiiを作成します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean |
equals(Object o) |
double |
getBottomLeftHorizontalRadius()
左下隅の水平方向の半径の長さ。
|
double |
getBottomLeftVerticalRadius()
左下隅の垂直方向の半径の長さ。
|
double |
getBottomRightHorizontalRadius()
右下隅の水平方向の半径の長さ。
|
double |
getBottomRightVerticalRadius()
右下隅の垂直方向の半径の長さ。
|
double |
getTopLeftHorizontalRadius()
左上隅の水平方向の半径の長さ。
|
double |
getTopLeftVerticalRadius()
左上隅の垂直方向の半径の長さ。
|
double |
getTopRightHorizontalRadius()
右上隅の水平方向の半径の長さ。
|
double |
getTopRightVerticalRadius()
右上隅の垂直方向の半径の長さ。
|
int |
hashCode() |
boolean |
isBottomLeftHorizontalRadiusAsPercentage()
bottomLeftHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isBottomLeftVerticalRadiusAsPercentage()
bottomLeftVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isBottomRightHorizontalRadiusAsPercentage()
bottomRightHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isBottomRightVerticalRadiusAsPercentage()
bottomRightVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isTopLeftHorizontalRadiusAsPercentage()
topLeftHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isTopLeftVerticalRadiusAsPercentage()
topLeftVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isTopRightHorizontalRadiusAsPercentage()
topRightHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isTopRightVerticalRadiusAsPercentage()
topRightVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。 |
boolean |
isUniform()
各隅の半径がまったく同じであるかどうか、および各隅が一貫してパーセントベースであるかどうかを示します。
|
String |
toString() |
public static final CornerRadii EMPTY
public CornerRadii(double radius)
radius - 各隅の半径。 負数は使用できません。 public CornerRadii(double radius,
boolean asPercent)
asPercent引数に基づいて決まります。 radius - 各隅の半径。 負数は使用できません。 asPercent - 半径をパーセントとして解釈するかどうか。public CornerRadii(double topLeft,
double topRight,
double bottomRight,
double bottomLeft,
boolean asPercent)
topLeft - 左上隅の半径。 負数は使用できません。 topRight - 右上隅の半径。 負数は使用できません。 bottomRight - 右下隅の半径。 負数は使用できません。 bottomLeft - 左下隅の半径。 負数は使用できません。 asPercent - 4つの半径すべてを値またはパーセントのいずれとみなすか。public CornerRadii(double topLeftHorizontalRadius,
double topLeftVerticalRadius,
double topRightVerticalRadius,
double topRightHorizontalRadius,
double bottomRightHorizontalRadius,
double bottomRightVerticalRadius,
double bottomLeftVerticalRadius,
double bottomLeftHorizontalRadius,
boolean topLeftHorizontalRadiusAsPercent,
boolean topLeftVerticalRadiusAsPercent,
boolean topRightVerticalRadiusAsPercent,
boolean topRightHorizontalRadiusAsPercent,
boolean bottomRightHorizontalRadiusAsPercent,
boolean bottomRightVerticalRadiusAsPercent,
boolean bottomLeftVerticalRadiusAsPercent,
boolean bottomLeftHorizontalRadiusAsPercent)
topLeftHorizontalRadius - topLeftVerticalRadius - topRightVerticalRadius - topRightHorizontalRadius - bottomRightHorizontalRadius - bottomRightVerticalRadius - bottomLeftVerticalRadius - bottomLeftHorizontalRadius - topLeftHorizontalRadiusAsPercent - topLeftVerticalRadiusAsPercent - topRightVerticalRadiusAsPercent - topRightHorizontalRadiusAsPercent - bottomRightHorizontalRadiusAsPercent - bottomRightVerticalRadiusAsPercent - bottomLeftVerticalRadiusAsPercent - bottomLeftHorizontalRadiusAsPercent - public final double getTopLeftHorizontalRadius()
public final double getTopLeftVerticalRadius()
public final double getTopRightVerticalRadius()
public final double getTopRightHorizontalRadius()
public final double getBottomRightHorizontalRadius()
public final double getBottomRightVerticalRadius()
public final double getBottomLeftVerticalRadius()
public final double getBottomLeftHorizontalRadius()
public final boolean isTopLeftHorizontalRadiusAsPercentage()
topLeftHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isTopLeftVerticalRadiusAsPercentage()
topLeftVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isTopRightVerticalRadiusAsPercentage()
topRightVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isTopRightHorizontalRadiusAsPercentage()
topRightHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isBottomRightHorizontalRadiusAsPercentage()
bottomRightHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isBottomRightVerticalRadiusAsPercentage()
bottomRightVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isBottomLeftVerticalRadiusAsPercentage()
bottomLeftVerticalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isBottomLeftHorizontalRadiusAsPercentage()
bottomLeftHorizontalRadiusが値またはパーセントのいずれとして解釈されるかを示します。public final boolean isUniform()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.