public class BorderUtil 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.
| 构造器和说明 |
|---|
BorderUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
drawBorderWithData(BorderData data,
org.apache.pdfbox.pdmodel.common.PDRectangle rectangle)
绘制边框(根据边框数据)
|
static void |
drawNormalBorder(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
org.apache.pdfbox.pdmodel.common.PDRectangle rectangle,
BorderData data)
绘制常规边框
|
public static void drawBorderWithData(BorderData data, org.apache.pdfbox.pdmodel.common.PDRectangle rectangle)
data - 边框数据rectangle - 尺寸public static void drawNormalBorder(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
org.apache.pdfbox.pdmodel.common.PDRectangle rectangle,
BorderData data)
stream - pdfbox内容流rectangle - pdfbox尺寸data - 边框数据Copyright © 2024. All rights reserved.