public class XEasyPdfTemplateBarcodeImageHandler extends Object implements org.apache.fop.render.ImageHandler
Copyright (c) 2020-2023 xsx All Rights Reserved. gitee is licensed under the 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.
| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.xmlgraphics.image.loader.ImageFlavor |
IMAGE_FLAVOR
图像类型
|
static org.apache.xmlgraphics.image.loader.ImageFlavor[] |
IMAGE_FLAVORS
图像类型数组
|
static String |
IMAGE_TYPE
图像类型
|
static String |
MIME_TYPE
mime类型
|
| 构造器和说明 |
|---|
XEasyPdfTemplateBarcodeImageHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getPriority()
获取优先级
|
Class<BufferedImage> |
getSupportedImageClass()
获取支持的图像类
|
org.apache.xmlgraphics.image.loader.ImageFlavor[] |
getSupportedImageFlavors()
获取支持的图像类型
|
void |
handleImage(org.apache.fop.render.RenderingContext context,
org.apache.xmlgraphics.image.loader.Image image,
Rectangle pos)
处理图像
|
boolean |
isCompatible(org.apache.fop.render.RenderingContext targetContext,
org.apache.xmlgraphics.image.loader.Image image)
是否兼容
|
public static final org.apache.xmlgraphics.image.loader.ImageFlavor IMAGE_FLAVOR
public static final org.apache.xmlgraphics.image.loader.ImageFlavor[] IMAGE_FLAVORS
public boolean isCompatible(org.apache.fop.render.RenderingContext targetContext,
org.apache.xmlgraphics.image.loader.Image image)
isCompatible 在接口中 org.apache.fop.render.ImageHandlertargetContext - 上下文image - 图像public void handleImage(org.apache.fop.render.RenderingContext context,
org.apache.xmlgraphics.image.loader.Image image,
Rectangle pos)
handleImage 在接口中 org.apache.fop.render.ImageHandlercontext - 上下文image - 图像pos - 尺寸public int getPriority()
getPriority 在接口中 org.apache.fop.render.ImageHandlerBasepublic org.apache.xmlgraphics.image.loader.ImageFlavor[] getSupportedImageFlavors()
getSupportedImageFlavors 在接口中 org.apache.fop.render.ImageHandlerBasepublic Class<BufferedImage> getSupportedImageClass()
getSupportedImageClass 在接口中 org.apache.fop.render.ImageHandlerBaseCopyright © 2023. All rights reserved.