public class SplitLine extends AbstractComponent
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.
| 限定符和类型 | 方法和说明 |
|---|---|
ComponentType |
getType()
获取类型
|
protected void |
init()
初始化
|
protected org.apache.pdfbox.pdmodel.PDPageContentStream |
initContentStream()
初始化内容流
|
void |
render()
渲染
|
protected void |
renderDotted(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float beginX,
float beginY)
渲染虚线
|
protected void |
renderSolid(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float beginX,
float beginY)
渲染实线
|
void |
setFontName(String fontName)
设置字体名称
|
void |
virtualRender()
虚拟渲染
|
checkPaging, checkWrap, close, executeBreak, getBase, getBottom, getPage, initBase, isPaging, isPagingComponent, isWrap, paging, processBreak, reset, resetWrapWidth, resetXY, setBeginX, setBeginX, setBeginY, setBeginY, wrapinit, initFont, setCharacterSpacing, setFontSize, setLeadinginit, initBorder, setBorderColor, setBorderLineLength, setBorderLineSpacing, setBorderWidth, setIsBorderinit, initMargin, initMargin, initMarginWithParam, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopinit, setHorizontalAlignment, setVerticalAlignmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getPagingCondition, getPagingEventspublic SplitLine(Page page)
page - 页面public void setFontName(String fontName)
fontName - 字体名称public ComponentType getType()
public void virtualRender()
public void render()
protected void init()
init 在类中 AbstractComponentprotected org.apache.pdfbox.pdmodel.PDPageContentStream initContentStream()
protected void renderSolid(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float beginX,
float beginY)
stream - 内容流beginX - X轴起始坐标beginY - Y轴起始坐标protected void renderDotted(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float beginX,
float beginY)
stream - 内容流beginX - X轴起始坐标beginY - Y轴起始坐标Copyright © 2024. All rights reserved.