⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ppgraphics2d.java

📁 java 读写word excel ppt
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    public void drawString(String str, int x, int y) {        throw new HSLFException("Not implemented");    }    public void fillOval(int x, int y, int width, int height) {        throw new HSLFException("Not implemented");    }    public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) {        throw new HSLFException("Not implemented");    }    public void fillArc(int x, int y, int width, int height,                        int startAngle, int arcAngle) {        throw new HSLFException("Not implemented");    }    public void setPaintMode() {        throw new HSLFException("Not implemented");    }    public void drawArc(int x, int y, int width, int height,                        int startAngle, int arcAngle) {        throw new HSLFException("Not implemented");    }    public void drawPolyline(int xPoints[], int yPoints[],                             int nPoints) {        throw new HSLFException("Not implemented");    }    public Graphics create() {        throw new HSLFException("Not implemented");    }    public void drawOval(int x, int y, int width, int height) {        AutoShape ellipse = new AutoShape(ShapeTypes.Ellipse);        ellipse.setAnchor(new java.awt.Rectangle(x-width/2, y-height/2, width, height));        if (stroke instanceof BasicStroke){            BasicStroke bs = (BasicStroke)stroke;            ellipse.setLineWidth(bs.getLineWidth());        }        if(getColor() != null) ellipse.setLineColor(getColor());        if (paint instanceof Color){            Color color = (Color)paint;            ellipse.setFillColor(color);        }        group.addShape(ellipse);    }    public void setXORMode(Color color1) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image img, int x, int y,                             Color bgcolor,                             ImageObserver observer) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image img, int x, int y,                             int width, int height,                             Color bgcolor,                             ImageObserver observer) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image img,                             int dx1, int dy1, int dx2, int dy2,                             int sx1, int sy1, int sx2, int sy2,                             ImageObserver observer) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image img,                             int dx1, int dy1, int dx2, int dy2,                             int sx1, int sy1, int sx2, int sy2,                             Color bgcolor,                             ImageObserver observer) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image img, int x, int y,                             ImageObserver observer) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image img, int x, int y,                             int width, int height,                             ImageObserver observer) {        throw new HSLFException("Not implemented");    }    public void dispose() {        throw new HSLFException("Not implemented");    }    public void drawLine(int x1, int y1, int x2, int y2) {        Line line = new Line();        line.setAnchor(new java.awt.Rectangle(x1, y1, x2-x1, y2-y1));        if (stroke instanceof BasicStroke){            BasicStroke bs = (BasicStroke)stroke;            line.setLineWidth(bs.getLineWidth());        }        if(getColor() != null) line.setLineColor(getColor());        group.addShape(line);    }    public void fillPolygon(int xPoints[], int yPoints[],                            int nPoints) {        throw new HSLFException("Not implemented");    }    public FontMetrics getFontMetrics(Font f) {        throw new HSLFException("Not implemented");    }    public void fillRect(int x, int y, int width, int height) {        throw new HSLFException("Not implemented");    }    public void drawPolygon(int xPoints[], int yPoints[],                            int nPoints) {        throw new HSLFException("Not implemented");    }    public void clipRect(int x, int y, int width, int height) {        throw new HSLFException("Not implemented");    }    public void setClip(Shape clip) {        throw new HSLFException("Not implemented");    }    public java.awt.Rectangle getClipBounds() {        throw new HSLFException("Not implemented");    }    public void drawString(AttributedCharacterIterator iterator, int x, int y) {        throw new HSLFException("Not implemented");    }    public void clearRect(int x, int y, int width, int height) {        throw new HSLFException("Not implemented");    }    public void copyArea(int x, int y, int width, int height, int dx, int dy) {        throw new HSLFException("Not implemented");    }    public void setClip(int x, int y, int width, int height) {        throw new HSLFException("Not implemented");    }    public void rotate(double d) {        throw new HSLFException("Not implemented");    }    public void rotate(double d, double d1, double d2) {        throw new HSLFException("Not implemented");    }    public void shear(double d, double d1) {        throw new HSLFException("Not implemented");    }    public FontRenderContext getFontRenderContext() {        return new FontRenderContext(transform, true, true);    }    public void transform(AffineTransform affinetransform) {        throw new HSLFException("Not implemented");    }    public void drawImage(BufferedImage bufferedimage, BufferedImageOp op, int x, int y) {        throw new HSLFException("Not implemented");    }    public void setBackground(Color c) {        throw new HSLFException("Not implemented");    }    public void drawRenderedImage(RenderedImage renderedimage, AffineTransform affinetransform) {        throw new HSLFException("Not implemented");    }    public Color getBackground() {        throw new HSLFException("Not implemented");    }    public void setComposite(Composite composite) {        throw new HSLFException("Not implemented");    }    public Composite getComposite() {        throw new HSLFException("Not implemented");    }    public Object getRenderingHint(java.awt.RenderingHints.Key key) {        throw new HSLFException("Not implemented");    }    public boolean drawImage(Image image, AffineTransform affinetransform, ImageObserver imageobserver) {        throw new HSLFException("Not implemented");    }    public void setRenderingHint(java.awt.RenderingHints.Key key, Object obj) {        throw new HSLFException("Not implemented");    }    public void drawGlyphVector(GlyphVector g, float x, float y) {        throw new HSLFException("Not implemented");    }    public GraphicsConfiguration getDeviceConfiguration() {        throw new HSLFException("Not implemented");    }    public void addRenderingHints(Map map) {        throw new HSLFException("Not implemented");    }    public void translate(double d, double d1) {        throw new HSLFException("Not implemented");    }    public void drawString(AttributedCharacterIterator attributedcharacteriterator, float x, float y) {        throw new HSLFException("Not implemented");    }    public boolean hit(java.awt.Rectangle rectangle, Shape shape, boolean flag) {        throw new HSLFException("Not implemented");    }    public RenderingHints getRenderingHints() {        throw new HSLFException("Not implemented");    }    public void setRenderingHints(Map map) {        throw new HSLFException("Not implemented");    }    public void drawRenderableImage(RenderableImage renderableimage, AffineTransform affinetransform) {        throw new HSLFException("Not implemented");    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -