Class HemfDrawProperties

java.lang.Object
org.apache.poi.hwmf.draw.HwmfDrawProperties
org.apache.poi.hemf.draw.HemfDrawProperties

public class HemfDrawProperties extends HwmfDrawProperties
  • Field Details

    • path

      protected Path2D path
      Path for path bracket operations
    • usePathBracket

      protected boolean usePathBracket
  • Constructor Details

    • HemfDrawProperties

      public HemfDrawProperties()
    • HemfDrawProperties

      public HemfDrawProperties(HemfDrawProperties other)
  • Method Details

    • getPath

      public Path2D getPath()
      Returns:
      the current path used for bracket operations
    • setPath

      public void setPath(Path2D path)
      Un-/Sets the bracket path
      Parameters:
      path - the bracket path
    • getUsePathBracket

      public boolean getUsePathBracket()
      Use path (bracket) or graphics context for drawing operations
      Returns:
      true, if the drawing should go to the path bracket, if false draw directly to the graphics context
    • setUsePathBracket

      public void setUsePathBracket(boolean usePathBracket)
    • getEmfPlusBrushHatch

      public HemfPlusBrush.EmfPlusHatchStyle getEmfPlusBrushHatch()
    • setEmfPlusBrushHatch

      public void setEmfPlusBrushHatch(HemfPlusBrush.EmfPlusHatchStyle emfPlusBrushHatch)
    • getEmfPlusImage

      public ImageRenderer getEmfPlusImage()
    • setEmfPlusImage

      public void setEmfPlusImage(ImageRenderer emfPlusImage)
    • addLeftTransform

      public void addLeftTransform(AffineTransform transform)
    • addRightTransform

      public void addRightTransform(AffineTransform transform)
    • clearTransform

      public void clearTransform()
    • getBrushRect

      public Rectangle2D getBrushRect()
    • setBrushRect

      public void setBrushRect(Rectangle2D brushRect)
    • getBrushColorsV

      public List<? extends Map.Entry<Float,Color>> getBrushColorsV()
    • setBrushColorsV

      public void setBrushColorsV(List<? extends Map.Entry<Float,Color>> brushColorsV)
    • getBrushColorsH

      public List<? extends Map.Entry<Float,Color>> getBrushColorsH()
    • setBrushColorsH

      public void setBrushColorsH(List<? extends Map.Entry<Float,Color>> brushColorsH)