aspose.pdf
Class TilingPattern

java.lang.Object
  extended by aspose.pdf.PatternColorSpace
      extended by aspose.pdf.TilingPattern
Direct Known Subclasses:
ColouredTilingPattern, UncolouredTilingPattern

public abstract class TilingPattern
extends PatternColorSpace

Abstract class for all tiling patterns.


Field Summary
protected  float height
          Tile height.
protected  PaintType paintType
          Paint type.
protected  Paragraphs tile
          Content of tile, a list of Graphs, Texts, Images.
protected  TilingType tilingType
          Type of tiling.
protected  float width
          Tile width.
protected  float xStep
          Step of tile replication in x axis.
protected  float yStep
          Step of tile replication in y axis.
 
Fields inherited from class aspose.pdf.PatternColorSpace
patternType, rotationAngle, skewX, skewY, xPos, xScale, yPos, yScale
 
Constructor Summary
TilingPattern(PaintType paintType)
          Initializes a new instance of the TilingPattern class with PaintType.
 
Method Summary
 void completeCopyTo(TilingPattern pattern)
          Copies all fields.
 void copyTo(TilingPattern pattern)
          Copies all fields.
 float getHeight()
          Returns a height of the tile.
 PaintType getPaintType()
          Returns a paint type.
 Paragraphs getTile()
          Returns a list of Paragraphs represented tile content.
 TilingType getTilingType()
          Returns a type of tiling: coloured or uncoloured.
 float getWidth()
          Returns a width of the tile.
 float getxStep()
          Returns a step between tiles in x axis.
 float getyStep()
          Returns step between tiles in y axis.
 void setHeight(float height)
          Sets a height of the tile.
 void setPaintType(PaintType paintType)
           
 void setTile(Paragraphs tile)
          Sets a list of Paragraphs represented tile content.
 void setTilingType(TilingType tilingType)
           
 void setWidth(float width)
          Sets a width of the tile.
 void setxStep(float xStep)
          Sets a step between tiles in x axis.
 void setyStep(float yStep)
          Sets a step between tiles in y axis.
 
Methods inherited from class aspose.pdf.PatternColorSpace
clone, 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

paintType

protected PaintType paintType
Paint type.


tilingType

protected TilingType tilingType
Type of tiling.


width

protected float width
Tile width.


height

protected float height
Tile height.


xStep

protected float xStep
Step of tile replication in x axis.


yStep

protected float yStep
Step of tile replication in y axis.


tile

protected Paragraphs tile
Content of tile, a list of Graphs, Texts, Images.

Constructor Detail

TilingPattern

public TilingPattern(PaintType paintType)
Initializes a new instance of the TilingPattern class with PaintType.

Method Detail

completeCopyTo

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


copyTo

public void copyTo(TilingPattern 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.


getPaintType

public PaintType getPaintType()
Returns a paint type.


setPaintType

public void setPaintType(PaintType paintType)

getTilingType

public TilingType getTilingType()
Returns a type of tiling: coloured or uncoloured.


setTilingType

public void setTilingType(TilingType tilingType)

getWidth

public float getWidth()
Returns a width of the tile.


getHeight

public float getHeight()
Returns a height of the tile.


setHeight

public void setHeight(float height)
Sets a height of the tile.


setWidth

public void setWidth(float width)
Sets a width of the tile.


getxStep

public float getxStep()
Returns a step between tiles in x axis.


setxStep

public void setxStep(float xStep)
Sets a step between tiles in x axis.


getyStep

public float getyStep()
Returns step between tiles in y axis.


setyStep

public void setyStep(float yStep)
Sets a step between tiles in y axis.


getTile

public Paragraphs getTile()
Returns a list of Paragraphs represented tile content.


setTile

public void setTile(Paragraphs tile)
Sets a list of Paragraphs represented tile content.