|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.PatternColorSpace
aspose.pdf.TilingPattern
aspose.pdf.UncolouredTilingPattern
aspose.pdf.HatchingPattern
public class HatchingPattern
Realizes uncoloured hatching pattern (parallel lines).
Typical usages are the following:
Field Summary | |
---|---|
protected float |
lineWidth
A width of the lines. |
protected float |
spacing
Spacing between lines. |
Fields inherited from class aspose.pdf.UncolouredTilingPattern |
---|
color |
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 | |
---|---|
HatchingPattern()
Initializes a new instance of the HatchingPattern |
|
HatchingPattern(float spacing)
Initializes a new instance of the HatchingPattern with value of spacing between lines. |
|
HatchingPattern(float spacing,
float angle)
Initializes a new instance of the HatchingPattern with value of spacing between lines and a rotation angle of lines. |
|
HatchingPattern(float spacing,
float angle,
float lineWidth)
Initializes a new instance of the HatchingPattern with value of spacing between lines, line width and a rotation angle of lines. |
Method Summary | |
---|---|
float |
getLineWidth()
Returns a width of the lines. |
float |
getSpacing()
Returns a distance between lines. |
void |
setColor(Color color)
Sets a color of tile. |
void |
setLineWidth(float lineWidth)
Specifies a width of the lines. |
Methods inherited from class aspose.pdf.UncolouredTilingPattern |
---|
clone, completeClone, getColor |
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 |
---|
protected float spacing
protected float lineWidth
Constructor Detail |
---|
public HatchingPattern()
HatchingPattern
public HatchingPattern(float spacing)
HatchingPattern
with value of spacing between lines.
public HatchingPattern(float spacing, float angle)
HatchingPattern
with value of spacing between lines and a rotation angle of lines.
public HatchingPattern(float spacing, float angle, float lineWidth)
HatchingPattern
with value of spacing between lines, line width and a rotation angle of lines.
Method Detail |
---|
public float getSpacing()
public float getLineWidth()
public void setLineWidth(float lineWidth)
public void setColor(Color color)
UncolouredTilingPattern
setColor
in class UncolouredTilingPattern
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |