public class Size extends Object
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Modifier and Type | Method and Description |
---|---|
static Size |
create(float leftX,
float rightX,
float bottomY,
float topY)
创建页面尺寸
|
float |
getBottomY()
获取Y轴下坐标
|
float |
getLeftX()
获取X轴左坐标
|
float |
getRightX()
获取X轴右坐标
|
float |
getTopY()
获取Y轴上坐标
|
public static Size create(float leftX, float rightX, float bottomY, float topY)
leftX
- X轴左坐标rightX
- X轴右坐标bottomY
- Y轴下坐标topY
- Y轴上坐标public float getLeftX()
public float getRightX()
public float getBottomY()
public float getTopY()
Copyright © 2024. All rights reserved.