public class HwmfDrawProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.awt.Shape |
clip |
protected java.awt.geom.AffineTransform |
transform |
Constructor and Description |
---|
HwmfDrawProperties() |
HwmfDrawProperties(HwmfDrawProperties other) |
protected java.awt.Shape clip
protected final java.awt.geom.AffineTransform transform
public HwmfDrawProperties()
public HwmfDrawProperties(HwmfDrawProperties other)
public void setViewportExt(double width, double height)
public void setViewportOrg(double x, double y)
public java.awt.geom.Rectangle2D getViewport()
public void setWindowExt(double width, double height)
public void setWindowOrg(double x, double y)
public java.awt.geom.Rectangle2D getWindow()
public void setLocation(double x, double y)
public void setLocation(java.awt.geom.Point2D point)
public java.awt.geom.Point2D getLocation()
public void setMapMode(HwmfMapMode mapMode)
public HwmfMapMode getMapMode()
public HwmfBrushStyle getBrushStyle()
public void setBrushStyle(HwmfBrushStyle brushStyle)
public HwmfHatchStyle getBrushHatch()
public void setBrushHatch(HwmfHatchStyle brushHatch)
public HwmfColorRef getBrushColor()
public void setBrushColor(HwmfColorRef brushColor)
public HwmfMisc.WmfSetBkMode.HwmfBkMode getBkMode()
public void setBkMode(HwmfMisc.WmfSetBkMode.HwmfBkMode bkMode)
public HwmfPenStyle getPenStyle()
public void setPenStyle(HwmfPenStyle penStyle)
public HwmfColorRef getPenColor()
public void setPenColor(HwmfColorRef penColor)
public double getPenWidth()
public void setPenWidth(double penWidth)
public double getPenMiterLimit()
public void setPenMiterLimit(double penMiterLimit)
public HwmfColorRef getBackgroundColor()
public void setBackgroundColor(HwmfColorRef backgroundColor)
public HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode getPolyfillMode()
public void setPolyfillMode(HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode polyfillMode)
public ImageRenderer getBrushBitmap()
public void setBrushBitmap(ImageRenderer brushBitmap)
public void setBrushBitmap(java.awt.image.BufferedImage brushBitmap)
public java.awt.Shape getRegion()
public void setRegion(java.awt.Shape region)
region
- a region object which is usually a rectanglepublic java.util.List<HwmfPalette.PaletteEntry> getPalette()
public void setPalette(java.util.List<HwmfPalette.PaletteEntry> palette)
public int getPaletteOffset()
public void setPaletteOffset(int paletteOffset)
public HwmfColorRef getTextColor()
public void setTextColor(HwmfColorRef textColor)
public HwmfFont getFont()
public void setFont(HwmfFont font)
public HwmfText.HwmfTextAlignment getTextAlignLatin()
public void setTextAlignLatin(HwmfText.HwmfTextAlignment textAlignLatin)
public HwmfText.HwmfTextVerticalAlignment getTextVAlignLatin()
public void setTextVAlignLatin(HwmfText.HwmfTextVerticalAlignment textVAlignLatin)
public HwmfText.HwmfTextAlignment getTextAlignAsian()
public void setTextAlignAsian(HwmfText.HwmfTextAlignment textAlignAsian)
public HwmfText.HwmfTextVerticalAlignment getTextVAlignAsian()
public void setTextVAlignAsian(HwmfText.HwmfTextVerticalAlignment textVAlignAsian)
public int getWindingRule()
Path2D.WIND_EVEN_ODD
or Path2D.WIND_NON_ZERO
)public HwmfTernaryRasterOp getRasterOp3()
public void setRasterOp3(HwmfTernaryRasterOp rasterOp3)
public java.awt.geom.AffineTransform getTransform()
public void setTransform(java.awt.geom.AffineTransform transform)
public java.awt.Shape getClip()
public void setClip(java.awt.Shape clip)
public java.awt.geom.AffineTransform getBrushTransform()
public void setBrushTransform(java.awt.geom.AffineTransform brushTransform)
public HwmfBinaryRasterOp getRasterOp2()
public void setRasterOp2(HwmfBinaryRasterOp rasterOp2)
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.