Uses of Class
cloud.opencode.base.pdf.content.PdfImage
Packages that use PdfImage
Package
Description
-
Uses of PdfImage in cloud.opencode.base.pdf
Methods in cloud.opencode.base.pdf with parameters of type PdfImage -
Uses of PdfImage in cloud.opencode.base.pdf.content
Methods in cloud.opencode.base.pdf.content that return PdfImageModifier and TypeMethodDescriptionstatic PdfImagePdfImage.builder()Creates an image builder 创建图像构建器static PdfImagePdfImage.from(byte[] bytes, PdfImage.ImageFormat format) Creates image from byte array 从字节数组创建图像static PdfImageCreates image from file path 从文件路径创建图像PdfImage.opacity(float opacity) Sets opacity 设置不透明度PdfImage.position(float x, float y) Sets position 设置位置PdfImage.rotation(float degrees) Sets rotation 设置旋转PdfImage.scaleToHeight(float height) Scales to fit height (maintains aspect ratio) 缩放以适应高度(保持纵横比)PdfImage.scaleToWidth(float width) Scales to fit width (maintains aspect ratio) 缩放以适应宽度(保持纵横比)PdfImage.size(float width, float height) Sets size 设置大小PdfImage.source(byte[] imageBytes, PdfImage.ImageFormat format) Sets image from bytes 从字节设置图像Sets image from file 从文件设置图像 -
Uses of PdfImage in cloud.opencode.base.pdf.document
Methods in cloud.opencode.base.pdf.document with parameters of type PdfImageModifier and TypeMethodDescriptionAdds a PdfImage element.