跳过导航链接
A C D F G H M N O P R S T 

A

addAttachment(Path) - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
向文档中添加附件文件 如果名称相同原有附件将会被替换
addAttachment(CT_Attachment, InputStream) - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
向文档中添加附件文件 如果已经存在同名文件则替换
addDrawParam(CT_DrawParam) - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
添加绘制参数至资源文件中
addRawWithCache(OFDElement) - 类 中的方法org.ofdrw.graphics2d.ResManager
直接向资源列表中加入资源对象 加入资源时将优先检查缓存是否存在完全一致的资源,如果存在则复用对象。
addRenderingHints(Map<?, ?>) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
添加绘制器参数(为了兼容接口,无实际用途)
addResImg(Image) - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
添加图片资源
apply(CT_GraphicUnit<?>) - 类 中的方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
attachments - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
附件列表 null表示没有附件

C

cdata - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
文档属性信息,该对象会在初始化是被创建并且添加到文档中 此处只是保留引用,为了方便操作。
clearRect(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用背景色填充矩形区域
clip(Shape) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置裁剪区域 若已经存在裁剪区域,那么新的裁剪区域与旧的裁剪区域取交集。
clipRect(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置矩形裁剪区域
clone() - 类 中的方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
复制绘制参数对象
close() - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
 
copyArea(int, int, int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
复制矩形区域
create() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
复制当前绘制上下文为新的上下文
createCompatibleVolatileImage(int, int, ImageCapabilities, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
创建图片合成方式

D

dispose() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
销毁绘制上下文
docDir - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
正在操作的文档目录
docRes() - 类 中的方法org.ofdrw.graphics2d.ResManager
文档资源清单 与文档相关的资源:图片、视频等
document - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
OFD文档对象
draw(Shape) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绘制图形
drawArc(int, int, int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在矩形区域内绘制圆弧 注意:0度位于时钟3点钟位置,正数角度表示顺时针旋转,负数为逆时针,圆形位于矩形中心。
drawGlyphVector(GlyphVector, float, float) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在指定位置上绘制绘制图形路径数据, 图形的绘制将绘制将受到画笔参数(Paint) 、被裁剪矩阵(clip)、变换矩阵影响(CTM)。
drawImage(Image, int, int, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在指定坐标位置上绘制图片 绘制的图片大小为图元原始大小
drawImage(Image, int, int, int, int, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
将图片绘制于指定矩形区域内
drawImage(Image, int, int, Color, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在指定位置绘制图片 图片保持原有大小,图片的透明部分将会使用指定颜色填充
drawImage(Image, int, int, int, int, Color, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在指定矩形区域内绘制图片 图片将伸缩至矩形区域大小,图片的透明部分将会使用指定颜色填充
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绘制图片内某个矩形区域 到 画布的某个指定矩形区域,图片将会缩放适应目标区域
drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绘制图片内某个矩形区域 到 画布的某个指定矩形区域 图片将会缩放适应目标区域,图片的透明部分将会使用指定颜色填充
drawImage(Image, AffineTransform, ImageObserver) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
通过变换矩阵在指定位置绘制图像
drawImage(BufferedImage, BufferedImageOp, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在画布指定位置绘制图像,在绘制前将会使用 BufferedImageOp 过滤图像 等价于 img1 = op.filter(img, null); drawImage(img1, new AffineTransform(1f,0f,0f,1f,x,y), null);
drawLine(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
画线
drawOval(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用当前颜色在矩形区域内描边椭圆形
drawPolygon(int[], int[], int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用当前颜色和描边属性描边多边形
drawPolyline(int[], int[], int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绘制折线 注意绘制的折线是一个不闭合的图形
drawRect(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
描边矩形
drawRenderableImage(RenderableImage, AffineTransform) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
通过变换矩阵在指定位置绘制图像
drawRenderedImage(RenderedImage, AffineTransform) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
通过变换矩阵在指定位置绘制图像
drawRoundRect(int, int, int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绘制圆角矩形
drawString(String, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用当前的 字体(Font) 以及 画笔参数(Paint) 在指定位置上绘制文字 文字将转换为图形路径绘制填充在OFD页面上 第一个文字的基线坐标为传入的(x,y)参数位置。
drawString(String, float, float) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用当前的 字体(Font) 以及 画笔参数(Paint) 在指定位置上绘制文字 文字将转换为图形路径绘制填充在OFD页面上 第一个文字的基线坐标为传入的(x,y)参数位置。
drawString(AttributedCharacterIterator, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用迭代器绘制文字图形 文字图形的绘制将绘制将受到画笔参数(Paint) 、被裁剪矩阵(clip)、变换矩阵影响(CTM)。
drawString(AttributedCharacterIterator, float, float) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用迭代器绘制文字图形 文字图形的绘制将绘制将受到画笔参数(Paint) 、被裁剪矩阵(clip)、变换矩阵影响(CTM)。

F

fill(Shape) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
填充图形
fillArc(int, int, int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
在矩形区域内填充扇形 注意:0度位于时钟3点钟位置,正数角度表示顺时针旋转,负数为逆时针,圆形位于矩形中心。
fillOval(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用当前颜色在矩形区域内填充椭圆形
fillPolygon(int[], int[], int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
使用当前颜色填充多边形
fillRect(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
填充矩形区域
fillRoundRect(int, int, int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
填充圆角矩形

G

getBackground() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取背景颜色
getBounds() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
获取绘制区域边界大小
getClip() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取裁剪区域
getClipBounds() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取裁剪区域的外接矩形大小
getColor() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
返回前景色
getColorModel() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
获取颜色模式
getColorModel(int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
获取指定透明类型的颜色模式
getComposite() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取像素合成模式 该属性只是为了兼容AWT接口保留,并无实际用途。
getConfigurations() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsDevice
获取所有关于设备的配置信息
getDefaultConfiguration() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsDevice
获取默认配置信息
getDefaultTransform() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
获取默认的变换矩阵
getDevice() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
获取该配置信息所关联的图形设备对象
getDeviceConfiguration() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取设备图形配置对象
getFont() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取当前字体
getFontMetrics(Font) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取特定字体的字体规格
getFontRenderContext() - 类 中的方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
获取字体绘制上下文 字体绘制上线文使用hit中的绘制参数进行控制 code from apache batik: org.apache.batik.ext.awt.g2d.AbstractGraphics2D#getFontRenderContext
getFontRenderContext() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取绘制上下文中的字体绘制上下文
getIDstring() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsDevice
获取设备ID
getNormalizingTransform() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
获取归一化变换矩阵
getPaint() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取绘制参数
getRenderingHint(RenderingHints.Key) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取绘制器参数值(为了兼容接口,无实际用途)
getRenderingHints() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取当前绘制器参数信息(为了兼容接口,无实际用途)
getStroke() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
获取描边属性
getTransform() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
返回当前的变换矩阵
getType() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphicsDevice
获取设备类型

H

hit(Rectangle, Shape, boolean) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
检查在设备空间内容 指定的矩形区域是否与 指定形状存在交集。

M

MaxUnitID - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
当前文档中所有对象使用标识的最大值。

N

newID() - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
生成新的文档内对象ID
newPage(double, double) - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
创建页面,单位毫米
newPage(CT_PageArea) - 类 中的方法org.ofdrw.graphics2d.OFDGraphicsDocument
创建新页面,返回该页面2D图形对象

O

ofdDir - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
OFD 打包
OFDGraphics2DDrawParam - org.ofdrw.graphics2d中的类
绘制参数上下文
OFDGraphics2DDrawParam(OFDGraphicsDocument, ST_Box) - 类 的构造器org.ofdrw.graphics2d.OFDGraphics2DDrawParam
创建绘制参数
OFDGraphics2DDrawParam(OFDGraphicsDocument) - 类 的构造器org.ofdrw.graphics2d.OFDGraphics2DDrawParam
OFDGraphicsDocument - org.ofdrw.graphics2d中的类
图形OFD文档对象
OFDGraphicsDocument(Path) - 类 的构造器org.ofdrw.graphics2d.OFDGraphicsDocument
在指定路径位置上创建一个OFD文件
OFDGraphicsDocument(OutputStream) - 类 的构造器org.ofdrw.graphics2d.OFDGraphicsDocument
在指定路径位置上创建一个OFD文件流
OFDPageGraphics2D - org.ofdrw.graphics2d中的类
OFD 2D图形,实现AWT Graphics2D API。
OFDPageGraphicsConfiguration - org.ofdrw.graphics2d中的类
OFD页面图形配置
OFDPageGraphicsConfiguration(double, double) - 类 的构造器org.ofdrw.graphics2d.OFDPageGraphicsConfiguration
OFD页面图形配置对象
OFDPageGraphicsDevice - org.ofdrw.graphics2d中的类
OFD页面图形虚拟设备
OFDPageGraphicsDevice(GraphicsConfiguration) - 类 的构造器org.ofdrw.graphics2d.OFDPageGraphicsDevice
创建OFD页面图形虚拟设备
OFDShapes - org.ofdrw.graphics2d中的类
AWT路径转换工具 将AWT的 Shape 转换为OFD的路径绘制数据 AbbreviatedData
OFDShapes() - 类 的构造器org.ofdrw.graphics2d.OFDShapes
 
org.ofdrw.graphics2d - 程序包 org.ofdrw.graphics2d
 

P

pageID - 类 中的变量org.ofdrw.graphics2d.OFDPageGraphics2D
页面在页树中的对象ID
path(Shape) - 类 中的静态方法org.ofdrw.graphics2d.OFDShapes
转换 Java的图形对象为OFD路径对象
pubRes() - 类 中的方法org.ofdrw.graphics2d.ResManager
获取公共资源清单 如: 图形、字体等需要共用的资源

R

ResManager - org.ofdrw.graphics2d中的类
公共资源管理器 管理待加入文档中所有资源
ResManager(DocDir, AtomicInteger) - 类 的构造器org.ofdrw.graphics2d.ResManager
创建资源管理
resMgr - 类 中的变量org.ofdrw.graphics2d.OFDGraphicsDocument
资源管理器
rotate(double) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绕原点旋转画布
rotate(double, double, double) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
绕指定点旋转画布 等价于 translate(x, y); rotate(theta); translate(-x, -y);
roundRect(int, int, int, int, int, int) - 类 中的静态方法org.ofdrw.graphics2d.OFDShapes
创建圆角矩形

S

scale(double, double) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
坐标缩放
setBackground(Color) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置背景颜色
setClip(int, int, int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置矩形裁剪区域 若已经存在裁剪区域那么旧的裁剪区域将会被新的裁剪区域覆盖
setClip(Shape) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置裁剪区域 若已经存在裁剪区域那么旧的裁剪区域将会被新的裁剪区域覆盖
setColor(Paint) - 类 中的方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
设置颜色
setColor(Color) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置前景色
setComposite(Composite) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置像素合成模式 该方法原用于在设备绘制图像时,当前绘制的像素与原位置上已经存在的像素颜色的合成方式。
setFont(Font) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置绘图上下文的字体
setForeground(Color) - 类 中的方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
设置前景色
setPaint(Paint) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置绘制参数
setPaintMode() - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
setPaintMode 不实现
setRenderingHint(RenderingHints.Key, Object) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置绘制器参数
setRenderingHints(Map<?, ?>) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
替换绘制器参数(为了兼容接口,无实际用途)
setStroke(Stroke) - 类 中的方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
设置描边属性
setStroke(Stroke) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置描边属性
setTransform(AffineTransform) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
设置变换矩阵
setXORMode(Color) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
setXORMode 不实现
shear(double, double) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
切变

T

trans(AffineTransform) - 类 中的静态方法org.ofdrw.graphics2d.OFDGraphics2DDrawParam
转为AWT变换矩阵 AffineTransform 为 OFD 类型变换矩阵ST_Array
trans(AffineTransform) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
转为AWT变换矩阵 AffineTransform 为 OFD 类型变换矩阵ST_Array
transform(AffineTransform) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
图形变换
translate(int, int) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
平移原点坐标
translate(double, double) - 类 中的方法org.ofdrw.graphics2d.OFDPageGraphics2D
平移原点
A C D F G H M N O P R S T 
跳过导航链接

Copyright © 2025. All rights reserved.