public class BorderInfo extends BorderData
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 | Field and Description |
---|---|
protected Color |
backgroundColor
背景颜色
|
protected Float |
beginX
X轴起始坐标
|
protected Float |
beginY
Y轴起始坐标
|
protected Float |
height
高度
|
protected Boolean |
isAlreadyRendered
是否已经绘制
|
protected Boolean |
isFirstComponent
是否第一个组件
|
protected Boolean |
isPagingBorder
是否分页边框
|
protected Integer |
pagingCount
分页次数
|
protected PagingEvent |
pagingEvent
分页事件
|
protected Float |
width
宽度
|
borderConfiguration
contentMode, context, isResetContentStream, log
Constructor and Description |
---|
BorderInfo(AbstractBase base,
BorderConfiguration configuration,
Color backgroundColor,
float width,
float height,
float beginX,
float beginY,
PagingEvent pagingEvent,
Boolean isPagingBorder)
有参构造
|
Modifier and Type | Method and Description |
---|---|
protected void |
init(AbstractBase base,
BorderConfiguration configuration,
Color backgroundColor,
float width,
float height,
float beginX,
float beginY,
PagingEvent pagingEvent,
Boolean isPagingBorder)
初始化
|
boolean |
isPaging()
是否分页
|
void |
pagingCount()
分页次数累计
|
create, getBorderBottomColor, getBorderDottedSpacing, getBorderLeftColor, getBorderLineCapStyle, getBorderLineLength, getBorderLineStyle, getBorderLineWidth, getBorderRightColor, getBorderTopColor, getIsBorderBottom, getIsBorderLeft, getIsBorderRight, getIsBorderTop, init, setBorderBottomColor, setBorderDottedSpacing, setBorderLeftColor, setBorderLineCapStyle, setBorderLineLength, setBorderLineStyle, setBorderLineWidth, setBorderRightColor, setBorderTopColor, setIsBorder, setIsBorderBottom, setIsBorderLeft, setIsBorderRight, setIsBorderTop
init, init
protected Color backgroundColor
protected Integer pagingCount
protected Float width
protected Float height
protected Float beginX
protected Float beginY
protected PagingEvent pagingEvent
protected Boolean isPagingBorder
protected Boolean isFirstComponent
protected Boolean isAlreadyRendered
public BorderInfo(AbstractBase base, BorderConfiguration configuration, Color backgroundColor, float width, float height, float beginX, float beginY, PagingEvent pagingEvent, Boolean isPagingBorder)
base
- 基础类configuration
- 边框配置backgroundColor
- 背景颜色width
- 宽度height
- 高度beginX
- X轴起始坐标beginY
- Y轴起始坐标pagingEvent
- 分页事件isPagingBorder
- 是否分页边框public void pagingCount()
public boolean isPaging()
protected void init(AbstractBase base, BorderConfiguration configuration, Color backgroundColor, float width, float height, float beginX, float beginY, PagingEvent pagingEvent, Boolean isPagingBorder)
base
- 基础类configuration
- 边框配置backgroundColor
- 背景颜色width
- 宽度height
- 高度beginX
- X轴起始坐标beginY
- Y轴起始坐标pagingEvent
- 分页事件isPagingBorder
- 是否分页边框Copyright © 2024. All rights reserved.