public interface XEasyPdfLine extends XEasyPdfComponent
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| 限定符和类型 | 方法和说明 |
|---|---|
float |
getLineWidth()
获取线条宽度
|
XEasyPdfLine |
setColor(Color color)
设置线条颜色
|
XEasyPdfLine |
setDefaultFontStyle(XEasyPdfDefaultFontStyle style)
设置默认字体样式
|
XEasyPdfLine |
setFontPath(String fontPath)
设置字体路径
|
XEasyPdfLine |
setLineCapStyle(XEasyPdfLineCapStyle lineCapStyle)
设置线条线型
|
XEasyPdfLine |
setLineWidth(float lineWidth)
设置线条宽度
|
XEasyPdfLine |
setMarginLeft(float margin)
设置左边距
|
XEasyPdfLine |
setMarginRight(float margin)
设置右边距
|
draw, enableResetContext, setContentMode, setHeight, setPosition, setWidthXEasyPdfLine setFontPath(String fontPath)
fontPath - 字体路径XEasyPdfLine setDefaultFontStyle(XEasyPdfDefaultFontStyle style)
style - 默认字体样式XEasyPdfLine setMarginLeft(float margin)
margin - 边距XEasyPdfLine setMarginRight(float margin)
margin - 边距XEasyPdfLine setLineWidth(float lineWidth)
lineWidth - 线条宽度XEasyPdfLine setColor(Color color)
color - 线条颜色XEasyPdfLine setLineCapStyle(XEasyPdfLineCapStyle lineCapStyle)
lineCapStyle - 线条线型float getLineWidth()
Copyright © 2023. All rights reserved.