aspose.pdf
Class ShadingPattern

java.lang.Object
  extended by aspose.pdf.PatternColorSpace
      extended by aspose.pdf.TilingPattern
          extended by aspose.pdf.ColouredTilingPattern
              extended by aspose.pdf.ImagePattern
                  extended by aspose.pdf.ShadingPattern

public class ShadingPattern
extends ImagePattern

Realizes tiling pattern with image as shaded tile (mosaic).


Field Summary
static int SHADING_PATTERN_MULTIPLIER
           
 
Fields inherited from class aspose.pdf.ImagePattern
image
 
Fields inherited from class aspose.pdf.TilingPattern
height, paintType, tile, tilingType, width, xStep, yStep
 
Fields inherited from class aspose.pdf.PatternColorSpace
patternType, rotationAngle, skewX, skewY, xPos, xScale, yPos, yScale
 
Constructor Summary
ShadingPattern(Image image, int level)
           
 
Method Summary
 java.lang.Object clone()
          Copies all fields.
 java.lang.Object completeClone()
          Copies all fields.
 void completeCopyTo(ShadingPattern pattern)
          Copies all fields.
 void copyTo(ShadingPattern pattern)
          Copies all fields.
 java.awt.Color getColor()
           
 int getLevel()
           
 
Methods inherited from class aspose.pdf.ImagePattern
completeCopyTo, copyTo
 
Methods inherited from class aspose.pdf.ColouredTilingPattern
completeCopyTo, copyTo
 
Methods inherited from class aspose.pdf.TilingPattern
completeCopyTo, copyTo, getHeight, getPaintType, getTile, getTilingType, getWidth, getxStep, getyStep, setHeight, setPaintType, setTile, setTilingType, setWidth, setxStep, setyStep
 
Methods inherited from class aspose.pdf.PatternColorSpace
copyTo, getPatternIndex, getPatternType, getRotationAngle, getSkewX, getSkewY, getxPos, getxScale, getyPos, getyScale, setPatternIndex, setPatternType, setRotationAngle, setSkewX, setSkewY, setxPos, setxScale, setyPos, setyScale
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHADING_PATTERN_MULTIPLIER

public static final int SHADING_PATTERN_MULTIPLIER
See Also:
Constant Field Values
Constructor Detail

ShadingPattern

public ShadingPattern(Image image,
                      int level)
Method Detail

getLevel

public int getLevel()

getColor

public java.awt.Color getColor()

completeClone

public java.lang.Object completeClone()
Copies all fields. Tile is copied by value.

Overrides:
completeClone in class ImagePattern

clone

public java.lang.Object clone()
Copies all fields. Tile is copied by reference. Shell be used for patterns that use one tile but different colors or matrix or steps or width, height.

Overrides:
clone in class ImagePattern

copyTo

public void copyTo(ShadingPattern pattern)
Copies all fields. Tile is copied by reference. Shell be used for patterns that use one tile but different colors or matrix or steps or width, height.


completeCopyTo

public void completeCopyTo(ShadingPattern pattern)
Copies all fields. Tile is copied by value.