org.icepdf.core.pobjects.graphics
Class GlyphOutlineClip

java.lang.Object
  extended by org.icepdf.core.pobjects.graphics.GlyphOutlineClip

public class GlyphOutlineClip
extends java.lang.Object

GlyphOutlineClip is contains the glyph outlines for glyph contained within a TextBlock. This utility method makes it possible to apply text rendering modes that require glyph outlines for clipping such as modes 4-7.

Since:
4.3.3

Constructor Summary
GlyphOutlineClip()
           
 
Method Summary
 void addTextSprite(TextSprite nextSprite)
           
 java.awt.Shape getGlyphOutlineClip()
          Gets the glyph outline shape which can be used for painting or clipping.
 boolean isEmpty()
          Check to see if the glyph outline contains any outline data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlyphOutlineClip

public GlyphOutlineClip()
Method Detail

addTextSprite

public void addTextSprite(TextSprite nextSprite)

isEmpty

public boolean isEmpty()
Check to see if the glyph outline contains any outline data.

Returns:
true if the are no glyph outlines, otherwise; false.

getGlyphOutlineClip

public java.awt.Shape getGlyphOutlineClip()
Gets the glyph outline shape which can be used for painting or clipping.

Returns:
glyph outline shape.