![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Fill
com.aspose.cells.TextureFill
public class TextureFill
Fill format settings for TEXTURE type
Constructor Summary | |
---|---|
TextureFill()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object another)
|
byte[] |
getImageData()
Gets the picture data for Texture or Picture fill. |
int |
getImageFormat()
Gets the image format of the picture in this fill. |
float |
getStretchOffsetBottom()
Gets the bottom offset for stretching picture. |
float |
getStretchOffsetLeft()
Gets the left offset for stretching picture. |
float |
getStretchOffsetRight()
Gets the right offset for stretching picture. |
float |
getStretchOffsetTop()
Gets the top offset for stretching picture. |
byte |
getTileAlignment()
Gets the alignment for tiling. |
byte |
getTileMirrorType()
Gets the mirror type for tiling. |
float |
getTileOffsetX()
Gets the X offset for tiling picture. |
float |
getTileOffsetY()
Gets the Y offset for tiling picture. |
float |
getTileScaleX()
Gets the X scale for tiling picture. |
float |
getTileScaleY()
Gets the Y scale for tiling picture. |
float |
getTransparency()
Gets the transparency of this gradient stop. |
short |
getType()
Gets the texture type. |
boolean |
isTiling()
Check whether tile picture as texture. |
void |
setImageData(byte[] data)
Sets the picture data for Picture fill. |
void |
setStretchOffsetBottom(float offset)
Sets the bottom offset for stretching picture. |
void |
setStretchOffsetLeft(float offset)
Sets the left offset for stretching picture. |
void |
setStretchOffsetRight(float offset)
Sets the right offset for stretching picture. |
void |
setStretchOffsetTop(float offset)
Sets the top offset for stretching picture. |
void |
setTileAlignment(byte alignmentType)
Sets alignment for tiling. |
void |
setTileMirrorType(byte mirrorType)
Sets mirror type for tiling. |
void |
setTileOffsetX(float offset)
Sets the X offset for tiling picture. |
void |
setTileOffsetY(float offset)
Sets the Y offset for tiling picture. |
void |
setTileScaleX(float scale)
Sets the X scale for tiling picture. |
void |
setTileScaleY(float scale)
Sets the Y scale for tiling picture. |
void |
setTiling(boolean tile)
Sets whether tile picture as texture. |
void |
setTransparency(float val)
Sets the transparency of this gradient stop. |
void |
setType(short textureType)
Sets the texture type. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextureFill()
Method Detail |
---|
public java.lang.Object clone()
clone
in class Fill
public boolean equals(java.lang.Object another)
equals
in class java.lang.Object
public short getType()
TextureType
public void setType(short textureType)
textureType
- the texture type.TextureType
public boolean isTiling()
public void setTiling(boolean tile)
tile
- whether tile picture as texture.public int getImageFormat()
ImageFormat
public byte[] getImageData()
public void setImageData(byte[] data) throws java.io.IOException
data
- picture data for filling.
java.io.IOException
public float getTransparency()
public void setTransparency(float val)
val
- transparency. Can only be a value from 0 to 1.public float getTileOffsetX()
setTileOffsetX(float)
public void setTileOffsetX(float offset)
offset
- X offset in points unit. Can only be a value from -1584 to 1584.public float getTileOffsetY()
setTileOffsetY(float)
public void setTileOffsetY(float offset)
offset
- Y offset in points unit. Can only be a value from -1584 to 1584.public float getTileScaleX()
setTileScaleX(float)
public void setTileScaleX(float scale)
scale
- X scale. Can only be a value from 0 to 1.public float getTileScaleY()
setTileScaleY(float)
public void setTileScaleY(float scale)
scale
- Y scale. Can only be a value from 0 to 1.public byte getTileAlignment()
setTileAlignment(byte)
public void setTileAlignment(byte alignmentType)
alignmentType
- TileAlignmentType
public byte getTileMirrorType()
setTileMirrorType(byte)
public void setTileMirrorType(byte mirrorType)
mirrorType
- TileMirrorType
public float getStretchOffsetLeft()
setStretchOffsetLeft(float)
public void setStretchOffsetLeft(float offset)
offset
- left offset for stretching picture. Can only be a value from -1 to 1.public float getStretchOffsetTop()
setStretchOffsetTop(float)
public void setStretchOffsetTop(float offset)
offset
- top offset for stretching picture. Can only be a value from -1 to 1.public float getStretchOffsetRight()
setStretchOffsetRight(float)
public void setStretchOffsetRight(float offset)
offset
- right offset for stretching picture. Can only be a value from -1 to 1.public float getStretchOffsetBottom()
setStretchOffsetBottom(float)
public void setStretchOffsetBottom(float offset)
offset
- bottom offset for stretching picture. Can only be a value from -1 to 1.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |