|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.PatternColorSpace
public abstract class PatternColorSpace
Abstract class for all pattern fills.
Field Summary | |
---|---|
protected PatternType |
patternType
Type of pattern: tiling or shading |
protected float |
rotationAngle
Rotation angle |
protected float |
skewX
The skew angle of the x-coordinate when transforming a coordinate system. |
protected float |
skewY
The skew angle of the y-coordinate when transforming a coordinate system. |
protected float |
xPos
Translation in x axis. |
protected float |
xScale
Scale in x axis. |
protected float |
yPos
Translation in y axis. |
protected float |
yScale
Scale in y axis. |
Constructor Summary | |
---|---|
PatternColorSpace(PatternType patternType)
Initializes a new instance of the PatternColorSpace class with PatternType . |
Method Summary | |
---|---|
abstract java.lang.Object |
clone()
|
void |
copyTo(PatternColorSpace pt)
|
int |
getPatternIndex()
Returns an index of pattern data in DocumentResource's patterns array. |
PatternType |
getPatternType()
Returns a pattern type: tiling or shading. |
float |
getRotationAngle()
Returns rotation angle of the tile content relative to tile box |
float |
getSkewX()
Returns skew of x axis of the tile content relative to tile box |
float |
getSkewY()
Returns skew of y axis of the tile content relative to tile box |
float |
getxPos()
Returns translation in x axis of the tile content relative to tile box |
float |
getxScale()
Returns scale in x axis of the tile content relative to tile box |
float |
getyPos()
Returns translation in y axis of the tile content relative to tile box |
float |
getyScale()
Returns scale in y axis of the tile content relative to tile box |
void |
setPatternIndex(int patternIndex)
Sets an index of pattern data in DocumentResource's patterns array. |
void |
setPatternType(PatternType patternType)
Sets a pattern type: tiling or shading. |
void |
setRotationAngle(float rotationAngle)
Sets rotation angle of the tile content relative to tile box |
void |
setSkewX(float skewX)
Sets skew of x axis of the tile content relative to tile box |
void |
setSkewY(float skewY)
Sets skew of y axis of the tile content relative to tile box |
void |
setxPos(float xPos)
Sets translation in x axis of the tile content relative to tile box |
void |
setxScale(float xScale)
Sets scale in x axis of the tile content relative to tile box |
void |
setyPos(float yPos)
Sets translation in y axis of the tile content relative to tile box |
void |
setyScale(float yScale)
Sets scale in y axis of the tile content relative to tile box |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PatternType patternType
protected float xPos
protected float yPos
protected float xScale
protected float yScale
protected float rotationAngle
protected float skewX
protected float skewY
Constructor Detail |
---|
public PatternColorSpace(PatternType patternType)
PatternColorSpace
class with PatternType
.
Method Detail |
---|
public abstract java.lang.Object clone()
clone
in class java.lang.Object
public void copyTo(PatternColorSpace pt)
public int getPatternIndex()
public void setPatternIndex(int patternIndex)
public PatternType getPatternType()
public void setPatternType(PatternType patternType)
public float getxPos()
public void setxPos(float xPos)
public float getyPos()
public void setyPos(float yPos)
public float getxScale()
public void setxScale(float xScale)
public float getyScale()
public void setyScale(float yScale)
public float getRotationAngle()
public void setRotationAngle(float rotationAngle)
public float getSkewX()
public void setSkewX(float skewX)
public float getSkewY()
public void setSkewY(float skewY)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |