| 限定符和类型 | 方法和说明 |
|---|---|
CoordinatePoint |
calculate(int enclosingWidth,
int enclosingHeight,
int elementWidth,
int elementHeight,
Margin margin)
计算位置
|
static RelativePosition |
of(Position position) |
static RelativePosition |
of(Position position,
Margin margin) |
public static RelativePosition of(Position position)
public static RelativePosition of(Position position, Margin margin)
public CoordinatePoint calculate(int enclosingWidth, int enclosingHeight, int elementWidth, int elementHeight, Margin margin)
PositionCopyright © 2025. All rights reserved.