public class XEasyPdfDottedSplitLine extends Object implements XEasyPdfLine
Copyright (c) 2020-2023 xsx All Rights Reserved. x-easypdf 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.
XEasyPdfComponent.ContentMode| 构造器和说明 |
|---|
XEasyPdfDottedSplitLine()
无参构造
|
public XEasyPdfDottedSplitLine setFontPath(String fontPath)
setFontPath 在接口中 XEasyPdfLinefontPath - 字体路径public XEasyPdfDottedSplitLine setDefaultFontStyle(XEasyPdfDefaultFontStyle style)
setDefaultFontStyle 在接口中 XEasyPdfLinestyle - 默认字体样式public XEasyPdfDottedSplitLine setMargin(float margin)
margin - 边距public XEasyPdfDottedSplitLine setMarginLeft(float margin)
setMarginLeft 在接口中 XEasyPdfLinemargin - 边距public XEasyPdfDottedSplitLine setMarginRight(float margin)
setMarginRight 在接口中 XEasyPdfLinemargin - 边距public XEasyPdfDottedSplitLine setMarginTop(float margin)
margin - 边距public XEasyPdfDottedSplitLine setMarginBottom(float margin)
margin - 边距public XEasyPdfDottedSplitLine setLineWidth(float lineWidth)
setLineWidth 在接口中 XEasyPdfLinelineWidth - 分割线宽度public XEasyPdfDottedSplitLine setColor(Color color)
setColor 在接口中 XEasyPdfLinecolor - 分割线颜色public XEasyPdfDottedSplitLine setLineCapStyle(XEasyPdfLineCapStyle lineCapStyle)
setLineCapStyle 在接口中 XEasyPdfLinelineCapStyle - 分割线线型public XEasyPdfDottedSplitLine setLineLength(float lineLength)
lineLength - 点线长度public XEasyPdfDottedSplitLine setLineSpace(float lineSpace)
lineSpace - 点线间隔public XEasyPdfDottedSplitLine setPosition(float beginX, float beginY)
setPosition 在接口中 XEasyPdfComponentbeginX - X轴起始坐标beginY - Y轴起始坐标public XEasyPdfDottedSplitLine setWidth(float width)
setWidth 在接口中 XEasyPdfComponentwidth - 宽度(线长)public XEasyPdfDottedSplitLine setHeight(float height)
setHeight 在接口中 XEasyPdfComponentheight - 高度public XEasyPdfDottedSplitLine setContentMode(XEasyPdfComponent.ContentMode mode)
setContentMode 在接口中 XEasyPdfComponentmode - 内容模式public float getLineWidth()
getLineWidth 在接口中 XEasyPdfLinepublic XEasyPdfDottedSplitLine enableResetContext()
enableResetContext 在接口中 XEasyPdfComponentpublic void draw(XEasyPdfDocument document, XEasyPdfPage page)
draw 在接口中 XEasyPdfComponentdocument - pdf文档page - pdf页面Copyright © 2023. All rights reserved.